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.001509/0.001509, allocations: 79.7 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001652/0.001652, allocations: 167.3 kB / 22.46 MB, free: 5.359 MB / 14.72 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.373/1.373, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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.04884/0.04884, allocations: 7.523 MB / 266.7 MB, free: 9.66 MB / 254.1 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.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.313e-06/1.313e-06, allocations: 0 / 392.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.818e-05, allocations: 2.281 kB / 392.3 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.2642/0.2642, allocations: 114.2 MB / 0.4946 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1065/0.3707, allocations: 97.63 MB / 0.59 GB, free: 15.27 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004536/0.3711, allocations: 11.94 kB / 0.59 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002747/0.3739, allocations: 1.151 MB / 0.5911 GB, free: 14.1 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003149/0.377, allocations: 1.504 MB / 0.5926 GB, free: 12.59 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06807/0.4451, allocations: 31.02 MB / 0.6229 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001762/0.4468, allocations: 1.358 MB / 0.6242 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.447, allocations: 85.78 kB / 0.6243 GB, free: 12.05 MB / 0.4981 GB [/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.01551/0.4625, allocations: 9.101 MB / 0.6332 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005268/0.4631, allocations: 327 kB / 0.6335 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.761e-05/0.4632, allocations: 48 kB / 0.6335 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2503/0.7134, allocations: 24.14 MB / 0.6571 GB, free: 36.92 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.7137, allocations: 130.9 kB / 0.6572 GB, free: 36.92 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004311/0.7141, allocations: 222.8 kB / 0.6574 GB, free: 36.92 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03492/0.749, allocations: 14.51 MB / 0.6716 GB, free: 36.63 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.749, allocations: 0.5469 kB / 0.6716 GB, free: 36.63 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.749, allocations: 1.531 kB / 0.6716 GB, free: 36.63 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.749, allocations: 0 / 0.6716 GB, free: 36.63 MB / 0.4981 GB 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.008265/0.7573, allocations: 2.575 MB / 0.6741 GB, free: 35.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.7573, allocations: 14.28 kB / 0.6741 GB, free: 35.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006568/0.758, allocations: 89.48 kB / 0.6742 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.7584, allocations: 282 kB / 0.6745 GB, free: 35.03 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.7584, allocations: 29.59 kB / 0.6745 GB, free: 35.03 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.381e-05/0.7585, allocations: 33.89 kB / 0.6745 GB, free: 35.03 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.7597, allocations: 0.7638 MB / 0.6753 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.7597, allocations: 1.594 kB / 0.6753 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.7598, allocations: 16.83 kB / 0.6753 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.7598, allocations: 16 kB / 0.6753 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.761, allocations: 0.557 MB / 0.6759 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.7629, allocations: 1.629 MB / 0.6775 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.7639, allocations: 492.7 kB / 0.6779 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004586/0.7644, allocations: 310.2 kB / 0.6782 GB, free: 33.94 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1914/0.9558, allocations: 44.04 MB / 0.7212 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.9558, allocations: 35.41 kB / 0.7213 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=78): time 3.166e-06/0.9558, allocations: 4 kB / 0.7213 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.00545/0.9612, allocations: 2.237 MB / 0.7235 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.9613, allocations: 57.28 kB / 0.7235 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.9615, allocations: 233.9 kB / 0.7237 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.9615, allocations: 36.14 kB / 0.7238 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.9616, allocations: 195.7 kB / 0.724 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.9617, allocations: 272.2 kB / 0.7242 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.9618, allocations: 100.4 kB / 0.7243 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.859e-05/0.9618, allocations: 346.2 kB / 0.7246 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004433/0.9623, allocations: 280.3 kB / 0.7249 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/0.9628, allocations: 418.1 kB / 0.7253 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009125/0.9637, allocations: 0.7294 MB / 0.726 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.9637, allocations: 2.062 kB / 0.726 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001266/0.9649, allocations: 0.8174 MB / 0.7268 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.965, allocations: 10.06 kB / 0.7268 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.965, allocations: 4 kB / 0.7268 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/0.9652, allocations: 68.48 kB / 0.7269 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005654/0.9658, allocations: 127.6 kB / 0.727 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07225/1.038, allocations: 19.64 MB / 0.7462 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004345/1.038, allocations: 35.75 kB / 0.7462 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/1.038, allocations: 15.88 kB / 0.7462 GB, free: 3.266 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 41 * 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.0002931/1.039, allocations: 190 kB / 0.7464 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/1.039, allocations: 47.66 kB / 0.7465 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/1.041, allocations: 1.614 MB / 0.7481 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/1.041, allocations: 7.812 kB / 0.7481 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.041, allocations: 6.297 kB / 0.7481 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001563/1.043, allocations: 1.205 MB / 0.7492 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/1.045, allocations: 1.526 MB / 0.7507 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.045, allocations: 0 / 0.7507 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/1.045, allocations: 87.53 kB / 0.7508 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002859/1.046, allocations: 108.1 kB / 0.7509 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/1.046, allocations: 11.61 kB / 0.7509 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/1.047, allocations: 1.88 MB / 0.7528 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.047, allocations: 0 / 0.7528 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/1.049, allocations: 1.275 MB / 0.754 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.991e-05/1.049, allocations: 35.69 kB / 0.754 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.158e-05/1.049, allocations: 15.52 kB / 0.7541 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/1.05, allocations: 23.72 kB / 0.7541 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/1.05, allocations: 47.42 kB / 0.7541 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/1.05, allocations: 15.88 kB / 0.7541 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002254/1.05, allocations: 220.8 kB / 0.7544 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.05, allocations: 3.719 kB / 0.7544 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008731/1.059, allocations: 3.574 MB / 0.7578 GB, free: 9.082 MB / 0.5294 GB 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: 9 ($cse8.phase,$cse9.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 (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01758/1.076, allocations: 5.039 MB / 0.7628 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002161/1.078, allocations: 0.9768 MB / 0.7637 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/1.078, allocations: 0 / 0.7637 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009142/1.079, allocations: 484.5 kB / 0.7642 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/1.081, allocations: 370.7 kB / 0.7645 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/1.083, allocations: 1.113 MB / 0.7656 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/1.083, allocations: 250.2 kB / 0.7659 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00036/1.084, allocations: 142.3 kB / 0.766 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.564e-05/1.084, allocations: 36.5 kB / 0.766 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/1.084, allocations: 0 / 0.766 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of Templates: time 0.3047/1.388, allocations: 126.5 MB / 0.8896 GB, free: 273.8 MB / 0.6075 GB " [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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 10.14581661298871] Failed to read output from testmodel.py, exit status != 0: 1.396556083112955 1.404951848 0.653763597 Calling exit ...