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.0007896/0.0007896, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009172/0.0009172, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.069/1.069, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.09338/0.09338, allocations: 17.39 MB / 277.6 MB, free: 11.53 MB / 266.7 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: Performance of FrontEnd - loaded program: time 3.367e-06/3.367e-06, allocations: 0.5625 kB / 300.6 MB, free: 1.883 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.154e-05/3.491e-05, allocations: 3.078 kB / 300.6 MB, free: 1.879 MB / 266.7 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.03927/0.03931, allocations: 38.29 MB / 338.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3418/0.3811, allocations: 141.9 MB / 480.7 MB, free: 26.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001786/0.3829, allocations: 25.69 kB / 480.8 MB, free: 26.49 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002299/0.3852, allocations: 1.036 MB / 481.8 MB, free: 26.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002278/0.3874, allocations: 0.9095 MB / 482.7 MB, free: 26.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002903/0.3903, allocations: 1.413 MB / 484.1 MB, free: 25.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003484/0.3938, allocations: 2.374 MB / 486.5 MB, free: 25.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006287/0.3945, allocations: 448.9 kB / 486.9 MB, free: 25.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.3962, allocations: 1.199 MB / 488.1 MB, free: 25.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.3973, allocations: 0.6885 MB / 488.8 MB, free: 25.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004802/0.3977, allocations: 211.4 kB / 489 MB, free: 25.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002781/0.4005, allocations: 1.156 MB / 490.2 MB, free: 25.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005229/0.401, allocations: 0.6656 MB / 490.9 MB, free: 24.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.4021, allocations: 0.7236 MB / 491.6 MB, free: 24.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004813/0.4069, allocations: 3.141 MB / 494.7 MB, free: 24.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4069, allocations: 0 / 494.7 MB, free: 24.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.407, allocations: 0 / 494.7 MB, free: 24.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001104/0.4071, allocations: 0 / 494.7 MB, free: 24.42 MB / 410.7 MB 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.003212/0.4103, allocations: 2.62 MB / 497.3 MB, free: 23.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.4103, allocations: 8.188 kB / 497.3 MB, free: 23.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.4115, allocations: 0.9365 MB / 498.3 MB, free: 23.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.4126, allocations: 0.8451 MB / 499.1 MB, free: 22.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/0.4129, allocations: 374.3 kB / 499.5 MB, free: 22.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.413, allocations: 195.5 kB / 499.7 MB, free: 22.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/0.4153, allocations: 2.536 MB / 0.4904 GB, free: 21.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/0.4153, allocations: 2.844 kB / 0.4905 GB, free: 21.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.058e-05/0.4154, allocations: 80.61 kB / 0.4905 GB, free: 21.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002399/0.4156, allocations: 347.6 kB / 0.4909 GB, free: 21.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002384/0.418, allocations: 2.907 MB / 0.4937 GB, free: 21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009444/0.4274, allocations: 8.848 MB / 0.5023 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.4285, allocations: 474.5 kB / 0.5028 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005123/0.429, allocations: 192.2 kB / 0.503 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007448/0.4298, allocations: 0.5753 MB / 0.5035 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.4298, allocations: 37.22 kB / 0.5036 GB, free: 15.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 3.016e-06/0.4298, allocations: 0 / 0.5036 GB, free: 15.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=102): time 0.01206/0.4419, allocations: 3.856 MB / 0.5073 GB, free: 13.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001486/0.4434, allocations: 1.857 MB / 0.5092 GB, free: 11.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008284/0.4442, allocations: 0.9905 MB / 0.5101 GB, free: 11.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.4443, allocations: 46.73 kB / 0.5102 GB, free: 11.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.4446, allocations: 0.9249 MB / 0.5111 GB, free: 10.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000249/0.4449, allocations: 367.5 kB / 0.5114 GB, free: 10.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004739/0.4453, allocations: 278.3 kB / 0.5117 GB, free: 10.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.659e-05/0.4454, allocations: 358.1 kB / 0.512 GB, free: 9.879 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007203/0.4461, allocations: 252.4 kB / 0.5123 GB, free: 9.805 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000755/0.4469, allocations: 475.9 kB / 0.5127 GB, free: 9.492 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/0.4487, allocations: 1.067 MB / 0.5138 GB, free: 8.934 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.4487, allocations: 0 / 0.5138 GB, free: 8.934 MB / 410.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002321/0.451, allocations: 1.069 MB / 0.5148 GB, free: 7.844 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.451, allocations: 4 kB / 0.5148 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.451, allocations: 8 kB / 0.5148 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004127/0.4514, allocations: 260.6 kB / 0.5151 GB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003616/0.4551, allocations: 0.8661 MB / 0.5159 GB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/0.4576, allocations: 4.94 MB / 0.5207 GB, free: 1.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007193/0.4583, allocations: 39.98 kB / 0.5208 GB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/0.4585, allocations: 268.4 kB / 0.521 GB, free: 1.219 MB / 410.7 MB 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.0007837/0.4593, allocations: 176.5 kB / 0.5212 GB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003281/0.4596, allocations: 107.9 kB / 0.5213 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002934/0.4626, allocations: 2.241 MB / 0.5235 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.4626, allocations: 8 kB / 0.5235 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4626, allocations: 0 / 0.5235 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.4626, allocations: 7.984 kB / 0.5235 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00464/0.4672, allocations: 2.95 MB / 0.5264 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.4672, allocations: 8 kB / 0.5264 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002899/0.4701, allocations: 467.8 kB / 0.5268 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009405/0.4711, allocations: 290.7 kB / 0.5271 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.99e-05/0.4712, allocations: 34.66 kB / 0.5271 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004023/0.4752, allocations: 5.377 MB / 0.5324 GB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001352/0.4765, allocations: 1.568 MB / 0.5339 GB, free: 3.816 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.4785, allocations: 1.089 MB / 0.535 GB, free: 2.629 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/0.4787, allocations: 129.3 kB / 0.5351 GB, free: 2.504 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/0.4789, allocations: 26.56 kB / 0.5351 GB, free: 2.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004799/0.4794, allocations: 35.97 kB / 0.5352 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/0.4796, allocations: 92.38 kB / 0.5353 GB, free: 2.355 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-05/0.4797, allocations: 31.95 kB / 0.5353 GB, free: 2.324 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001147/0.4808, allocations: 0.8889 MB / 0.5362 GB, free: 1.484 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4808, allocations: 0 / 0.5362 GB, free: 1.484 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002059/0.4829, allocations: 0.6559 MB / 0.5368 GB, free: 0.8281 MB / 426.7 MB 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.0006454/0.4835, allocations: 397.8 kB / 0.5372 GB, free: 500 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002767/0.4863, allocations: 1.127 MB / 0.5383 GB, free: 15.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.929e-05/0.4863, allocations: 12.5 kB / 0.5383 GB, free: 15.33 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001788/0.4881, allocations: 0.8079 MB / 0.5391 GB, free: 14.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.4894, allocations: 394.7 kB / 0.5395 GB, free: 14.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006805/0.4962, allocations: 3.821 MB / 0.5432 GB, free: 10.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.4967, allocations: 493 kB / 0.5437 GB, free: 9.727 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001212/0.4979, allocations: 341.7 kB / 0.544 GB, free: 9.395 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/0.4991, allocations: 365.1 kB / 0.5443 GB, free: 9.039 MB / 442.7 MB Notification: Performance of SimCode: time 1.573e-06/0.4991, allocations: 0 / 0.5443 GB, free: 9.039 MB / 442.7 MB Notification: Performance of Templates: time 0.07307/0.5721, allocations: 62.17 MB / 0.6051 GB, free: 11.3 MB / 0.4948 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=240 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.66636814782396]