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.001294/0.001294, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00152/0.00152, allocations: 213.6 kB / 22.99 MB, free: 4.945 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1572/0.1572, allocations: 23.88 MB / 337.1 MB, free: 10.96 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: translateModel(Chemical.Examples.GasSolubility_NIST_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST_2") translateModel(Chemical.Examples.GasSolubility_NIST_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST_2") [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.002087/0.002087, allocations: 68.17 kB / 472.4 MB, free: 7.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3675, allocations: 59.86 MB / 0.5197 GB, free: 9.801 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.07871/0.4462, allocations: 28.71 MB / 0.5478 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1888/0.6349, allocations: 128.8 MB / 0.6736 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003289/0.6382, allocations: 23.94 kB / 0.6736 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.005096/0.6433, allocations: 0.9982 MB / 0.6746 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004008/0.6473, allocations: 0.8688 MB / 0.6754 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004281/0.6516, allocations: 1.338 MB / 0.6768 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004462/0.6561, allocations: 2.287 MB / 0.679 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007427/0.6568, allocations: 419.5 kB / 0.6794 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.6579, allocations: 0.7862 MB / 0.6802 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.6589, allocations: 0.8163 MB / 0.681 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002755/0.6592, allocations: 212 kB / 0.6812 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.6622, allocations: 1.143 MB / 0.6823 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005856/0.6628, allocations: 0.6697 MB / 0.6829 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009661/0.6637, allocations: 0.9207 MB / 0.6838 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006042/0.6698, allocations: 4.087 MB / 0.6878 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.6698, allocations: 0 / 0.6878 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6698, allocations: 0 / 0.6878 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.955e-05/0.6698, allocations: 0 / 0.6878 GB, free: 13.23 MB / 0.5294 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.004547/0.6744, allocations: 2.682 MB / 0.6904 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.6744, allocations: 8.031 kB / 0.6904 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/0.6763, allocations: 0.5534 MB / 0.691 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/0.6783, allocations: 1.158 MB / 0.6921 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004011/0.6787, allocations: 367.2 kB / 0.6925 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002874/0.679, allocations: 196.3 kB / 0.6926 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/0.6891, allocations: 8.38 MB / 0.7008 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.239e-05/0.6892, allocations: 4 kB / 0.7008 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.6893, allocations: 79.98 kB / 0.7009 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003726/0.6897, allocations: 340.6 kB / 0.7012 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01569/0.7054, allocations: 13.92 MB / 0.7148 GB, free: 1.367 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3294/1.035, allocations: 18.88 MB / 0.7333 GB, free: 187 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006128/1.041, allocations: 3.83 MB / 0.737 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00393/1.045, allocations: 2.672 MB / 0.7396 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001753/1.047, allocations: 0.5802 MB / 0.7402 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/1.047, allocations: 39.12 kB / 0.7402 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 3.166e-06/1.047, allocations: 0 / 0.7402 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102): time 0.03474/1.081, allocations: 15.02 MB / 0.7549 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004314/1.086, allocations: 3.204 MB / 0.758 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/1.087, allocations: 1.28 MB / 0.7593 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004108/1.088, allocations: 41.73 kB / 0.7593 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006438/1.088, allocations: 1.107 MB / 0.7604 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004158/1.089, allocations: 365.6 kB / 0.7607 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008767/1.09, allocations: 387.3 kB / 0.7611 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.861e-05/1.09, allocations: 347.1 kB / 0.7614 GB, free: 174 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004157/1.094, allocations: 3.305 MB / 0.7647 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003964/1.098, allocations: 3.514 MB / 0.7681 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02095/1.119, allocations: 9.521 MB / 0.7774 GB, free: 162 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/1.119, allocations: 2.625 kB / 0.7774 GB, free: 162 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.008668/1.128, allocations: 6.62 MB / 0.7839 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/1.128, allocations: 8 kB / 0.7839 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/1.128, allocations: 10.73 kB / 0.7839 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000722/1.128, allocations: 458.4 kB / 0.7843 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008749/1.137, allocations: 1.076 MB / 0.7854 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006599/1.144, allocations: 8.316 MB / 0.7935 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/1.145, allocations: 58.61 kB / 0.7935 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003698/1.146, allocations: 279.9 kB / 0.7938 GB, free: 144.9 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.001505/1.147, allocations: 0.6391 MB / 0.7944 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005182/1.148, allocations: 135.1 kB / 0.7946 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006296/1.154, allocations: 3.175 MB / 0.7977 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/1.154, allocations: 11.94 kB / 0.7977 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/1.154, allocations: 3.938 kB / 0.7977 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/1.154, allocations: 3.984 kB / 0.7977 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00888/1.163, allocations: 5.714 MB / 0.8033 GB, free: 135 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/1.163, allocations: 8 kB / 0.8033 GB, free: 135 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005647/1.169, allocations: 498.1 kB / 0.8037 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/1.17, allocations: 231.6 kB / 0.804 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.923e-05/1.17, allocations: 30.64 kB / 0.804 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005473/1.175, allocations: 6.315 MB / 0.8102 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002269/1.177, allocations: 1.834 MB / 0.812 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004838/1.182, allocations: 2.17 MB / 0.8141 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000536/1.183, allocations: 147.1 kB / 0.8142 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003505/1.183, allocations: 24.25 kB / 0.8142 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008072/1.184, allocations: 50.86 kB / 0.8143 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002529/1.184, allocations: 111 kB / 0.8144 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.566e-05/1.184, allocations: 31.98 kB / 0.8144 GB, free: 123 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002445/1.187, allocations: 2.647 MB / 0.817 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.187, allocations: 0 / 0.817 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002297/1.189, allocations: 0.6559 MB / 0.8176 GB, free: 119.7 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.0007259/1.19, allocations: 385 kB / 0.818 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006981/1.197, allocations: 4.029 MB / 0.822 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.197, allocations: 6.656 kB / 0.822 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003771/1.201, allocations: 1.103 MB / 0.823 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/1.202, allocations: 326.5 kB / 0.8233 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006411/1.209, allocations: 4.291 MB / 0.8275 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/1.21, allocations: 1.104 MB / 0.8286 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/1.211, allocations: 199.3 kB / 0.8288 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.332e-06/1.211, allocations: 0 / 0.8288 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.07039/1.281, allocations: 81.42 MB / 0.9083 GB, free: 27.56 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.GasSolubility_NIST_2.makefile [Timeout 660] (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 & ./Chemical_Chemical.Examples.GasSolubility_NIST_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.558728741016239] Failed to read output from testmodel.py, exit status != 0: 1.2909828638657928 1.300184066 0.628037581 Calling exit ...