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.001415/0.001415, allocations: 80.75 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.001536/0.001536, 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.093/1.093, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.1034/0.1034, allocations: 17.38 MB / 277.6 MB, free: 11.5 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.515e-06/2.515e-06, allocations: 0 / 300.6 MB, free: 1.812 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.359e-05/3.611e-05, allocations: 3.625 kB / 300.6 MB, free: 1.809 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.04542/0.04545, allocations: 38.35 MB / 339 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3327/0.3782, allocations: 141.8 MB / 480.8 MB, free: 26.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.3796, allocations: 25.28 kB / 480.9 MB, free: 26.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002884/0.3825, allocations: 1.045 MB / 481.9 MB, free: 25.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002499/0.385, allocations: 0.9017 MB / 482.8 MB, free: 25.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002867/0.3879, allocations: 1.394 MB / 484.2 MB, free: 25.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003943/0.3918, allocations: 2.366 MB / 486.6 MB, free: 25.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006947/0.3925, allocations: 453.8 kB / 487 MB, free: 24.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.3943, allocations: 1.203 MB / 488.2 MB, free: 24.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.3953, allocations: 0.6839 MB / 488.9 MB, free: 24.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003717/0.3957, allocations: 211.2 kB / 489.1 MB, free: 24.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003004/0.3987, allocations: 1.18 MB / 490.3 MB, free: 24.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000423/0.3991, allocations: 0.674 MB / 491 MB, free: 24.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009718/0.4001, allocations: 0.7247 MB / 491.7 MB, free: 24.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004358/0.4044, allocations: 3.146 MB / 494.8 MB, free: 23.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.4044, allocations: 0 / 494.8 MB, free: 23.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4044, allocations: 0 / 494.8 MB, free: 23.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.721e-05/0.4045, allocations: 0 / 494.8 MB, free: 23.94 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.003327/0.4078, allocations: 2.616 MB / 497.4 MB, free: 22.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.4079, allocations: 10.62 kB / 497.5 MB, free: 22.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/0.4096, allocations: 0.9387 MB / 498.4 MB, free: 22.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.4108, allocations: 0.8479 MB / 499.2 MB, free: 22.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000262/0.4111, allocations: 365.9 kB / 499.6 MB, free: 22.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/0.4113, allocations: 191 kB / 499.8 MB, free: 22.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/0.414, allocations: 2.541 MB / 0.4906 GB, free: 21.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.884e-05/0.414, allocations: 6.969 kB / 0.4906 GB, free: 21.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.4141, allocations: 83 kB / 0.4906 GB, free: 21.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002821/0.4144, allocations: 347.2 kB / 0.491 GB, free: 21.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002835/0.4172, allocations: 2.901 MB / 0.4938 GB, free: 20.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01239/0.4296, allocations: 8.846 MB / 0.5024 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.431, allocations: 476.2 kB / 0.5029 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006922/0.4317, allocations: 193.5 kB / 0.5031 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/0.433, allocations: 0.5712 MB / 0.5036 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.433, allocations: 42.09 kB / 0.5037 GB, free: 15.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 3.777e-06/0.433, allocations: 0 / 0.5037 GB, free: 15.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=102): time 0.02106/0.4541, allocations: 3.863 MB / 0.5074 GB, free: 13.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002249/0.4563, allocations: 1.851 MB / 0.5093 GB, free: 11.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.4575, allocations: 0.9946 MB / 0.5102 GB, free: 11.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001763/0.4577, allocations: 44.73 kB / 0.5103 GB, free: 11.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004263/0.4581, allocations: 0.9208 MB / 0.5112 GB, free: 10.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003623/0.4585, allocations: 369.3 kB / 0.5115 GB, free: 10.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007444/0.4592, allocations: 282.7 kB / 0.5118 GB, free: 10.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.106e-05/0.4593, allocations: 349.3 kB / 0.5121 GB, free: 9.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008018/0.4601, allocations: 255.4 kB / 0.5124 GB, free: 9.676 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008245/0.4609, allocations: 475.4 kB / 0.5128 GB, free: 9.359 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/0.4629, allocations: 1.068 MB / 0.5139 GB, free: 8.727 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.463, allocations: 0 / 0.5139 GB, free: 8.727 MB / 410.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002618/0.4656, allocations: 1.075 MB / 0.5149 GB, free: 7.629 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.4656, allocations: 8 kB / 0.5149 GB, free: 7.621 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.4656, allocations: 8 kB / 0.5149 GB, free: 7.613 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004917/0.4661, allocations: 250.1 kB / 0.5152 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005049/0.4711, allocations: 1.062 MB / 0.5162 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00307/0.4742, allocations: 4.949 MB / 0.521 GB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009311/0.4751, allocations: 46.61 kB / 0.5211 GB, free: 1.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/0.4754, allocations: 267.9 kB / 0.5213 GB, free: 0.8047 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.0008505/0.4762, allocations: 176.1 kB / 0.5215 GB, free: 0.625 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003543/0.4766, allocations: 107.9 kB / 0.5216 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003507/0.4801, allocations: 2.233 MB / 0.5238 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.4801, allocations: 8 kB / 0.5238 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4801, allocations: 0 / 0.5238 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.4801, allocations: 7.984 kB / 0.5238 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005196/0.4853, allocations: 2.956 MB / 0.5267 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.4853, allocations: 8 kB / 0.5267 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003012/0.4883, allocations: 0.5794 MB / 0.5273 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000896/0.4892, allocations: 283 kB / 0.5275 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.815e-05/0.4893, allocations: 27.92 kB / 0.5276 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003898/0.4932, allocations: 5.385 MB / 0.5328 GB, free: 4.941 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001293/0.4945, allocations: 1.567 MB / 0.5344 GB, free: 3.289 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/0.4966, allocations: 1.086 MB / 0.5354 GB, free: 2.109 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.4968, allocations: 137.1 kB / 0.5355 GB, free: 1.977 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.497, allocations: 20 kB / 0.5356 GB, free: 1.957 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003987/0.4974, allocations: 31.98 kB / 0.5356 GB, free: 1.926 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.4976, allocations: 96.31 kB / 0.5357 GB, free: 1.832 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.4976, allocations: 28.02 kB / 0.5357 GB, free: 1.805 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008445/0.4985, allocations: 0.8887 MB / 0.5366 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.4985, allocations: 0 / 0.5366 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00164/0.5001, allocations: 0.6559 MB / 0.5372 GB, free: 316 kB / 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.0005963/0.5007, allocations: 406.6 kB / 0.5376 GB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002573/0.5033, allocations: 1.132 MB / 0.5387 GB, free: 14.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.748e-05/0.5033, allocations: 12.5 kB / 0.5387 GB, free: 14.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00161/0.5049, allocations: 0.7997 MB / 0.5395 GB, free: 13.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.506, allocations: 403.1 kB / 0.5399 GB, free: 13.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005483/0.5115, allocations: 3.815 MB / 0.5436 GB, free: 9.703 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.5119, allocations: 489.1 kB / 0.5441 GB, free: 9.199 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009272/0.5128, allocations: 341.9 kB / 0.5444 GB, free: 8.867 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/0.5138, allocations: 369 kB / 0.5448 GB, free: 8.508 MB / 442.7 MB Notification: Performance of SimCode: time 1.663e-06/0.5138, allocations: 4 kB / 0.5448 GB, free: 8.504 MB / 442.7 MB Notification: Performance of Templates: time 0.07165/0.5855, allocations: 62.38 MB / 0.6057 GB, free: 10.56 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.571374452672899]