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.001694/0.001694, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002428/0.002428, allocations: 216.7 kB / 22.26 MB, free: 5.078 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 8.047 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.05017/0.05017, allocations: 9.128 MB / 321.6 MB, free: 10.57 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.002021/0.002021, allocations: 71.89 kB / 447.1 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1173, allocations: 54.93 MB / 0.4903 GB, free: 9.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel): time 0.3589/0.4761, allocations: 129.5 MB / 0.6167 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.1246/0.6007, allocations: 111.4 MB / 0.7256 GB, free: 8 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005943/0.6013, allocations: 7.938 kB / 0.7256 GB, free: 0 / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.2926/0.8939, allocations: 1.545 MB / 0.7271 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003571/0.8975, allocations: 1.826 MB / 0.7289 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0639/0.9614, allocations: 32.15 MB / 0.7603 GB, free: 132 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001698/0.9631, allocations: 1.424 MB / 0.7616 GB, free: 132 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.9633, allocations: 84.66 kB / 0.7617 GB, free: 116 kB / 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.01643/0.9797, allocations: 12.04 MB / 0.7735 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005917/0.9803, allocations: 399.2 kB / 0.7739 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.989e-05/0.9803, allocations: 42.95 kB / 0.7739 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06239/1.043, allocations: 38.49 MB / 0.8115 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002676/1.043, allocations: 126.2 kB / 0.8116 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006184/1.044, allocations: 314.4 kB / 0.8119 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.04315/1.087, allocations: 14.56 MB / 0.8261 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.087, allocations: 0 / 0.8261 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/1.087, allocations: 0 / 0.8261 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.004e-05/1.087, allocations: 0 / 0.8261 GB, free: 2.465 MB / 0.5762 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.006759/1.094, allocations: 2.611 MB / 0.8287 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/1.094, allocations: 12.03 kB / 0.8287 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006737/1.094, allocations: 83.64 kB / 0.8288 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004993/1.095, allocations: 287.5 kB / 0.8291 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/1.095, allocations: 23.66 kB / 0.8291 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/1.095, allocations: 43.02 kB / 0.8291 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/1.096, allocations: 0.6044 MB / 0.8297 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/1.096, allocations: 0 / 0.8297 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.378e-05/1.096, allocations: 21.47 kB / 0.8297 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/1.096, allocations: 15.91 kB / 0.8297 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/1.098, allocations: 0.5638 MB / 0.8303 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002936/1.101, allocations: 2.448 MB / 0.8327 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/1.102, allocations: 463.9 kB / 0.8331 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005579/1.102, allocations: 322 kB / 0.8334 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2177/1.32, allocations: 43.91 MB / 0.8763 GB, free: 36 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.343e-05/1.32, allocations: 43.72 kB / 0.8764 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=77): time 3.246e-06/1.32, allocations: 0 / 0.8764 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=81): time 0.006702/1.327, allocations: 2.248 MB / 0.8786 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/1.327, allocations: 55.41 kB / 0.8786 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/1.327, allocations: 261.8 kB / 0.8789 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.734e-05/1.327, allocations: 33.7 kB / 0.8789 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/1.328, allocations: 191.3 kB / 0.8791 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003004/1.328, allocations: 278 kB / 0.8793 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/1.328, allocations: 98.06 kB / 0.8794 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001818/1.328, allocations: 359.7 kB / 0.8798 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005837/1.329, allocations: 289.3 kB / 0.88 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006448/1.329, allocations: 403.6 kB / 0.8804 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/1.331, allocations: 0.7133 MB / 0.8811 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.331, allocations: 0 / 0.8811 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001665/1.332, allocations: 0.8193 MB / 0.8819 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.332, allocations: 4 kB / 0.8819 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/1.332, allocations: 4 kB / 0.8819 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002781/1.333, allocations: 61.67 kB / 0.882 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007941/1.333, allocations: 146.6 kB / 0.8821 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07777/1.411, allocations: 22.79 MB / 0.9044 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004353/1.412, allocations: 27.92 kB / 0.9044 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/1.412, allocations: 19.98 kB / 0.9044 GB, free: 2.477 MB / 0.6544 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.0003356/1.412, allocations: 190 kB / 0.9046 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/1.412, allocations: 47.66 kB / 0.9047 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/1.415, allocations: 1.746 MB / 0.9064 GB, free: 432 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.714e-05/1.415, allocations: 22.58 kB / 0.9064 GB, free: 412 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.415, allocations: 0 / 0.9064 GB, free: 412 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001832/1.416, allocations: 1.32 MB / 0.9077 GB, free: 14.98 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/1.419, allocations: 1.765 MB / 0.9094 GB, free: 13.17 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/1.419, allocations: 0 / 0.9094 GB, free: 13.17 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/1.42, allocations: 72.64 kB / 0.9095 GB, free: 13.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003731/1.42, allocations: 173.5 kB / 0.9096 GB, free: 12.93 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/1.42, allocations: 11.94 kB / 0.9096 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/1.422, allocations: 2.468 MB / 0.9121 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.422, allocations: 0 / 0.9121 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/1.424, allocations: 1.421 MB / 0.9134 GB, free: 8.836 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/1.424, allocations: 55.56 kB / 0.9135 GB, free: 8.781 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.677e-05/1.424, allocations: 4 kB / 0.9135 GB, free: 8.777 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003222/1.425, allocations: 27.97 kB / 0.9135 GB, free: 8.75 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/1.425, allocations: 43.98 kB / 0.9136 GB, free: 8.707 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/1.425, allocations: 15.98 kB / 0.9136 GB, free: 8.691 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002484/1.425, allocations: 223.1 kB / 0.9138 GB, free: 8.477 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/1.425, allocations: 0 / 0.9138 GB, free: 8.477 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009297/1.434, allocations: 3.572 MB / 0.9173 GB, free: 4.895 MB / 0.67 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.01867/1.453, allocations: 4.847 MB / 0.922 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002644/1.456, allocations: 1.011 MB / 0.923 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.456, allocations: 4 kB / 0.923 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009306/1.457, allocations: 499.3 kB / 0.9235 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/1.459, allocations: 395.8 kB / 0.9239 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/1.461, allocations: 1.216 MB / 0.925 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/1.461, allocations: 0.8565 MB / 0.9259 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004063/1.462, allocations: 137.2 kB / 0.926 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/1.462, allocations: 39.44 kB / 0.9261 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of SimCode: time 5.41e-07/1.462, allocations: 0 / 0.9261 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of Templates: time 0.3735/1.835, allocations: 127.5 MB / 1.051 GB, free: 330 MB / 0.7325 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: 21.571207046043128] Failed to read output from testmodel.py, exit status != 0: 1.842872491106391 1.853652781 0.7642794260000001 Calling exit ...