Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.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.0006975/0.0006975, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008982/0.001596, 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.0007048/0.0007048, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008749/0.00158, 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.9396/0.9396, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07494/1.015, 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.054/0.054, allocations: 11.71 MB / 255.7 MB, free: 3.93 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00467/0.05867, allocations: 3.083 MB / 258.8 MB, free: 0.8398 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.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 260.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.727e-05, allocations: 2.312 kB / 260.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.1443/0.1444, allocations: 61.7 MB / 321.8 MB, free: 5.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03501/0.1794, allocations: 48.2 MB / 370 MB, free: 5.422 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002537/0.1796, allocations: 11.94 kB / 370 MB, free: 5.41 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008311/0.1805, allocations: 454.5 kB / 370.4 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008161/0.1813, allocations: 0.6294 MB / 371.1 MB, free: 4.332 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04331/0.2246, allocations: 23.16 MB / 394.2 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001271/0.2258, allocations: 1.413 MB / 395.6 MB, free: 11.67 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.226, allocations: 101.7 kB / 395.7 MB, free: 11.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003564/0.2296, allocations: 3.291 MB / 399 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003241/0.2299, allocations: 315.1 kB / 399.3 MB, free: 7.969 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.593e-05/0.23, allocations: 44 kB / 399.4 MB, free: 7.926 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02798/0.2579, allocations: 17.88 MB / 417.3 MB, free: 6.02 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000186/0.2581, allocations: 107.6 kB / 417.4 MB, free: 5.914 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000456/0.2586, allocations: 191.8 kB / 417.6 MB, free: 5.727 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1487/0.4073, allocations: 7.107 MB / 424.7 MB, free: 72 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.227e-05/0.4073, allocations: 0.7031 kB / 424.7 MB, free: 72 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4073, allocations: 0 / 424.7 MB, free: 72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.329e-05/0.4074, allocations: 0 / 424.7 MB, free: 72 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.003635/0.411, allocations: 2.506 MB / 427.2 MB, free: 71.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.411, allocations: 9.734 kB / 427.2 MB, free: 71.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002727/0.4113, allocations: 85.53 kB / 427.3 MB, free: 71.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.4116, allocations: 251.9 kB / 427.5 MB, free: 70.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.4116, allocations: 25.22 kB / 427.5 MB, free: 70.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.4117, allocations: 35.36 kB / 427.6 MB, free: 70.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006136/0.4123, allocations: 0.5616 MB / 428.1 MB, free: 70.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.4123, allocations: 1.75 kB / 428.1 MB, free: 70.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.4123, allocations: 14.44 kB / 428.1 MB, free: 70.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.4124, allocations: 19.72 kB / 428.2 MB, free: 70.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003869/0.4127, allocations: 245.4 kB / 428.4 MB, free: 70.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02906/0.4418, allocations: 24.89 MB / 453.3 MB, free: 68.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004306/0.4422, allocations: 296.7 kB / 453.6 MB, free: 68.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.067e-05/0.4423, allocations: 89.19 kB / 453.7 MB, free: 68.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07652/0.5188, allocations: 70.84 MB / 0.5122 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.5189, allocations: 45.47 kB / 0.5123 GB, free: 12.81 MB / 394.7 MB Notification: Performance of pre-optimization done (n=80): time 2.785e-06/0.5189, allocations: 0 / 0.5123 GB, free: 12.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=84): time 0.00289/0.5218, allocations: 1.484 MB / 0.5137 GB, free: 11.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.69e-05/0.5218, allocations: 55.41 kB / 0.5138 GB, free: 11.26 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.5219, allocations: 222 kB / 0.514 GB, free: 11.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.5219, allocations: 37.7 kB / 0.514 GB, free: 11.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/0.522, allocations: 180.4 kB / 0.5142 GB, free: 10.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.994e-05/0.5221, allocations: 291.3 kB / 0.5145 GB, free: 10.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-05/0.5221, allocations: 114.3 kB / 0.5146 GB, free: 10.47 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.267e-05/0.5222, allocations: 358.4 kB / 0.5149 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.242e-05/0.5223, allocations: 95.58 kB / 0.515 GB, free: 10.05 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.5224, allocations: 211.7 kB / 0.5152 GB, free: 9.801 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.5226, allocations: 383.3 kB / 0.5156 GB, free: 9.402 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5226, allocations: 11.55 kB / 0.5156 GB, free: 9.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0004007/0.523, allocations: 440.5 kB / 0.516 GB, free: 8.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.523, allocations: 8 kB / 0.516 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.523, allocations: 4 kB / 0.516 GB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002089/0.5232, allocations: 97.31 kB / 0.5161 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007609/0.524, allocations: 256.2 kB / 0.5163 GB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/0.5262, allocations: 5.543 MB / 0.5218 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.5265, allocations: 19.31 kB / 0.5218 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.5265, allocations: 19.98 kB / 0.5218 GB, free: 2.934 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000147/0.5267, allocations: 143.3 kB / 0.5219 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.5267, allocations: 49.44 kB / 0.522 GB, free: 2.742 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.5282, allocations: 3.118 MB / 0.525 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008747/0.5291, allocations: 1.339 MB / 0.5263 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.5291, allocations: 1.875 kB / 0.5263 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009003/0.53, allocations: 1.635 MB / 0.5279 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.5318, allocations: 1.911 MB / 0.5298 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.5318, allocations: 0 / 0.5298 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000562/0.5323, allocations: 184.3 kB / 0.53 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.291e-05/0.5324, allocations: 71.33 kB / 0.53 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001294/0.5326, allocations: 43.64 kB / 0.5301 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.5326, allocations: 15.94 kB / 0.5301 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006997/0.5333, allocations: 1.758 MB / 0.5318 GB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.5333, allocations: 3.281 kB / 0.5318 GB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.5343, allocations: 1.426 MB / 0.5332 GB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.251e-05/0.5344, allocations: 19.94 kB / 0.5332 GB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.5345, allocations: 8 kB / 0.5332 GB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.5346, allocations: 44.36 kB / 0.5333 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.5346, allocations: 12 kB / 0.5333 GB, free: 7.457 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.459e-05/0.5347, allocations: 102.1 kB / 0.5334 GB, free: 7.363 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5347, allocations: 4.094 kB / 0.5334 GB, free: 7.359 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002771/0.5375, allocations: 1.243 MB / 0.5346 GB, free: 6.113 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 11 (volume.medium.sat.liq.phase,volume.medium.sat.vap.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 (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 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.004133/0.5416, allocations: 2.242 MB / 0.5368 GB, free: 4.074 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.5426, allocations: 0.9537 MB / 0.5377 GB, free: 3.145 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-05/0.5426, allocations: 11.47 kB / 0.5377 GB, free: 3.137 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004317/0.5431, allocations: 0.534 MB / 0.5383 GB, free: 2.605 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000982/0.5441, allocations: 459.5 kB / 0.5387 GB, free: 2.195 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007337/0.5514, allocations: 1.569 MB / 0.5402 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.5515, allocations: 206 kB / 0.5404 GB, free: 404 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000351/0.5519, allocations: 174.5 kB / 0.5406 GB, free: 232 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000446/0.5523, allocations: 272.9 kB / 0.5409 GB, free: 15.96 MB / 426.7 MB Notification: Performance of SimCode: time 1.694e-06/0.5523, allocations: 0 / 0.5409 GB, free: 15.96 MB / 426.7 MB Notification: Performance of Templates: time 0.1555/0.7079, allocations: 44.61 MB / 0.5844 GB, free: 118.9 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.2514795223250985]