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.001375/0.001375, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001574/0.001574, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.537/1.537, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 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.1456/0.1456, allocations: 17.36 MB / 276.9 MB, free: 11.65 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 2.605e-06/2.605e-06, allocations: 0 / 352.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.358e-05/3.619e-05, allocations: 10.25 kB / 352.7 MB, free: 10.33 MB / 282.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.04688/0.04692, allocations: 29.19 MB / 381.9 MB, free: 13.28 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3358/0.3827, allocations: 128.9 MB / 0.4988 GB, free: 9.094 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002076/0.3848, allocations: 23.88 kB / 0.4988 GB, free: 9.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003829/0.3886, allocations: 1.006 MB / 0.4998 GB, free: 8.086 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003572/0.3922, allocations: 0.9033 MB / 0.5007 GB, free: 7.176 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004018/0.3962, allocations: 1.349 MB / 0.502 GB, free: 5.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004676/0.4009, allocations: 2.354 MB / 0.5043 GB, free: 3.457 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.4019, allocations: 427.4 kB / 0.5047 GB, free: 2.992 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002319/0.4042, allocations: 1.197 MB / 0.5059 GB, free: 1.793 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.4054, allocations: 0.6894 MB / 0.5065 GB, free: 1.102 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003063/0.4057, allocations: 212 kB / 0.5067 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003562/0.4093, allocations: 1.154 MB / 0.5079 GB, free: 15.74 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000667/0.4099, allocations: 0.6735 MB / 0.5085 GB, free: 15.06 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009802/0.4109, allocations: 0.7219 MB / 0.5092 GB, free: 14.34 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006985/0.4179, allocations: 4.121 MB / 0.5133 GB, free: 10.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4179, allocations: 4 kB / 0.5133 GB, free: 10.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.4179, allocations: 0 / 0.5133 GB, free: 10.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.03e-05/0.4179, allocations: 0 / 0.5133 GB, free: 10.2 MB / 394.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.005169/0.4231, allocations: 2.646 MB / 0.5158 GB, free: 7.512 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.4232, allocations: 8.031 kB / 0.5159 GB, free: 7.504 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002821/0.426, allocations: 1.09 MB / 0.5169 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.4281, allocations: 1.167 MB / 0.5181 GB, free: 5.211 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000439/0.4286, allocations: 367.2 kB / 0.5184 GB, free: 4.828 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000322/0.4289, allocations: 200.3 kB / 0.5186 GB, free: 4.633 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01151/0.4404, allocations: 8.376 MB / 0.5268 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.055e-05/0.4404, allocations: 192 / 0.5268 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001857/0.4406, allocations: 80.36 kB / 0.5269 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004511/0.4411, allocations: 340.5 kB / 0.5272 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01797/0.4591, allocations: 13.93 MB / 0.5408 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03522/0.4943, allocations: 18.97 MB / 0.5593 GB, free: 10.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006963/0.5012, allocations: 3.821 MB / 0.563 GB, free: 6.938 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005648/0.5069, allocations: 2.681 MB / 0.5657 GB, free: 4.254 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002657/0.5095, allocations: 0.5748 MB / 0.5662 GB, free: 3.676 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.966e-05/0.5096, allocations: 43.22 kB / 0.5663 GB, free: 3.625 MB / 442.7 MB Notification: Performance of pre-optimization done (n=82): time 4.819e-06/0.5096, allocations: 0 / 0.5663 GB, free: 3.625 MB / 442.7 MB Notification: Performance of matching and sorting (n=102): time 0.2835/0.7931, allocations: 15.03 MB / 0.5809 GB, free: 62.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004136/0.7973, allocations: 3.217 MB / 0.5841 GB, free: 60.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.7988, allocations: 1.272 MB / 0.5853 GB, free: 60.72 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003246/0.7992, allocations: 43.3 kB / 0.5854 GB, free: 60.69 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007101/0.7999, allocations: 1.111 MB / 0.5864 GB, free: 60.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000408/0.8003, allocations: 361.4 kB / 0.5868 GB, free: 60.11 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008368/0.8011, allocations: 389.6 kB / 0.5872 GB, free: 60.08 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.794e-05/0.8012, allocations: 342.4 kB / 0.5875 GB, free: 59.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003989/0.8052, allocations: 3.301 MB / 0.5907 GB, free: 59.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004495/0.8097, allocations: 3.517 MB / 0.5942 GB, free: 59.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02406/0.8337, allocations: 9.525 MB / 0.6035 GB, free: 56.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.8337, allocations: 2.281 kB / 0.6035 GB, free: 56.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01028/0.844, allocations: 6.756 MB / 0.6101 GB, free: 53.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.844, allocations: 7.812 kB / 0.6101 GB, free: 53.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.8441, allocations: 9.078 kB / 0.6101 GB, free: 53.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.8452, allocations: 0.5569 MB / 0.6106 GB, free: 53.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00968/0.8549, allocations: 1.078 MB / 0.6117 GB, free: 53.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007386/0.8623, allocations: 8.319 MB / 0.6198 GB, free: 45.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.8639, allocations: 58.47 kB / 0.6198 GB, free: 45.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005649/0.8645, allocations: 285 kB / 0.6201 GB, free: 44.97 MB / 442.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.001666/0.8662, allocations: 0.6319 MB / 0.6207 GB, free: 44.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009481/0.8671, allocations: 164.9 kB / 0.6209 GB, free: 44.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007383/0.8745, allocations: 3.183 MB / 0.624 GB, free: 41.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.8745, allocations: 8.562 kB / 0.624 GB, free: 41.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.8745, allocations: 4.438 kB / 0.624 GB, free: 41.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.8745, allocations: 4.469 kB / 0.624 GB, free: 41.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.8849, allocations: 5.808 MB / 0.6297 GB, free: 36.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.8849, allocations: 4 kB / 0.6297 GB, free: 36.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005901/0.8908, allocations: 495.5 kB / 0.6302 GB, free: 35.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001703/0.8925, allocations: 275.1 kB / 0.6304 GB, free: 35.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/0.8926, allocations: 28.61 kB / 0.6305 GB, free: 35.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006138/0.8988, allocations: 6.327 MB / 0.6366 GB, free: 28.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002408/0.9012, allocations: 1.835 MB / 0.6384 GB, free: 27.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00503/0.9062, allocations: 2.193 MB / 0.6406 GB, free: 24.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004389/0.9067, allocations: 139.1 kB / 0.6407 GB, free: 24.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004789/0.9071, allocations: 30.67 kB / 0.6407 GB, free: 24.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.9082, allocations: 44.72 kB / 0.6408 GB, free: 24.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002588/0.9085, allocations: 103.4 kB / 0.6409 GB, free: 24.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.797e-05/0.9085, allocations: 35.97 kB / 0.6409 GB, free: 24.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002708/0.9112, allocations: 2.654 MB / 0.6435 GB, free: 21.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.9112, allocations: 0 / 0.6435 GB, free: 21.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00248/0.9137, allocations: 0.6563 MB / 0.6441 GB, free: 21.17 MB / 442.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.0008698/0.9146, allocations: 401.5 kB / 0.6445 GB, free: 20.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007428/0.922, allocations: 4.035 MB / 0.6485 GB, free: 16.85 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.922, allocations: 0 / 0.6485 GB, free: 16.85 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004156/0.9262, allocations: 1.119 MB / 0.6496 GB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/0.9284, allocations: 416.7 kB / 0.6499 GB, free: 15.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006749/0.9351, allocations: 4.129 MB / 0.654 GB, free: 11.17 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/0.9364, allocations: 1.113 MB / 0.6551 GB, free: 10.04 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001317/0.9377, allocations: 395.7 kB / 0.6554 GB, free: 9.668 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009227/0.9386, allocations: 193.3 kB / 0.6556 GB, free: 9.48 MB / 442.7 MB Notification: Performance of SimCode: time 1.332e-06/0.9386, allocations: 0 / 0.6556 GB, free: 9.48 MB / 442.7 MB Notification: Performance of Templates: time 0.08394/1.023, allocations: 54.28 MB / 0.7086 GB, free: 3.863 MB / 490.7 MB " [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: 7.215845461003482]