Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_NIST_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 110.1 kB / 16.46 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 216.2 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1423/0.1423, allocations: 23.85 MB / 332.7 MB, free: 12.37 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_2,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_2,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST_2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 71.91 kB / 466 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3571, allocations: 59.81 MB / 0.5135 GB, free: 8.879 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1819:5-1819:47:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1819:5-1819:47:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1328:7-1328:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1328:7-1328:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST_2): time 0.0531/0.4102, allocations: 29.83 MB / 0.5426 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.199/0.6092, allocations: 150.5 MB / 0.6896 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002804/0.612, allocations: 27.88 kB / 0.6896 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004844/0.6169, allocations: 1.103 MB / 0.6907 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004296/0.6212, allocations: 0.8727 MB / 0.6915 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005044/0.6262, allocations: 1.412 MB / 0.6929 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005199/0.6314, allocations: 2.294 MB / 0.6952 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.6325, allocations: 495 kB / 0.6956 GB, free: 220 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.6341, allocations: 0.7862 MB / 0.6964 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.6359, allocations: 0.953 MB / 0.6973 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006534/0.6366, allocations: 216 kB / 0.6975 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00598/0.6425, allocations: 1.748 MB / 0.6992 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.6436, allocations: 0.6619 MB / 0.6999 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002626/0.6463, allocations: 1.228 MB / 0.7011 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.6564, allocations: 4.262 MB / 0.7052 GB, free: 6.332 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.403e-06/0.6565, allocations: 0 / 0.7052 GB, free: 6.332 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6565, allocations: 4 kB / 0.7052 GB, free: 6.328 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001364/0.6566, allocations: 4 kB / 0.7053 GB, free: 6.324 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 615 * Number of variables: 615 Notification: Performance of Generate backend data structure: time 0.008054/0.6646, allocations: 2.745 MB / 0.7079 GB, free: 3.516 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/0.6647, allocations: 8.031 kB / 0.7079 GB, free: 3.508 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009603/0.6657, allocations: 325.8 kB / 0.7083 GB, free: 3.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.6676, allocations: 466.8 kB / 0.7087 GB, free: 2.723 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002899/0.6705, allocations: 1.207 MB / 0.7099 GB, free: 1.461 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005019/0.671, allocations: 303.9 kB / 0.7102 GB, free: 1.152 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005465/0.6715, allocations: 196.3 kB / 0.7104 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01104/0.6826, allocations: 8.001 MB / 0.7182 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.394e-05/0.6826, allocations: 0 / 0.7182 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002511/0.6828, allocations: 83.98 kB / 0.7182 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004053/0.6833, allocations: 344.6 kB / 0.7186 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2706/0.9538, allocations: 13.32 MB / 0.7316 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03052/0.9844, allocations: 20.17 MB / 0.7513 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005638/0.99, allocations: 3.746 MB / 0.7549 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003912/0.9939, allocations: 2.608 MB / 0.7575 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002879/0.9968, allocations: 1.626 MB / 0.7591 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.9968, allocations: 43.19 kB / 0.7591 GB, free: 175 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 4.559e-06/0.9968, allocations: 0 / 0.7591 GB, free: 175 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102): time 0.03342/1.03, allocations: 15.09 MB / 0.7738 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003907/1.034, allocations: 3.326 MB / 0.7771 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004083/1.038, allocations: 3.188 MB / 0.7802 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005215/1.039, allocations: 42.8 kB / 0.7803 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007191/1.039, allocations: 1.043 MB / 0.7813 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006918/1.04, allocations: 369.4 kB / 0.7816 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00116/1.041, allocations: 374.8 kB / 0.782 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.269e-05/1.041, allocations: 348.6 kB / 0.7823 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003259/1.045, allocations: 3.192 MB / 0.7854 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003389/1.048, allocations: 3.418 MB / 0.7888 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03126/1.079, allocations: 10.26 MB / 0.7988 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/1.079, allocations: 4 kB / 0.7988 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.009485/1.089, allocations: 6.579 MB / 0.8052 GB, free: 130 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/1.089, allocations: 11.17 kB / 0.8052 GB, free: 130 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/1.089, allocations: 4 kB / 0.8052 GB, free: 130 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007695/1.09, allocations: 450.5 kB / 0.8057 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009226/1.099, allocations: 1.064 MB / 0.8067 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007156/1.106, allocations: 8.651 MB / 0.8152 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/1.108, allocations: 43.97 kB / 0.8152 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006488/1.109, allocations: 279.9 kB / 0.8155 GB, free: 119.2 MB / 0.5606 GB Warning: Assuming fixed start value for the following 1 variables: CO2_dissolutionP.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001834/1.11, allocations: 0.6332 MB / 0.8161 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009106/1.111, allocations: 270.2 kB / 0.8163 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007221/1.119, allocations: 3.207 MB / 0.8195 GB, free: 115 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/1.119, allocations: 14.66 kB / 0.8195 GB, free: 115 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/1.119, allocations: 0 / 0.8195 GB, free: 115 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/1.119, allocations: 3.984 kB / 0.8195 GB, free: 115 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008477/1.127, allocations: 5.859 MB / 0.8252 GB, free: 109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.127, allocations: 4 kB / 0.8252 GB, free: 109 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005738/1.133, allocations: 486 kB / 0.8257 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/1.134, allocations: 223.8 kB / 0.8259 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/1.134, allocations: 26.64 kB / 0.8259 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006031/1.14, allocations: 6.906 MB / 0.8327 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002328/1.142, allocations: 1.996 MB / 0.8346 GB, free: 98.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004402/1.147, allocations: 2.185 MB / 0.8367 GB, free: 96.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009363/1.148, allocations: 447.2 kB / 0.8372 GB, free: 95.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008173/1.149, allocations: 30.64 kB / 0.8372 GB, free: 95.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/1.15, allocations: 23.98 kB / 0.8372 GB, free: 95.92 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002717/1.15, allocations: 94.95 kB / 0.8373 GB, free: 95.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.839e-05/1.15, allocations: 35.98 kB / 0.8373 GB, free: 95.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004807/1.155, allocations: 4.012 MB / 0.8413 GB, free: 91.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.155, allocations: 0 / 0.8413 GB, free: 91.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003121/1.158, allocations: 0.6909 MB / 0.8419 GB, free: 91.09 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 2 ($STATESET1.x,CO2_dissolutionP.rear.n_flow) * Number of discrete variables: 2 ($cse18,$cse11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006828/1.165, allocations: 3.032 MB / 0.8449 GB, free: 88 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007622/1.173, allocations: 3.903 MB / 0.8487 GB, free: 84.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/1.173, allocations: 0 / 0.8487 GB, free: 84.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003904/1.177, allocations: 1.071 MB / 0.8498 GB, free: 82.97 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004516/1.181, allocations: 0.6554 MB / 0.8504 GB, free: 82.39 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05754/1.239, allocations: 42.54 MB / 0.8919 GB, free: 39.44 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/1.24, allocations: 1.679 MB / 0.8936 GB, free: 37.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002177/1.242, allocations: 0.5459 MB / 0.8941 GB, free: 37.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002017/1.244, allocations: 1.058 MB / 0.8951 GB, free: 36.19 MB / 0.5606 GB Notification: Performance of SimCode: time 1.933e-06/1.244, allocations: 0 / 0.8951 GB, free: 36.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4585/1.703, allocations: 86.04 MB / 0.9792 GB, free: 189.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.08/20.78, allocations: 14.3 kB / 0.9792 GB, free: 189.6 MB / 0.5762 GB " [Timeout remaining time 639] (rm -f Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_NIST_2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_GasSolubility_NIST_2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_GasSolubility_NIST_2.fmu > Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.00297103682533] Failed to read output from testmodel.py, exit status != 0: 20.92580990307033 20.94408802 20.28357839 Calling exit ...