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.001416/0.001416, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001712/0.001712, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.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.05307/0.05307, allocations: 9.136 MB / 321.6 MB, free: 10.24 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.002073/0.002073, allocations: 67.89 kB / 447 MB, free: 88 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1272, allocations: 54.94 MB / 0.4902 GB, free: 9.039 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel): time 0.4493/0.5765, allocations: 115.2 MB / 0.6027 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1341/0.7106, allocations: 98.64 MB / 0.699 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007529/0.7114, allocations: 11.88 kB / 0.699 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004342/0.7157, allocations: 1.226 MB / 0.7002 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004923/0.7206, allocations: 1.575 MB / 0.7018 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.4536/1.174, allocations: 31.94 MB / 0.733 GB, free: 22.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002062/1.176, allocations: 1.419 MB / 0.7343 GB, free: 22.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002578/1.177, allocations: 80.25 kB / 0.7344 GB, free: 22.11 MB / 0.545 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.02198/1.199, allocations: 11.88 MB / 0.746 GB, free: 21.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006013/1.199, allocations: 375.2 kB / 0.7464 GB, free: 21.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.19e-05/1.199, allocations: 43.75 kB / 0.7464 GB, free: 21.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0475/1.247, allocations: 26.18 MB / 0.772 GB, free: 21.76 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003331/1.247, allocations: 124.6 kB / 0.7721 GB, free: 21.76 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007247/1.248, allocations: 255.2 kB / 0.7724 GB, free: 21.76 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04444/1.292, allocations: 12.59 MB / 0.7847 GB, free: 19.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.292, allocations: 0 / 0.7847 GB, free: 19.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.323e-06/1.292, allocations: 0 / 0.7847 GB, free: 19.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.157e-06/1.292, allocations: 4 kB / 0.7847 GB, free: 19.43 MB / 0.545 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.008279/1.301, allocations: 2.588 MB / 0.7872 GB, free: 17.83 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.301, allocations: 9.062 kB / 0.7872 GB, free: 17.83 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000651/1.301, allocations: 87.23 kB / 0.7873 GB, free: 17.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/1.302, allocations: 288.7 kB / 0.7876 GB, free: 17.6 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/1.302, allocations: 31.12 kB / 0.7876 GB, free: 17.6 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/1.302, allocations: 30.94 kB / 0.7876 GB, free: 17.6 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/1.303, allocations: 0.7593 MB / 0.7884 GB, free: 17.22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/1.303, allocations: 3.094 kB / 0.7884 GB, free: 17.22 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/1.303, allocations: 19.88 kB / 0.7884 GB, free: 17.22 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/1.303, allocations: 16.7 kB / 0.7884 GB, free: 17.22 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/1.304, allocations: 0.5536 MB / 0.7889 GB, free: 17.12 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/1.306, allocations: 1.652 MB / 0.7905 GB, free: 16.17 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009817/1.307, allocations: 479.3 kB / 0.791 GB, free: 16.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004604/1.308, allocations: 313.8 kB / 0.7913 GB, free: 16.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2013/1.509, allocations: 44.04 MB / 0.8343 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.055e-05/1.509, allocations: 41.47 kB / 0.8343 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 6.502e-06/1.509, allocations: 0 / 0.8343 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.006865/1.516, allocations: 2.233 MB / 0.8365 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/1.516, allocations: 63.39 kB / 0.8366 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/1.516, allocations: 241 kB / 0.8368 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.612e-05/1.516, allocations: 29.58 kB / 0.8368 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/1.517, allocations: 202.9 kB / 0.837 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/1.517, allocations: 277.9 kB / 0.8373 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/1.517, allocations: 99.44 kB / 0.8374 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001781/1.517, allocations: 350.4 kB / 0.8377 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000538/1.518, allocations: 289 kB / 0.838 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006383/1.518, allocations: 403.6 kB / 0.8384 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/1.52, allocations: 0.7152 MB / 0.8391 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/1.52, allocations: 0 / 0.8391 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001583/1.521, allocations: 0.8168 MB / 0.8399 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/1.521, allocations: 6.844 kB / 0.8399 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/1.521, allocations: 4 kB / 0.8399 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002784/1.521, allocations: 68.17 kB / 0.84 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007875/1.522, allocations: 137.6 kB / 0.8401 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07901/1.601, allocations: 22.74 MB / 0.8623 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000509/1.602, allocations: 31.72 kB / 0.8623 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.299e-05/1.602, allocations: 23.86 kB / 0.8624 GB, free: 15.49 MB / 0.6075 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.0004057/1.602, allocations: 185.7 kB / 0.8625 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/1.602, allocations: 43.72 kB / 0.8626 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/1.605, allocations: 1.746 MB / 0.8643 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/1.605, allocations: 15.44 kB / 0.8643 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.605, allocations: 0 / 0.8643 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001795/1.607, allocations: 1.321 MB / 0.8656 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/1.609, allocations: 1.644 MB / 0.8672 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/1.609, allocations: 4 kB / 0.8672 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003533/1.61, allocations: 79.16 kB / 0.8673 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003746/1.61, allocations: 160.7 kB / 0.8674 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/1.61, allocations: 7.812 kB / 0.8674 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/1.612, allocations: 2.451 MB / 0.8698 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/1.612, allocations: 7.922 kB / 0.8698 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/1.615, allocations: 1.41 MB / 0.8712 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/1.615, allocations: 43.67 kB / 0.8713 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.204e-05/1.615, allocations: 16.84 kB / 0.8713 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/1.615, allocations: 23.59 kB / 0.8713 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/1.615, allocations: 38.98 kB / 0.8713 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/1.615, allocations: 23.73 kB / 0.8714 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002456/1.616, allocations: 197.4 kB / 0.8715 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/1.616, allocations: 0 / 0.8715 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01564/1.631, allocations: 3.574 MB / 0.875 GB, free: 4.406 MB / 0.6075 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.02473/1.656, allocations: 4.842 MB / 0.8798 GB, free: 188 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003041/1.659, allocations: 1.02 MB / 0.8808 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.659, allocations: 0 / 0.8808 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/1.66, allocations: 0.4909 MB / 0.8812 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/1.662, allocations: 367.5 kB / 0.8816 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/1.665, allocations: 1.215 MB / 0.8828 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/1.665, allocations: 254.1 kB / 0.883 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005396/1.666, allocations: 131.1 kB / 0.8831 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/1.666, allocations: 42.94 kB / 0.8832 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of SimCode: time 1.172e-06/1.666, allocations: 0 / 0.8832 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of Templates: time 0.4307/2.096, allocations: 127.7 MB / 1.008 GB, free: 325.5 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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 18.452777568250895] Failed to read output from testmodel.py, exit status != 0: 2.1042455472052097 2.115405174 0.8204463040000001 Calling exit ...