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.0009741/0.0009741, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004048/0.005022, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001038/0.001038, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001426/0.002464, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.8587/0.8587, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07422/0.9329, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo): time 0.04524/0.04524, allocations: 11.71 MB / 255.7 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004105/0.04934, allocations: 3.091 MB / 258.8 MB, free: 0.832 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-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.583e-06/1.583e-06, allocations: 3.938 kB / 260.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.071e-05, allocations: 2.312 kB / 260.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel): time 0.1671/0.1671, allocations: 61.99 MB / 322.1 MB, free: 5.438 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03281/0.1999, allocations: 48.77 MB / 370.8 MB, free: 4.535 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003316/0.2002, allocations: 7.938 kB / 370.9 MB, free: 4.527 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008671/0.2011, allocations: 474.5 kB / 371.3 MB, free: 4.062 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008803/0.202, allocations: 0.6763 MB / 372 MB, free: 3.383 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0415/0.2435, allocations: 24.03 MB / 396 MB, free: 11.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.2448, allocations: 1.499 MB / 397.5 MB, free: 9.762 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.245, allocations: 93.73 kB / 397.6 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005911/0.2509, allocations: 6.131 MB / 403.8 MB, free: 3.531 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004033/0.2513, allocations: 335 kB / 404.1 MB, free: 3.203 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.949e-05/0.2514, allocations: 44 kB / 404.1 MB, free: 3.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02625/0.2776, allocations: 18.37 MB / 422.5 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.2778, allocations: 99.66 kB / 422.6 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003875/0.2782, allocations: 191.7 kB / 422.8 MB, free: 488 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1455/0.4237, allocations: 7.122 MB / 429.9 MB, free: 49.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.486e-05/0.4237, allocations: 1.422 kB / 429.9 MB, free: 49.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4237, allocations: 0.6875 kB / 429.9 MB, free: 49.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.462e-05/0.4237, allocations: 2.906 kB / 429.9 MB, free: 49.71 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.004896/0.4286, allocations: 2.509 MB / 432.4 MB, free: 48.63 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.4286, allocations: 10.44 kB / 432.4 MB, free: 48.63 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002813/0.4289, allocations: 91.3 kB / 432.5 MB, free: 48.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.4292, allocations: 245.5 kB / 432.8 MB, free: 48.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.4293, allocations: 26.34 kB / 432.8 MB, free: 48.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.4293, allocations: 37.53 kB / 432.8 MB, free: 48.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/0.4299, allocations: 0.5585 MB / 433.4 MB, free: 48.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.4299, allocations: 0 / 433.4 MB, free: 48.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.43, allocations: 19.53 kB / 433.4 MB, free: 48.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.43, allocations: 15 kB / 433.4 MB, free: 48.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.4303, allocations: 250.1 kB / 433.7 MB, free: 48.14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.4315, allocations: 1.259 MB / 434.9 MB, free: 47.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/0.4319, allocations: 310 kB / 435.2 MB, free: 47.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.374e-05/0.4319, allocations: 85.34 kB / 435.3 MB, free: 47.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1006/0.5326, allocations: 70.86 MB / 0.4943 GB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.5326, allocations: 40.31 kB / 0.4943 GB, free: 12.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=80): time 2.395e-06/0.5326, allocations: 1.531 kB / 0.4943 GB, free: 12.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=84): time 0.002826/0.5354, allocations: 1.5 MB / 0.4958 GB, free: 11.56 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.848e-05/0.5355, allocations: 55.73 kB / 0.4958 GB, free: 11.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.5356, allocations: 219 kB / 0.4961 GB, free: 11.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.5356, allocations: 33.64 kB / 0.4961 GB, free: 11.26 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.5356, allocations: 186.2 kB / 0.4963 GB, free: 11.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.252e-05/0.5357, allocations: 287.6 kB / 0.4965 GB, free: 10.85 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.061e-05/0.5358, allocations: 112.5 kB / 0.4966 GB, free: 10.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.776e-05/0.5359, allocations: 357.8 kB / 0.497 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-05/0.5359, allocations: 96.11 kB / 0.4971 GB, free: 10.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.536, allocations: 214.6 kB / 0.4973 GB, free: 10.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.5363, allocations: 359.1 kB / 0.4976 GB, free: 9.766 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5363, allocations: 0 / 0.4976 GB, free: 9.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.000383/0.5366, allocations: 438.5 kB / 0.498 GB, free: 9.379 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.5367, allocations: 4 kB / 0.4981 GB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5367, allocations: 4 kB / 0.4981 GB, free: 9.371 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/0.5369, allocations: 85.02 kB / 0.4981 GB, free: 9.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009486/0.5378, allocations: 335.9 kB / 0.4985 GB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.5402, allocations: 6.129 MB / 0.5044 GB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.5404, allocations: 11.88 kB / 0.5045 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.5404, allocations: 23.73 kB / 0.5045 GB, free: 2.828 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 43 * 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.0001156/0.5405, allocations: 141.8 kB / 0.5046 GB, free: 2.699 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.5406, allocations: 39.84 kB / 0.5046 GB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/0.5421, allocations: 3.204 MB / 0.5078 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008854/0.543, allocations: 1.385 MB / 0.5091 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.543, allocations: 0 / 0.5091 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009572/0.544, allocations: 1.688 MB / 0.5108 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.5456, allocations: 1.934 MB / 0.5127 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.5456, allocations: 4 kB / 0.5127 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007609/0.5464, allocations: 260.7 kB / 0.5129 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.927e-05/0.5464, allocations: 79.27 kB / 0.513 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/0.5466, allocations: 36.75 kB / 0.513 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.5466, allocations: 19.42 kB / 0.513 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008512/0.5475, allocations: 2.336 MB / 0.5153 GB, free: 8.402 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.5475, allocations: 0 / 0.5153 GB, free: 8.402 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.5485, allocations: 1.46 MB / 0.5168 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.5486, allocations: 14.81 kB / 0.5168 GB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.5487, allocations: 13.38 kB / 0.5168 GB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.5488, allocations: 38.17 kB / 0.5168 GB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.5488, allocations: 22.42 kB / 0.5168 GB, free: 6.934 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.033e-05/0.5489, allocations: 90.19 kB / 0.5169 GB, free: 6.855 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-08/0.5489, allocations: 0 / 0.5169 GB, free: 6.855 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003482/0.5523, allocations: 1.234 MB / 0.5181 GB, free: 5.664 MB / 410.7 MB 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: 12 (volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,$cse5.phase,$cse6.phase,$cse7.phase,$cse9.sat.vap.phase,$cse9.sat.liq.phase,volume.medium.state.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 (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 2 systems {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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004474/0.5568, allocations: 2.249 MB / 0.5203 GB, free: 3.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000963/0.5578, allocations: 0.9523 MB / 0.5213 GB, free: 2.766 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-05/0.5578, allocations: 8 kB / 0.5213 GB, free: 2.758 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004944/0.5583, allocations: 0.5644 MB / 0.5218 GB, free: 2.223 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009652/0.5593, allocations: 454.4 kB / 0.5222 GB, free: 1.852 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007289/0.5666, allocations: 1.569 MB / 0.5238 GB, free: 424 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.5667, allocations: 206.7 kB / 0.524 GB, free: 196 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003806/0.5671, allocations: 192.8 kB / 0.5242 GB, free: 8 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004733/0.5676, allocations: 278.7 kB / 0.5244 GB, free: 15.75 MB / 426.7 MB Notification: Performance of SimCode: time 1.242e-06/0.5676, allocations: 0 / 0.5244 GB, free: 15.75 MB / 426.7 MB Notification: Performance of Templates: time 0.04539/0.6129, allocations: 44.81 MB / 0.5682 GB, free: 4.148 MB / 458.7 MB " [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: 4.344060562551022]