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.001632/0.001632, allocations: 79.19 kB / 19.76 MB, free: 2.031 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.001761/0.001761, allocations: 156.5 kB / 23.01 MB, free: 4.941 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.52/1.52, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] 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.05066/0.05066, allocations: 7.542 MB / 267.3 MB, free: 9.582 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.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 0.002329/0.002329, allocations: 68.14 kB / 392.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1271, allocations: 54.92 MB / 447.7 MB, free: 4.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel): time 0.3387/0.4658, allocations: 115.2 MB / 0.5497 GB, free: 4.254 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1189/0.5847, allocations: 98.63 MB / 0.646 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000635/0.5854, allocations: 11.94 kB / 0.646 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003424/0.5888, allocations: 1.233 MB / 0.6472 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004358/0.5931, allocations: 1.568 MB / 0.6488 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.08412/0.6773, allocations: 31.96 MB / 0.68 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002192/0.6795, allocations: 1.418 MB / 0.6814 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.6797, allocations: 85.91 kB / 0.6814 GB, free: 12.43 MB / 0.5606 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.02216/0.7019, allocations: 11.95 MB / 0.6931 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006976/0.7026, allocations: 382.5 kB / 0.6935 GB, free: 80 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.159e-05/0.7026, allocations: 40 kB / 0.6935 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3169/1.02, allocations: 26.16 MB / 0.7191 GB, free: 39.87 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002639/1.02, allocations: 123.3 kB / 0.7192 GB, free: 39.87 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005408/1.02, allocations: 250.2 kB / 0.7194 GB, free: 39.87 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04909/1.069, allocations: 12.6 MB / 0.7317 GB, free: 39.44 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.069, allocations: 0 / 0.7317 GB, free: 39.44 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.993e-06/1.069, allocations: 0 / 0.7317 GB, free: 39.44 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.266e-05/1.069, allocations: 0 / 0.7317 GB, free: 39.44 MB / 0.5606 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.009957/1.079, allocations: 2.589 MB / 0.7343 GB, free: 38.03 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/1.079, allocations: 12.06 kB / 0.7343 GB, free: 38.03 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006459/1.08, allocations: 93.81 kB / 0.7344 GB, free: 38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004895/1.081, allocations: 278.1 kB / 0.7346 GB, free: 37.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/1.081, allocations: 30.16 kB / 0.7347 GB, free: 37.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.564e-05/1.081, allocations: 33.48 kB / 0.7347 GB, free: 37.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/1.082, allocations: 0.7646 MB / 0.7354 GB, free: 37.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/1.082, allocations: 0 / 0.7354 GB, free: 37.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.499e-05/1.082, allocations: 14.53 kB / 0.7354 GB, free: 37.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.696e-05/1.082, allocations: 16.02 kB / 0.7355 GB, free: 37.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/1.083, allocations: 0.5583 MB / 0.736 GB, free: 37.54 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/1.086, allocations: 1.652 MB / 0.7376 GB, free: 36.78 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/1.087, allocations: 468.5 kB / 0.7381 GB, free: 36.75 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000493/1.087, allocations: 322.4 kB / 0.7384 GB, free: 36.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1936/1.281, allocations: 44.03 MB / 0.7814 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/1.281, allocations: 43.47 kB / 0.7814 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=77): time 3.306e-06/1.281, allocations: 0 / 0.7814 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=81): time 0.005691/1.287, allocations: 2.248 MB / 0.7836 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/1.287, allocations: 55.41 kB / 0.7837 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/1.287, allocations: 231.8 kB / 0.7839 GB, free: 14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/1.287, allocations: 31.89 kB / 0.7839 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.857e-05/1.287, allocations: 203.7 kB / 0.7841 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/1.287, allocations: 276.4 kB / 0.7844 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/1.287, allocations: 102.4 kB / 0.7845 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.23e-05/1.287, allocations: 348.5 kB / 0.7848 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/1.288, allocations: 287.4 kB / 0.7851 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004883/1.288, allocations: 406.7 kB / 0.7855 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009553/1.289, allocations: 0.7168 MB / 0.7862 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.289, allocations: 0 / 0.7862 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001271/1.29, allocations: 0.816 MB / 0.787 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/1.29, allocations: 4 kB / 0.787 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/1.29, allocations: 4.375 kB / 0.787 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002361/1.291, allocations: 66.47 kB / 0.787 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006705/1.291, allocations: 140.9 kB / 0.7872 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07402/1.365, allocations: 22.75 MB / 0.8094 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005016/1.366, allocations: 23.23 kB / 0.8094 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-05/1.366, allocations: 23.92 kB / 0.8094 GB, free: 5.32 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 40 * 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.0003771/1.366, allocations: 186.6 kB / 0.8096 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/1.366, allocations: 45.36 kB / 0.8096 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002458/1.369, allocations: 1.742 MB / 0.8113 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.17e-05/1.369, allocations: 17.38 kB / 0.8114 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.369, allocations: 3.938 kB / 0.8114 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001779/1.371, allocations: 1.316 MB / 0.8127 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002531/1.373, allocations: 1.648 MB / 0.8143 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/1.373, allocations: 0 / 0.8143 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/1.374, allocations: 71.05 kB / 0.8143 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003967/1.374, allocations: 171.1 kB / 0.8145 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/1.374, allocations: 15.69 kB / 0.8145 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/1.376, allocations: 2.449 MB / 0.8169 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/1.376, allocations: 2.875 kB / 0.8169 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/1.378, allocations: 1.413 MB / 0.8183 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/1.379, allocations: 39.69 kB / 0.8183 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.957e-05/1.379, allocations: 11.5 kB / 0.8183 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/1.379, allocations: 23.91 kB / 0.8184 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/1.379, allocations: 43.36 kB / 0.8184 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/1.379, allocations: 19.55 kB / 0.8184 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002465/1.379, allocations: 201.2 kB / 0.8186 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.379, allocations: 7.938 kB / 0.8186 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01389/1.393, allocations: 3.573 MB / 0.8221 GB, free: 10.23 MB / 0.5919 GB 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: 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), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02517/1.419, allocations: 4.837 MB / 0.8268 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002846/1.421, allocations: 1.017 MB / 0.8278 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.421, allocations: 0 / 0.8278 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009335/1.422, allocations: 497.9 kB / 0.8283 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/1.424, allocations: 381.8 kB / 0.8287 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/1.427, allocations: 1.215 MB / 0.8298 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/1.427, allocations: 246.8 kB / 0.8301 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004663/1.427, allocations: 130.1 kB / 0.8302 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/1.428, allocations: 44.31 kB / 0.8302 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of SimCode: time 7.31e-07/1.428, allocations: 0 / 0.8302 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of Templates: time 0.4401/1.868, allocations: 126.7 MB / 0.954 GB, free: 319.4 MB / 0.7012 GB " [Timeout remaining time 658] 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=480 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 18.02888958901167] Failed to read output from testmodel.py, exit status != 0: 1.8778174209874123 1.890041269 0.817959319 Calling exit ...