Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.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.001525/0.001525, allocations: 80.25 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.001696/0.001696, allocations: 164.1 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.378/1.378, allocations: 177.1 MB / 202.8 MB, free: 9.164 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.04788/0.04788, allocations: 7.524 MB / 266.7 MB, free: 9.637 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.ButaneTestModel_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 392.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.031e-05, allocations: 2.281 kB / 392.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.2766/0.2766, allocations: 126.8 MB / 0.5069 GB, free: 4.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.09324/0.3699, allocations: 86.74 MB / 0.5916 GB, free: 13.53 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004699/0.3703, allocations: 7.938 kB / 0.5916 GB, free: 13.52 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002941/0.3733, allocations: 1.241 MB / 0.5928 GB, free: 12.28 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00341/0.3767, allocations: 1.613 MB / 0.5944 GB, free: 10.66 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06876/0.4455, allocations: 31.86 MB / 0.6255 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001869/0.4473, allocations: 1.437 MB / 0.6269 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.4475, allocations: 81.78 kB / 0.627 GB, free: 9.203 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.2068/0.6544, allocations: 10.42 MB / 0.6372 GB, free: 35.15 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005365/0.6549, allocations: 335.7 kB / 0.6375 GB, free: 35.15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.34e-05/0.655, allocations: 42.22 kB / 0.6375 GB, free: 35.15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03865/0.6936, allocations: 25.57 MB / 0.6625 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.6939, allocations: 128.5 kB / 0.6626 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004386/0.6943, allocations: 219.4 kB / 0.6629 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03237/0.7267, allocations: 15 MB / 0.6775 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.7267, allocations: 0 / 0.6775 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7267, allocations: 5.078 kB / 0.6775 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.7267, allocations: 2 kB / 0.6775 GB, free: 34.56 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.005451/0.7321, allocations: 2.677 MB / 0.6801 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.7322, allocations: 8.625 kB / 0.6801 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004947/0.7327, allocations: 85 kB / 0.6802 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.733, allocations: 275.4 kB / 0.6805 GB, free: 32.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.733, allocations: 32.22 kB / 0.6805 GB, free: 32.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.435e-05/0.7331, allocations: 34.55 kB / 0.6805 GB, free: 32.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.7341, allocations: 0.7368 MB / 0.6813 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.7341, allocations: 4 kB / 0.6813 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/0.7342, allocations: 20.69 kB / 0.6813 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.7342, allocations: 15.98 kB / 0.6813 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.7353, allocations: 0.5234 MB / 0.6818 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.737, allocations: 1.622 MB / 0.6834 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009003/0.7379, allocations: 467.7 kB / 0.6838 GB, free: 31.78 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004411/0.7384, allocations: 310.5 kB / 0.6841 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1087/0.847, allocations: 30.71 MB / 0.7141 GB, free: 17.76 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.8471, allocations: 40.97 kB / 0.7142 GB, free: 17.72 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=78): time 2.644e-06/0.8471, allocations: 0 / 0.7142 GB, free: 17.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=83): time 0.005709/0.8528, allocations: 2.346 MB / 0.7165 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.8528, allocations: 55.41 kB / 0.7165 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.853, allocations: 230.5 kB / 0.7167 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.853, allocations: 33.58 kB / 0.7168 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.8531, allocations: 199 kB / 0.717 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.8532, allocations: 278.4 kB / 0.7172 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.8533, allocations: 104 kB / 0.7173 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.778e-05/0.8534, allocations: 352.3 kB / 0.7177 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000437/0.8538, allocations: 285.9 kB / 0.7179 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004799/0.8543, allocations: 413.7 kB / 0.7183 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009428/0.8552, allocations: 0.737 MB / 0.719 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.8552, allocations: 4 kB / 0.719 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001365/0.8566, allocations: 0.8364 MB / 0.7199 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.8566, allocations: 10.03 kB / 0.7199 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.8566, allocations: 1.875 kB / 0.7199 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002715/0.8569, allocations: 80.09 kB / 0.7199 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/0.8574, allocations: 110.2 kB / 0.7201 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04925/0.9066, allocations: 14.46 MB / 0.7342 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004335/0.9071, allocations: 38.22 kB / 0.7342 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.9071, allocations: 15.94 kB / 0.7342 GB, free: 14.93 MB / 0.5137 GB 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 (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002951/0.9074, allocations: 200.3 kB / 0.7344 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.9075, allocations: 43.72 kB / 0.7345 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/0.9098, allocations: 1.743 MB / 0.7362 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.9098, allocations: 17.95 kB / 0.7362 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.9098, allocations: 0 / 0.7362 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00171/0.9115, allocations: 1.295 MB / 0.7374 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002429/0.9139, allocations: 1.646 MB / 0.739 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.9139, allocations: 0 / 0.739 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/0.9143, allocations: 86.38 kB / 0.7391 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003125/0.9146, allocations: 110.7 kB / 0.7392 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.9147, allocations: 15.73 kB / 0.7393 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/0.9163, allocations: 1.967 MB / 0.7412 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.9163, allocations: 4.031 kB / 0.7412 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/0.9186, allocations: 1.458 MB / 0.7426 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.016e-05/0.9187, allocations: 39.69 kB / 0.7426 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.129e-05/0.9188, allocations: 11.86 kB / 0.7427 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.9191, allocations: 27.8 kB / 0.7427 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.9192, allocations: 49.06 kB / 0.7427 GB, free: 8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.9192, allocations: 19.86 kB / 0.7427 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002149/0.9194, allocations: 196 kB / 0.7429 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.9194, allocations: 0 / 0.7429 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007692/0.9271, allocations: 3.04 MB / 0.7459 GB, free: 4.887 MB / 0.5137 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.T) * Number of discrete variables: 10 ($cse11.phase,$cse12.phase,$cse14.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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,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.01507/0.9422, allocations: 4.199 MB / 0.75 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002148/0.9444, allocations: 1.029 MB / 0.751 GB, free: 412 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.9444, allocations: 0 / 0.751 GB, free: 412 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008966/0.9453, allocations: 0.5325 MB / 0.7515 GB, free: 4 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/0.9472, allocations: 363.4 kB / 0.7519 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.949, allocations: 1.181 MB / 0.753 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.9493, allocations: 250.5 kB / 0.7533 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003567/0.9496, allocations: 133.2 kB / 0.7534 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.9497, allocations: 36.5 kB / 0.7534 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/0.9497, allocations: 0 / 0.7534 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of Templates: time 0.3043/1.254, allocations: 112.6 MB / 0.8633 GB, free: 314.3 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.043307363986969] Failed to read output from testmodel.py, exit status != 0: 1.262504380196333 1.273644121 0.544513513 Calling exit ...