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.001384/0.001384, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001538/0.001538, allocations: 207.8 kB / 22.99 MB, free: 4.957 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1453/0.1453, allocations: 23.88 MB / 337.1 MB, free: 10.97 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.002036/0.002036, allocations: 59.91 kB / 472.4 MB, free: 7.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4277, allocations: 59.85 MB / 0.5197 GB, free: 9.836 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.08432/0.512, allocations: 28.55 MB / 0.5476 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1961/0.7081, allocations: 128.8 MB / 0.6734 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003274/0.7114, allocations: 23.88 kB / 0.6735 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00433/0.7157, allocations: 0.9866 MB / 0.6744 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004316/0.72, allocations: 0.8727 MB / 0.6753 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005365/0.7254, allocations: 1.334 MB / 0.6766 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004827/0.7302, allocations: 2.287 MB / 0.6788 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008107/0.731, allocations: 431.4 kB / 0.6792 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.7323, allocations: 0.7862 MB / 0.68 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.7334, allocations: 0.953 MB / 0.6809 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002829/0.7337, allocations: 216 kB / 0.6811 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003654/0.7374, allocations: 1.174 MB / 0.6823 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006515/0.738, allocations: 0.6619 MB / 0.6829 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000962/0.739, allocations: 0.913 MB / 0.6838 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006691/0.7457, allocations: 4.095 MB / 0.6878 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.7457, allocations: 3.984 kB / 0.6878 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7457, allocations: 0 / 0.6878 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.163e-05/0.7457, allocations: 4 kB / 0.6878 GB, free: 13.21 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.004758/0.7505, allocations: 2.674 MB / 0.6904 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.7505, allocations: 11.97 kB / 0.6904 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001974/0.7525, allocations: 0.5456 MB / 0.691 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.7545, allocations: 1.155 MB / 0.6921 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000415/0.7549, allocations: 367.2 kB / 0.6925 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000293/0.7552, allocations: 204.2 kB / 0.6927 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/0.7656, allocations: 8.376 MB / 0.7008 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.115e-05/0.7656, allocations: 7.938 kB / 0.7008 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.7658, allocations: 79.98 kB / 0.7009 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000423/0.7662, allocations: 340.6 kB / 0.7012 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01883/0.785, allocations: 13.92 MB / 0.7148 GB, free: 1.355 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3355/1.121, allocations: 18.88 MB / 0.7333 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0059/1.126, allocations: 3.831 MB / 0.737 GB, free: 185.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003886/1.13, allocations: 2.668 MB / 0.7396 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001898/1.132, allocations: 0.5789 MB / 0.7402 GB, free: 184 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/1.132, allocations: 39.7 kB / 0.7402 GB, free: 184 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.936e-06/1.132, allocations: 0 / 0.7402 GB, free: 184 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102): time 0.03715/1.169, allocations: 15.01 MB / 0.7549 GB, free: 178 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004245/1.174, allocations: 3.22 MB / 0.758 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/1.175, allocations: 1.278 MB / 0.7593 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000325/1.176, allocations: 43.02 kB / 0.7593 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006028/1.176, allocations: 1.106 MB / 0.7604 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004177/1.177, allocations: 369 kB / 0.7607 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009015/1.178, allocations: 385.2 kB / 0.7611 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.333e-05/1.178, allocations: 342.6 kB / 0.7614 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00374/1.181, allocations: 3.308 MB / 0.7647 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003593/1.185, allocations: 3.516 MB / 0.7681 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02243/1.207, allocations: 9.522 MB / 0.7774 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/1.207, allocations: 0 / 0.7774 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.009449/1.217, allocations: 6.615 MB / 0.7839 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/1.217, allocations: 13.5 kB / 0.7839 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/1.217, allocations: 4 kB / 0.7839 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007737/1.218, allocations: 455.8 kB / 0.7843 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009998/1.228, allocations: 1.076 MB / 0.7854 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007242/1.235, allocations: 8.318 MB / 0.7935 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/1.237, allocations: 55.95 kB / 0.7935 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006865/1.237, allocations: 283.9 kB / 0.7938 GB, free: 144.5 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.002094/1.239, allocations: 0.6369 MB / 0.7944 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008733/1.24, allocations: 131.2 kB / 0.7946 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007416/1.248, allocations: 3.173 MB / 0.7977 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/1.248, allocations: 15.94 kB / 0.7977 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.248, allocations: 0 / 0.7977 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/1.248, allocations: 6.641 kB / 0.7977 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/1.259, allocations: 5.72 MB / 0.8033 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/1.259, allocations: 9.719 kB / 0.8033 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006327/1.265, allocations: 495.4 kB / 0.8037 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00122/1.266, allocations: 223.7 kB / 0.804 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/1.266, allocations: 27.98 kB / 0.804 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007433/1.274, allocations: 6.316 MB / 0.8102 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003322/1.277, allocations: 1.824 MB / 0.8119 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007251/1.284, allocations: 2.182 MB / 0.8141 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008352/1.285, allocations: 144.2 kB / 0.8142 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00088/1.286, allocations: 31.38 kB / 0.8142 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/1.288, allocations: 43.97 kB / 0.8143 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004405/1.288, allocations: 100.4 kB / 0.8144 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/1.289, allocations: 31.98 kB / 0.8144 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004838/1.293, allocations: 2.647 MB / 0.817 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.293, allocations: 2.656 kB / 0.817 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004506/1.298, allocations: 0.6602 MB / 0.8176 GB, free: 119.4 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.001437/1.299, allocations: 390.8 kB / 0.818 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01043/1.31, allocations: 4.042 MB / 0.822 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/1.31, allocations: 0 / 0.822 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005712/1.315, allocations: 1.107 MB / 0.823 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003458/1.319, allocations: 342.5 kB / 0.8234 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/1.329, allocations: 4.142 MB / 0.8274 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001652/1.331, allocations: 1.1 MB / 0.8285 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001608/1.332, allocations: 400.4 kB / 0.8289 GB, free: 108 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/1.333, allocations: 191.4 kB / 0.829 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of SimCode: time 2.385e-06/1.333, allocations: 0 / 0.829 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.06935/1.403, allocations: 57.72 MB / 0.8854 GB, free: 51.22 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 -s gbode -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.597062847009511] Failed to read output from testmodel.py, exit status != 0: 1.4128235380048864 1.421915952 0.673880848 Calling exit ...