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.001525/0.001525, allocations: 78.88 kB / 19.18 MB, free: 2.523 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.0017/0.0017, allocations: 166.4 kB / 22.46 MB, free: 5.371 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.372/1.372, 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.04794/0.04794, allocations: 7.509 MB / 266.7 MB, free: 9.641 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 1.222e-06/1.222e-06, allocations: 0 / 392.3 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.097e-05, allocations: 2.281 kB / 392.3 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel): time 0.2727/0.2727, allocations: 115 MB / 0.4954 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1091/0.3818, allocations: 98.63 MB / 0.5917 GB, free: 13.42 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004611/0.3823, allocations: 7.938 kB / 0.5917 GB, free: 13.41 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002835/0.3851, allocations: 1.241 MB / 0.5929 GB, free: 12.16 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003274/0.3884, allocations: 1.609 MB / 0.5945 GB, free: 10.55 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06927/0.4576, allocations: 32.47 MB / 0.6262 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00193/0.4596, allocations: 1.436 MB / 0.6276 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.4598, allocations: 85.77 kB / 0.6277 GB, free: 8.496 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.2088/0.6685, allocations: 12.18 MB / 0.6396 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008362/0.6694, allocations: 337.9 kB / 0.6399 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.6695, allocations: 42.19 kB / 0.6399 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04091/0.7104, allocations: 26.37 MB / 0.6657 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.7106, allocations: 129.6 kB / 0.6658 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004892/0.7111, allocations: 219.6 kB / 0.666 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02961/0.7407, allocations: 14.76 MB / 0.6804 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7407, allocations: 1.266 kB / 0.6804 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7407, allocations: 0 / 0.6804 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.547e-05/0.7408, allocations: 0 / 0.6804 GB, free: 35.1 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.005535/0.7463, allocations: 2.583 MB / 0.683 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.7463, allocations: 11.16 kB / 0.683 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006199/0.7469, allocations: 87.5 kB / 0.683 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.7473, allocations: 282.9 kB / 0.6833 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.7474, allocations: 28.91 kB / 0.6833 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/0.7474, allocations: 37.73 kB / 0.6834 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.7487, allocations: 0.7537 MB / 0.6841 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.7487, allocations: 3.516 kB / 0.6841 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.155e-05/0.7487, allocations: 16.59 kB / 0.6841 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.7487, allocations: 26.2 kB / 0.6842 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.75, allocations: 0.5478 MB / 0.6847 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.7518, allocations: 1.652 MB / 0.6863 GB, free: 32.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009472/0.7528, allocations: 474.9 kB / 0.6868 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004593/0.7532, allocations: 316.3 kB / 0.6871 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1878/0.941, allocations: 44.03 MB / 0.7301 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.941, allocations: 40.81 kB / 0.7301 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=77): time 2.715e-06/0.941, allocations: 4 kB / 0.7301 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of matching and sorting (n=81): time 0.005271/0.9463, allocations: 2.229 MB / 0.7323 GB, free: 324 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.936e-05/0.9463, allocations: 57.28 kB / 0.7323 GB, free: 256 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.9465, allocations: 243.2 kB / 0.7326 GB, free: 48 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.9465, allocations: 33.64 kB / 0.7326 GB, free: 12 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.9467, allocations: 196 kB / 0.7328 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.9469, allocations: 274.1 kB / 0.733 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.947, allocations: 100.2 kB / 0.7331 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.9472, allocations: 354 kB / 0.7335 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005102/0.9477, allocations: 284.3 kB / 0.7337 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005963/0.9483, allocations: 406.8 kB / 0.7341 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.9494, allocations: 0.7182 MB / 0.7348 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9494, allocations: 0 / 0.7348 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001474/0.9509, allocations: 0.8169 MB / 0.7356 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.9509, allocations: 10.06 kB / 0.7356 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.9509, allocations: 0.875 kB / 0.7356 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002405/0.9512, allocations: 57.25 kB / 0.7357 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000731/0.9519, allocations: 152.3 kB / 0.7358 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07837/1.03, allocations: 22.73 MB / 0.758 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004221/1.031, allocations: 35.88 kB / 0.7581 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.111e-05/1.031, allocations: 19.62 kB / 0.7581 GB, free: 7.34 MB / 0.5294 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.0002932/1.031, allocations: 193.6 kB / 0.7583 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/1.031, allocations: 35.77 kB / 0.7583 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/1.033, allocations: 1.758 MB / 0.76 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/1.033, allocations: 11.89 kB / 0.76 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/1.033, allocations: 0 / 0.76 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001692/1.035, allocations: 1.318 MB / 0.7613 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/1.037, allocations: 1.647 MB / 0.7629 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.037, allocations: 4 kB / 0.7629 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003508/1.038, allocations: 79.02 kB / 0.763 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003467/1.038, allocations: 164.3 kB / 0.7632 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/1.038, allocations: 15.73 kB / 0.7632 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/1.04, allocations: 2.441 MB / 0.7656 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.04, allocations: 3.281 kB / 0.7656 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/1.042, allocations: 1.411 MB / 0.767 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/1.043, allocations: 42.25 kB / 0.767 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/1.043, allocations: 11.62 kB / 0.767 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/1.043, allocations: 27.8 kB / 0.767 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/1.043, allocations: 47.47 kB / 0.7671 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/1.043, allocations: 11.81 kB / 0.7671 GB, free: 15.88 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002131/1.043, allocations: 208.2 kB / 0.7673 GB, free: 15.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/1.043, allocations: 0 / 0.7673 GB, free: 15.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009442/1.053, allocations: 3.566 MB / 0.7708 GB, free: 12.25 MB / 0.545 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.0185/1.071, allocations: 5.233 MB / 0.7759 GB, free: 7.637 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002382/1.074, allocations: 1.019 MB / 0.7769 GB, free: 6.836 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.074, allocations: 0 / 0.7769 GB, free: 6.836 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008108/1.074, allocations: 498.5 kB / 0.7773 GB, free: 6.477 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/1.076, allocations: 370.2 kB / 0.7777 GB, free: 6.148 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/1.078, allocations: 1.131 MB / 0.7788 GB, free: 5.184 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/1.078, allocations: 248.2 kB / 0.779 GB, free: 4.918 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003228/1.079, allocations: 146.7 kB / 0.7792 GB, free: 4.781 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.958e-05/1.079, allocations: 38.88 kB / 0.7792 GB, free: 4.746 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/1.079, allocations: 0 / 0.7792 GB, free: 4.746 MB / 0.545 GB Notification: Performance of Templates: time 0.3043/1.383, allocations: 127.2 MB / 0.9034 GB, free: 262.1 MB / 0.6075 GB " [Timeout remaining time 659] 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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.98345934972167] Failed to read output from testmodel.py, exit status != 0: 1.3909799009561539 1.39928589 0.656361309 Calling exit ...