Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.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.00127/0.00127, allocations: 78.41 kB / 19.18 MB, free: 2.531 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.0014/0.0014, allocations: 171.6 kB / 22.46 MB, free: 5.363 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.358/1.358, allocations: 177.2 MB / 202.8 MB, free: 9.176 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.04768/0.04768, allocations: 7.514 MB / 266.7 MB, free: 9.652 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_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 392.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.301e-05, allocations: 6.219 kB / 392.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.2746/0.2746, allocations: 126.8 MB / 0.5069 GB, free: 4.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.09229/0.3669, allocations: 86.74 MB / 0.5916 GB, free: 13.53 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000452/0.3674, allocations: 11.94 kB / 0.5916 GB, free: 13.52 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002901/0.3703, allocations: 1.241 MB / 0.5929 GB, free: 12.27 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003362/0.3737, allocations: 1.609 MB / 0.5944 GB, free: 10.66 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06753/0.4412, allocations: 31.86 MB / 0.6255 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001815/0.443, allocations: 1.44 MB / 0.6269 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.4432, 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.2139/0.6571, allocations: 10.41 MB / 0.6372 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005454/0.6576, allocations: 335.5 kB / 0.6375 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.849e-05/0.6577, allocations: 45.66 kB / 0.6376 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03488/0.6926, allocations: 21.76 MB / 0.6588 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002601/0.6928, allocations: 134.6 kB / 0.6589 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005066/0.6933, allocations: 218 kB / 0.6591 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02906/0.7224, allocations: 12.73 MB / 0.6716 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7224, allocations: 0 / 0.6716 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.7224, allocations: 0 / 0.6716 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.7224, allocations: 0 / 0.6716 GB, free: 34.93 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.005055/0.7275, allocations: 2.289 MB / 0.6738 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.7275, allocations: 9.875 kB / 0.6738 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005403/0.7281, allocations: 86.86 kB / 0.6739 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.7284, allocations: 270.8 kB / 0.6742 GB, free: 33.47 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.7285, allocations: 29.62 kB / 0.6742 GB, free: 33.47 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.7285, allocations: 40.23 kB / 0.6742 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.7296, allocations: 0.7437 MB / 0.675 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.7296, allocations: 4.547 kB / 0.675 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/0.7297, allocations: 18.56 kB / 0.675 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.7297, allocations: 13.86 kB / 0.675 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.7308, allocations: 0.5356 MB / 0.6755 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.7325, allocations: 1.627 MB / 0.6771 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009439/0.7334, allocations: 482.8 kB / 0.6776 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004518/0.7339, allocations: 312.1 kB / 0.6779 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1472/0.8811, allocations: 37.45 MB / 0.7144 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.8811, allocations: 38.66 kB / 0.7145 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=78): time 3.196e-06/0.8811, allocations: 0 / 0.7145 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.005447/0.8866, allocations: 2.244 MB / 0.7167 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.8866, allocations: 55.41 kB / 0.7167 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.8868, allocations: 234.7 kB / 0.7169 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.8868, allocations: 33.39 kB / 0.717 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.175e-05/0.8869, allocations: 198.5 kB / 0.7172 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.887, allocations: 269.4 kB / 0.7174 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.8871, allocations: 100 kB / 0.7175 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.899e-05/0.8872, allocations: 348.5 kB / 0.7178 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000458/0.8876, allocations: 287 kB / 0.7181 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004899/0.8881, allocations: 407.8 kB / 0.7185 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009342/0.889, allocations: 0.7081 MB / 0.7192 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.889, allocations: 0 / 0.7192 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001327/0.8904, allocations: 0.8323 MB / 0.72 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.8904, allocations: 8 kB / 0.72 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.8904, allocations: 3.375 kB / 0.72 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000491/0.8909, allocations: 109.8 kB / 0.7201 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/0.8914, allocations: 106.8 kB / 0.7202 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07236/0.9637, allocations: 18.96 MB / 0.7387 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004594/0.9642, allocations: 29.88 kB / 0.7388 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-05/0.9643, allocations: 19.88 kB / 0.7388 GB, free: 9.246 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 (47): * Single equations (assignments): 40 * 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, 2} * 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.0003359/0.9646, allocations: 188.3 kB / 0.739 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.9647, allocations: 51.59 kB / 0.739 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002335/0.9671, allocations: 1.724 MB / 0.7407 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/0.9671, allocations: 16.83 kB / 0.7407 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.9671, allocations: 0 / 0.7407 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00177/0.9689, allocations: 1.296 MB / 0.742 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/0.9714, allocations: 1.621 MB / 0.7436 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.9714, allocations: 8.047 kB / 0.7436 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003464/0.9717, allocations: 74.7 kB / 0.7436 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003744/0.9721, allocations: 197 kB / 0.7438 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.9722, allocations: 7.875 kB / 0.7438 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.974, allocations: 2.459 MB / 0.7462 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.974, allocations: 0 / 0.7462 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00228/0.9763, allocations: 1.482 MB / 0.7477 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.57e-05/0.9764, allocations: 39.69 kB / 0.7477 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.431e-05/0.9764, allocations: 7.812 kB / 0.7477 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.9768, allocations: 31.47 kB / 0.7478 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.9769, allocations: 51.73 kB / 0.7478 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/0.9769, allocations: 15.86 kB / 0.7478 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002099/0.9771, allocations: 198.6 kB / 0.748 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.9771, allocations: 0 / 0.748 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008528/0.9857, allocations: 3.275 MB / 0.7512 GB, free: 14.39 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: 10 ($cse7.phase,$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 (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), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01791/1.004, allocations: 4.542 MB / 0.7557 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00217/1.006, allocations: 0.9696 MB / 0.7566 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.006, allocations: 0 / 0.7566 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009439/1.007, allocations: 0.4951 MB / 0.7571 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/1.009, allocations: 375.1 kB / 0.7574 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/1.011, allocations: 1.141 MB / 0.7586 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/1.011, allocations: 250.2 kB / 0.7588 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003488/1.011, allocations: 107.2 kB / 0.7589 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.834e-05/1.012, allocations: 36.5 kB / 0.7589 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/1.012, allocations: 0 / 0.7589 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of Templates: time 0.3094/1.321, allocations: 122.6 MB / 0.8786 GB, free: 311.9 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.491827812045813] Failed to read output from testmodel.py, exit status != 0: 1.329958613961935 1.338330971 0.6136713979999999 Calling exit ...