Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.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.001352/0.001352, allocations: 78.09 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.001441/0.001441, allocations: 157.9 kB / 23.01 MB, free: 4.945 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.46/1.46, allocations: 177.2 MB / 203.4 MB, free: 8.945 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.05021/0.05021, allocations: 7.534 MB / 267.3 MB, free: 9.574 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.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 63.91 kB / 392.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1112, allocations: 54.92 MB / 447.7 MB, free: 4.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.3322/0.4434, allocations: 114.4 MB / 0.5489 GB, free: 4.812 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1146/0.558, allocations: 97.64 MB / 0.6443 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005697/0.5586, allocations: 11.88 kB / 0.6443 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003109/0.5617, allocations: 1.135 MB / 0.6454 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003765/0.5654, allocations: 1.458 MB / 0.6468 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.08074/0.6462, allocations: 30.52 MB / 0.6766 GB, free: 1.375 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002229/0.6484, allocations: 1.332 MB / 0.6779 GB, free: 40 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.6487, allocations: 81.92 kB / 0.678 GB, free: 15.95 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.01845/0.6672, allocations: 8.888 MB / 0.6867 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006408/0.6678, allocations: 362.5 kB / 0.687 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.452e-05/0.6679, allocations: 44 kB / 0.6871 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3742/1.042, allocations: 23.96 MB / 0.7105 GB, free: 39.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002898/1.042, allocations: 122 kB / 0.7106 GB, free: 39.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005536/1.043, allocations: 257.2 kB / 0.7109 GB, free: 39.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04408/1.087, allocations: 12.35 MB / 0.7229 GB, free: 38.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/1.087, allocations: 0 / 0.7229 GB, free: 38.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.184e-06/1.087, allocations: 3.656 kB / 0.7229 GB, free: 38.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.881e-05/1.087, allocations: 0.6875 kB / 0.7229 GB, free: 38.61 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.01047/1.098, allocations: 2.581 MB / 0.7254 GB, free: 37.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/1.098, allocations: 10.59 kB / 0.7254 GB, free: 37.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007139/1.098, allocations: 92.72 kB / 0.7255 GB, free: 37.17 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005747/1.099, allocations: 285.9 kB / 0.7258 GB, free: 37.01 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/1.099, allocations: 26.22 kB / 0.7258 GB, free: 37.01 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.721e-05/1.099, allocations: 33.91 kB / 0.7259 GB, free: 37.01 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/1.101, allocations: 0.7623 MB / 0.7266 GB, free: 36.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/1.101, allocations: 1.406 kB / 0.7266 GB, free: 36.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/1.101, allocations: 17.44 kB / 0.7266 GB, free: 36.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/1.101, allocations: 14.22 kB / 0.7266 GB, free: 36.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/1.102, allocations: 0.5541 MB / 0.7272 GB, free: 36.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/1.105, allocations: 1.647 MB / 0.7288 GB, free: 35.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/1.106, allocations: 486.5 kB / 0.7293 GB, free: 35.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005608/1.106, allocations: 320.4 kB / 0.7296 GB, free: 35.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2101/1.316, allocations: 44.03 MB / 0.7726 GB, free: 23.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.876e-05/1.316, allocations: 44.95 kB / 0.7726 GB, free: 23.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 5.521e-06/1.316, allocations: 0 / 0.7726 GB, free: 23.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.01006/1.326, allocations: 2.241 MB / 0.7748 GB, free: 21.72 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/1.326, allocations: 59.39 kB / 0.7748 GB, free: 21.65 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/1.327, allocations: 230.7 kB / 0.7751 GB, free: 21.45 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.209e-05/1.327, allocations: 38.61 kB / 0.7751 GB, free: 21.42 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/1.327, allocations: 191.7 kB / 0.7753 GB, free: 21.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000222/1.327, allocations: 281.3 kB / 0.7755 GB, free: 21.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/1.327, allocations: 94.55 kB / 0.7756 GB, free: 20.95 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.737e-05/1.328, allocations: 355.9 kB / 0.776 GB, free: 20.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008036/1.328, allocations: 282.5 kB / 0.7762 GB, free: 20.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009152/1.329, allocations: 420.2 kB / 0.7766 GB, free: 20.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/1.331, allocations: 0.7223 MB / 0.7774 GB, free: 19.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/1.331, allocations: 4.875 kB / 0.7774 GB, free: 19.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002397/1.333, allocations: 0.816 MB / 0.7782 GB, free: 19.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/1.333, allocations: 8.469 kB / 0.7782 GB, free: 19.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/1.333, allocations: 8 kB / 0.7782 GB, free: 19.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000397/1.334, allocations: 61.11 kB / 0.7782 GB, free: 18.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/1.335, allocations: 125.8 kB / 0.7784 GB, free: 18.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09778/1.433, allocations: 19.65 MB / 0.7975 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005398/1.433, allocations: 30.28 kB / 0.7976 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.608e-05/1.433, allocations: 19.62 kB / 0.7976 GB, free: 15.85 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 41 * 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, 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.0003556/1.434, allocations: 192.1 kB / 0.7978 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/1.434, allocations: 39.77 kB / 0.7978 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/1.436, allocations: 1.624 MB / 0.7994 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.462e-05/1.436, allocations: 15.72 kB / 0.7994 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/1.436, allocations: 6.016 kB / 0.7994 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001649/1.438, allocations: 1.21 MB / 0.8006 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/1.441, allocations: 1.532 MB / 0.8021 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.441, allocations: 1.188 kB / 0.8021 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/1.441, allocations: 79.38 kB / 0.8022 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002997/1.441, allocations: 103.5 kB / 0.8023 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/1.441, allocations: 7.75 kB / 0.8023 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/1.443, allocations: 1.87 MB / 0.8041 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.443, allocations: 3.984 kB / 0.8041 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002184/1.445, allocations: 1.283 MB / 0.8054 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/1.445, allocations: 39.73 kB / 0.8054 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.905e-05/1.446, allocations: 15.81 kB / 0.8054 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/1.446, allocations: 23.91 kB / 0.8054 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/1.446, allocations: 47.61 kB / 0.8055 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/1.446, allocations: 13.02 kB / 0.8055 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002645/1.446, allocations: 224.4 kB / 0.8057 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.446, allocations: 0 / 0.8057 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01481/1.461, allocations: 3.573 MB / 0.8092 GB, free: 5.664 MB / 0.5762 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: 9 ($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 (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02586/1.487, allocations: 4.65 MB / 0.8137 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002508/1.49, allocations: 0.9767 MB / 0.8147 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.49, allocations: 0 / 0.8147 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000997/1.491, allocations: 492.8 kB / 0.8152 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/1.493, allocations: 374.1 kB / 0.8155 GB, free: 212 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/1.495, allocations: 1.177 MB / 0.8167 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/1.495, allocations: 250.1 kB / 0.8169 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000437/1.496, allocations: 143 kB / 0.817 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/1.496, allocations: 40.44 kB / 0.8171 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/1.496, allocations: 0 / 0.8171 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of Templates: time 0.2028/1.699, allocations: 126.1 MB / 0.9402 GB, free: 1.637 MB / 0.7012 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 11.776498159975745] Failed to read output from testmodel.py, exit status != 0: 1.7078412099508569 1.97528944 0.885627744 Calling exit ...