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.001378/0.001378, 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.001491/0.001491, allocations: 211.6 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1432/0.1432, allocations: 23.87 MB / 337 MB, free: 11 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: 71.89 kB / 472.4 MB, free: 7.047 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.376, allocations: 59.86 MB / 0.5197 GB, free: 9.738 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.076/0.452, allocations: 28.55 MB / 0.5476 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1781/0.6302, allocations: 128.8 MB / 0.6734 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.6323, allocations: 23.88 kB / 0.6735 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00366/0.636, allocations: 0.9941 MB / 0.6744 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00364/0.6396, allocations: 0.8728 MB / 0.6753 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004929/0.6446, allocations: 1.338 MB / 0.6766 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005698/0.6503, allocations: 2.283 MB / 0.6788 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008724/0.6511, allocations: 427.5 kB / 0.6792 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.6524, allocations: 0.7823 MB / 0.68 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.6535, allocations: 0.9569 MB / 0.6809 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002692/0.6538, allocations: 212 kB / 0.6811 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003137/0.6569, allocations: 1.174 MB / 0.6823 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005823/0.6575, allocations: 0.6658 MB / 0.6829 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009255/0.6584, allocations: 0.913 MB / 0.6838 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006059/0.6645, allocations: 4.095 MB / 0.6878 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6645, allocations: 0 / 0.6878 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6645, allocations: 4 kB / 0.6878 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.769e-05/0.6646, allocations: 0 / 0.6878 GB, free: 13.29 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.005938/0.6705, allocations: 2.678 MB / 0.6904 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.6705, allocations: 12.03 kB / 0.6904 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/0.6726, allocations: 0.5495 MB / 0.691 GB, free: 10 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.6746, allocations: 1.158 MB / 0.6921 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003895/0.675, allocations: 359.3 kB / 0.6925 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002889/0.6752, allocations: 200.3 kB / 0.6926 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.6853, allocations: 8.383 MB / 0.7008 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.34e-05/0.6853, allocations: 3.938 kB / 0.7008 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/0.6855, allocations: 79.98 kB / 0.7009 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003768/0.6859, allocations: 344.5 kB / 0.7012 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01586/0.7017, allocations: 13.92 MB / 0.7148 GB, free: 1.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3492/1.051, allocations: 18.87 MB / 0.7333 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005853/1.057, allocations: 3.835 MB / 0.737 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00369/1.06, allocations: 2.671 MB / 0.7396 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001847/1.062, allocations: 0.5721 MB / 0.7402 GB, free: 184 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/1.062, allocations: 38.88 kB / 0.7402 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 3.787e-06/1.062, allocations: 3.281 kB / 0.7402 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102): time 0.0371/1.099, allocations: 15.01 MB / 0.7549 GB, free: 178 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004679/1.104, allocations: 3.216 MB / 0.758 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/1.106, allocations: 1.28 MB / 0.7593 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004421/1.107, allocations: 45.05 kB / 0.7593 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007856/1.107, allocations: 1.11 MB / 0.7604 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000659/1.108, allocations: 363.8 kB / 0.7607 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001301/1.109, allocations: 389.8 kB / 0.7611 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.945e-05/1.109, allocations: 343.2 kB / 0.7614 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003947/1.113, allocations: 3.304 MB / 0.7647 GB, free: 172 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003642/1.117, allocations: 3.513 MB / 0.7681 GB, free: 170 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02309/1.14, allocations: 9.527 MB / 0.7774 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.538e-05/1.14, allocations: 4 kB / 0.7774 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00913/1.149, allocations: 6.613 MB / 0.7839 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/1.149, allocations: 10.66 kB / 0.7839 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/1.149, allocations: 8 kB / 0.7839 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000746/1.15, allocations: 454.3 kB / 0.7843 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009652/1.16, allocations: 1.076 MB / 0.7854 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006848/1.167, allocations: 8.309 MB / 0.7935 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/1.168, allocations: 59.95 kB / 0.7935 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005738/1.169, allocations: 279.9 kB / 0.7938 GB, free: 144.6 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.001652/1.17, allocations: 0.6415 MB / 0.7944 GB, free: 144 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007464/1.171, allocations: 135.1 kB / 0.7946 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007225/1.178, allocations: 3.173 MB / 0.7977 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.178, allocations: 8 kB / 0.7977 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.178, allocations: 3.938 kB / 0.7977 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/1.178, allocations: 7.984 kB / 0.7977 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/1.189, allocations: 5.719 MB / 0.8033 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/1.189, allocations: 6.078 kB / 0.8033 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006173/1.196, allocations: 494.1 kB / 0.8037 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001219/1.197, allocations: 226.3 kB / 0.804 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001947/1.197, allocations: 27.98 kB / 0.804 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006323/1.203, allocations: 6.321 MB / 0.8102 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002406/1.206, allocations: 1.832 MB / 0.8119 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005026/1.211, allocations: 2.17 MB / 0.8141 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00048/1.211, allocations: 148.4 kB / 0.8142 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005305/1.212, allocations: 26.53 kB / 0.8142 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/1.213, allocations: 46.58 kB / 0.8143 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002927/1.213, allocations: 100.4 kB / 0.8144 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.312e-05/1.213, allocations: 31.98 kB / 0.8144 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002942/1.216, allocations: 2.651 MB / 0.817 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.216, allocations: 0 / 0.817 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002549/1.219, allocations: 0.655 MB / 0.8176 GB, free: 119.5 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.0007698/1.22, allocations: 394.3 kB / 0.818 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007455/1.227, allocations: 4.045 MB / 0.822 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.227, allocations: 0 / 0.822 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004336/1.231, allocations: 1.111 MB / 0.823 GB, free: 114 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/1.234, allocations: 336.2 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.006445/1.24, allocations: 4.133 MB / 0.8274 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/1.241, allocations: 1.11 MB / 0.8285 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001348/1.243, allocations: 396.6 kB / 0.8289 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009211/1.244, allocations: 195.3 kB / 0.829 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/1.244, allocations: 0 / 0.829 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.06542/1.309, allocations: 57.73 MB / 0.8854 GB, free: 51.28 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 cvode -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.260275588996592] Failed to read output from testmodel.py, exit status != 0: 1.3187566960114054 1.328856173 0.662100988 Calling exit ...