Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.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.0009006/0.0009006, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0008989/0.0008989, allocations: 173 kB / 23.49 MB, free: 1.055 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 0.877/0.877, allocations: 177.1 MB / 203.8 MB, free: 5.664 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.03016/0.03016, allocations: 7.516 MB / 267.8 MB, free: 6.09 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 338.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.032e-05, allocations: 5.547 kB / 338.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel): time 0.2014/0.2014, allocations: 130.1 MB / 468.9 MB, free: 9.918 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2386/0.44, allocations: 112.6 MB / 0.5679 GB, free: 3.207 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004419/0.4404, allocations: 11.16 kB / 0.5679 GB, free: 3.207 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002062/0.4425, allocations: 1.248 MB / 0.5691 GB, free: 3.195 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002398/0.4449, allocations: 1.599 MB / 0.5707 GB, free: 3.184 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04979/0.4947, allocations: 32.38 MB / 0.6023 GB, free: 15.53 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.4961, allocations: 1.429 MB / 0.6037 GB, free: 15.2 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.4963, allocations: 82.77 kB / 0.6038 GB, free: 15.19 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:621:5-621:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root Notification: Performance of NFEvalConstants.evaluate: time 0.01107/0.5073, allocations: 12.2 MB / 0.6157 GB, free: 11.43 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003338/0.5077, allocations: 337.6 kB / 0.616 GB, free: 11.33 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.136e-05/0.5077, allocations: 41.75 kB / 0.616 GB, free: 11.33 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03495/0.5426, allocations: 26.37 MB / 0.6418 GB, free: 15.49 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.5428, allocations: 128.5 kB / 0.6419 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.5432, allocations: 217.8 kB / 0.6421 GB, free: 15.26 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02416/0.5674, allocations: 14.51 MB / 0.6563 GB, free: 4.246 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.5674, allocations: 0 / 0.6563 GB, free: 4.246 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5674, allocations: 0 / 0.6563 GB, free: 4.246 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.5674, allocations: 0 / 0.6563 GB, free: 4.246 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003268/0.5706, allocations: 2.682 MB / 0.6589 GB, free: 1.523 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.5707, allocations: 8.625 kB / 0.6589 GB, free: 1.516 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004571/0.5711, allocations: 174.8 kB / 0.6591 GB, free: 1.344 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.5715, allocations: 284.4 kB / 0.6593 GB, free: 1.055 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.5715, allocations: 32.66 kB / 0.6594 GB, free: 1.023 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.5715, allocations: 39.92 kB / 0.6594 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007297/0.5723, allocations: 0.6103 MB / 0.66 GB, free: 320 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.5723, allocations: 2.625 kB / 0.66 GB, free: 320 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.5723, allocations: 12 kB / 0.66 GB, free: 308 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.5723, allocations: 19.59 kB / 0.66 GB, free: 292 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004724/0.5728, allocations: 277.6 kB / 0.6603 GB, free: 20 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.5742, allocations: 1.821 MB / 0.6621 GB, free: 14.18 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000516/0.5748, allocations: 286.9 kB / 0.6624 GB, free: 13.89 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.5749, allocations: 121 kB / 0.6625 GB, free: 13.77 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09733/0.6722, allocations: 41.69 MB / 0.7032 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.6723, allocations: 44.27 kB / 0.7032 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=77): time 2.244e-06/0.6723, allocations: 0 / 0.7032 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of matching and sorting (n=81): time 0.002949/0.6752, allocations: 1.475 MB / 0.7047 GB, free: 2.656 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.6753, allocations: 55.41 kB / 0.7047 GB, free: 2.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.6754, allocations: 288.2 kB / 0.705 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.6755, allocations: 33.7 kB / 0.705 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.595e-05/0.6756, allocations: 244.1 kB / 0.7053 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.6757, allocations: 283 kB / 0.7055 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.6758, allocations: 127.8 kB / 0.7056 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.6759, allocations: 0.5312 MB / 0.7062 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.6761, allocations: 101.5 kB / 0.7063 GB, free: 0.957 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.6763, allocations: 262.5 kB / 0.7065 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/0.6766, allocations: 405.6 kB / 0.7069 GB, free: 216 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6766, allocations: 4 kB / 0.7069 GB, free: 212 kB / 0.4948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0007215/0.6773, allocations: 0.4952 MB / 0.7074 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.6774, allocations: 8 kB / 0.7074 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.6774, allocations: 384 / 0.7074 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/0.6775, allocations: 63.33 kB / 0.7075 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.6779, allocations: 132.2 kB / 0.7076 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03599/0.7139, allocations: 19.76 MB / 0.7269 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.7141, allocations: 23.98 kB / 0.7269 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.7141, allocations: 16 kB / 0.7269 GB, free: 11.17 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.7143, allocations: 195.2 kB / 0.7271 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.776e-05/0.7144, allocations: 51.77 kB / 0.7271 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.7156, allocations: 1.522 MB / 0.7286 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.7156, allocations: 18.56 kB / 0.7287 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.7156, allocations: 0 / 0.7287 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000706/0.7163, allocations: 0.8511 MB / 0.7295 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.7173, allocations: 1.122 MB / 0.7306 GB, free: 7.191 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.7173, allocations: 0 / 0.7306 GB, free: 7.191 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.7175, allocations: 67.05 kB / 0.7306 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002019/0.7177, allocations: 147.2 kB / 0.7308 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.7177, allocations: 8 kB / 0.7308 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/0.7188, allocations: 3.369 MB / 0.7341 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7188, allocations: 3.938 kB / 0.7341 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007421/0.7195, allocations: 0.8317 MB / 0.7349 GB, free: 2.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.784e-05/0.7196, allocations: 39.69 kB / 0.7349 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.7196, allocations: 4 kB / 0.7349 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.7197, allocations: 24.08 kB / 0.735 GB, free: 2.504 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/0.7198, allocations: 43.86 kB / 0.735 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.7198, allocations: 23.92 kB / 0.735 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001259/0.72, allocations: 219 kB / 0.7352 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.72, allocations: 0 / 0.7352 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004398/0.7244, allocations: 2.438 MB / 0.7376 GB, free: 15.77 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse4.phase,$cse5.phase,$cse6.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00635/0.7307, allocations: 3.883 MB / 0.7414 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001068/0.7318, allocations: 0.7931 MB / 0.7422 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7318, allocations: 4 kB / 0.7422 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003345/0.7321, allocations: 398.6 kB / 0.7426 GB, free: 11 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009584/0.7331, allocations: 378.5 kB / 0.7429 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.7345, allocations: 0.9899 MB / 0.7439 GB, free: 9.625 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.607e-05/0.7346, allocations: 131.4 kB / 0.744 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002231/0.7348, allocations: 127.1 kB / 0.7441 GB, free: 9.355 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.27e-05/0.7349, allocations: 48.48 kB / 0.7442 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of SimCode: time 1.062e-06/0.7349, allocations: 0 / 0.7442 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of Templates: time 0.1577/0.8925, allocations: 78.98 MB / 0.8213 GB, free: 231 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.943280244013295]