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.001545/0.001545, 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.001873/0.001873, 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.504/1.504, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.05248/0.05248, allocations: 7.508 MB / 267.1 MB, free: 6.027 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.873e-06/1.873e-06, allocations: 0 / 338 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.522e-05/3.709e-05, allocations: 2.312 kB / 338 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel): time 0.3343/0.3343, allocations: 115 MB / 453 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.122/0.4563, allocations: 98.63 MB / 0.5387 GB, free: 4.496 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005501/0.4569, allocations: 15.88 kB / 0.5387 GB, free: 4.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003427/0.4603, allocations: 1.241 MB / 0.5399 GB, free: 3.234 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004434/0.4647, allocations: 1.602 MB / 0.5415 GB, free: 1.625 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2972/0.7619, allocations: 32.37 MB / 0.5731 GB, free: 14.47 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.7636, allocations: 1.429 MB / 0.5745 GB, free: 14.14 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.7638, allocations: 80.84 kB / 0.5745 GB, free: 14.13 MB / 426.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.01926/0.7831, allocations: 12.19 MB / 0.5864 GB, free: 13.37 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005612/0.7837, allocations: 338 kB / 0.5868 GB, free: 13.33 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.459e-05/0.7837, allocations: 42.66 kB / 0.5868 GB, free: 13.33 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04513/0.8289, allocations: 26.36 MB / 0.6126 GB, free: 9.703 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.8291, allocations: 131.7 kB / 0.6127 GB, free: 9.656 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005905/0.8297, allocations: 218.9 kB / 0.6129 GB, free: 9.625 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0377/0.8674, allocations: 14.79 MB / 0.6273 GB, free: 15.39 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.8674, allocations: 0 / 0.6273 GB, free: 15.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.8674, allocations: 0 / 0.6273 GB, free: 15.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.8674, allocations: 0 / 0.6273 GB, free: 15.39 MB / 442.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.007425/0.8749, allocations: 2.586 MB / 0.6299 GB, free: 12.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.8749, allocations: 8.625 kB / 0.6299 GB, free: 12.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000784/0.8757, allocations: 172.9 kB / 0.63 GB, free: 12.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005783/0.8763, allocations: 291.5 kB / 0.6303 GB, free: 12.47 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.498e-05/0.8763, allocations: 29.22 kB / 0.6303 GB, free: 12.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.545e-05/0.8764, allocations: 42.08 kB / 0.6304 GB, free: 12.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.878, allocations: 0.7588 MB / 0.6311 GB, free: 11.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.878, allocations: 0 / 0.6311 GB, free: 11.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/0.878, allocations: 14.38 kB / 0.6311 GB, free: 11.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.421e-05/0.8781, allocations: 18.02 kB / 0.6312 GB, free: 11.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.8795, allocations: 0.5579 MB / 0.6317 GB, free: 11.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002699/0.8822, allocations: 1.665 MB / 0.6333 GB, free: 10.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.8834, allocations: 470.4 kB / 0.6338 GB, free: 9.773 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005769/0.8839, allocations: 318.9 kB / 0.6341 GB, free: 9.578 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2332/1.117, allocations: 44.1 MB / 0.6771 GB, free: 1.062 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.254e-05/1.117, allocations: 40.55 kB / 0.6772 GB, free: 1.016 MB / 474.7 MB Notification: Performance of pre-optimization done (n=77): time 4.959e-06/1.117, allocations: 3.984 kB / 0.6772 GB, free: 1.012 MB / 474.7 MB Notification: Performance of matching and sorting (n=81): time 0.00659/1.124, allocations: 2.295 MB / 0.6794 GB, free: 15.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/1.124, allocations: 55.41 kB / 0.6795 GB, free: 15.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/1.124, allocations: 232.8 kB / 0.6797 GB, free: 15.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/1.124, allocations: 31.58 kB / 0.6797 GB, free: 15 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/1.124, allocations: 204.4 kB / 0.6799 GB, free: 14.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/1.125, allocations: 266 kB / 0.6802 GB, free: 14.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/1.125, allocations: 101 kB / 0.6803 GB, free: 14.53 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002091/1.125, allocations: 353.9 kB / 0.6806 GB, free: 14.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000576/1.125, allocations: 287.8 kB / 0.6809 GB, free: 14.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007189/1.126, allocations: 399.6 kB / 0.6813 GB, free: 13.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/1.128, allocations: 0.7171 MB / 0.682 GB, free: 12.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.128, allocations: 0 / 0.682 GB, free: 12.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001849/1.129, allocations: 0.8381 MB / 0.6828 GB, free: 12.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/1.129, allocations: 12.06 kB / 0.6828 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/1.129, allocations: 0 / 0.6828 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006026/1.13, allocations: 68.02 kB / 0.6829 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007881/1.131, allocations: 142.1 kB / 0.683 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0834/1.214, allocations: 22.49 MB / 0.705 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004499/1.215, allocations: 31.97 kB / 0.705 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/1.215, allocations: 19.94 kB / 0.705 GB, free: 4.836 MB / 0.4948 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.0003774/1.215, allocations: 200.4 kB / 0.7052 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/1.215, allocations: 55.72 kB / 0.7053 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00298/1.218, allocations: 1.752 MB / 0.707 GB, free: 2.766 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.733e-05/1.218, allocations: 14.64 kB / 0.707 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/1.218, allocations: 0 / 0.707 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002092/1.22, allocations: 1.318 MB / 0.7083 GB, free: 1.344 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002953/1.223, allocations: 1.65 MB / 0.7099 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/1.223, allocations: 0 / 0.7099 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/1.224, allocations: 76.72 kB / 0.71 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004453/1.224, allocations: 173.8 kB / 0.7101 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/1.224, allocations: 8 kB / 0.7101 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002762/1.227, allocations: 2.439 MB / 0.7125 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.227, allocations: 4.094 kB / 0.7125 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/1.23, allocations: 1.422 MB / 0.7139 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/1.23, allocations: 39.72 kB / 0.7139 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.146e-05/1.23, allocations: 12 kB / 0.714 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/1.23, allocations: 23.97 kB / 0.714 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/1.23, allocations: 45.42 kB / 0.714 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/1.23, allocations: 11.98 kB / 0.714 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002747/1.231, allocations: 207.1 kB / 0.7142 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/1.231, allocations: 0 / 0.7142 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007492/1.238, allocations: 2.434 MB / 0.7166 GB, free: 8.613 MB / 0.5105 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.0151/1.253, allocations: 3.894 MB / 0.7204 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002858/1.256, allocations: 1 MB / 0.7214 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.256, allocations: 0 / 0.7214 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/1.257, allocations: 494.2 kB / 0.7219 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/1.259, allocations: 390.4 kB / 0.7222 GB, free: 3.188 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/1.262, allocations: 1.146 MB / 0.7233 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/1.262, allocations: 246.2 kB / 0.7236 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004379/1.262, allocations: 131.1 kB / 0.7237 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/1.262, allocations: 40.5 kB / 0.7237 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of SimCode: time 1.223e-06/1.262, allocations: 0 / 0.7237 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of Templates: time 0.2409/1.503, allocations: 78.51 MB / 0.8004 GB, free: 256.4 MB / 0.5417 GB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.869944446021691]