Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.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.001383/0.001383, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001446/0.001446, allocations: 157.4 kB / 23.01 MB, free: 4.605 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.452/1.452, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.04842/0.04842, allocations: 7.536 MB / 267.3 MB, free: 9.578 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.R134a_ASHRAE_TestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 71.89 kB / 392.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1086, allocations: 54.92 MB / 447.7 MB, free: 4.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.3312/0.4399, allocations: 115.8 MB / 0.5503 GB, free: 3.848 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1154/0.5553, allocations: 98.68 MB / 0.6467 GB, free: 72 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005513/0.5558, allocations: 7.938 kB / 0.6467 GB, free: 64 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003184/0.559, allocations: 1.233 MB / 0.6479 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004045/0.563, allocations: 1.568 MB / 0.6494 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.07929/0.6423, allocations: 31.19 MB / 0.6799 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002224/0.6445, allocations: 1.418 MB / 0.6813 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002478/0.6448, allocations: 73.92 kB / 0.6813 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01798/0.6628, allocations: 9.279 MB / 0.6904 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006945/0.6635, allocations: 378.4 kB / 0.6908 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.005e-05/0.6636, allocations: 47.94 kB / 0.6908 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3079/0.9714, allocations: 24.23 MB / 0.7145 GB, free: 37.74 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.9717, allocations: 123.3 kB / 0.7146 GB, free: 37.74 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005123/0.9722, allocations: 254.2 kB / 0.7148 GB, free: 37.74 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.03727/1.009, allocations: 12.29 MB / 0.7268 GB, free: 37.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.009, allocations: 2.25 kB / 0.7268 GB, free: 37.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.813e-06/1.009, allocations: 0 / 0.7268 GB, free: 37.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.223e-05/1.009, allocations: 1.469 kB / 0.7268 GB, free: 37.32 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.007815/1.017, allocations: 2.588 MB / 0.7294 GB, free: 35.9 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/1.017, allocations: 11.94 kB / 0.7294 GB, free: 35.9 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000622/1.018, allocations: 86.73 kB / 0.7295 GB, free: 35.88 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/1.018, allocations: 283.4 kB / 0.7297 GB, free: 35.71 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/1.018, allocations: 30.03 kB / 0.7297 GB, free: 35.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/1.018, allocations: 33.09 kB / 0.7298 GB, free: 35.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/1.02, allocations: 0.7637 MB / 0.7305 GB, free: 35.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/1.02, allocations: 3.656 kB / 0.7305 GB, free: 35.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/1.02, allocations: 16.09 kB / 0.7305 GB, free: 35.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/1.02, allocations: 19.55 kB / 0.7306 GB, free: 35.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/1.021, allocations: 0.5526 MB / 0.7311 GB, free: 35.42 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/1.023, allocations: 1.634 MB / 0.7327 GB, free: 34.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/1.024, allocations: 487.5 kB / 0.7332 GB, free: 34.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005198/1.024, allocations: 317.1 kB / 0.7335 GB, free: 34.61 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.191/1.216, allocations: 44.03 MB / 0.7765 GB, free: 19.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/1.216, allocations: 40.7 kB / 0.7765 GB, free: 19.01 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.875e-06/1.216, allocations: 0 / 0.7765 GB, free: 19.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83): time 0.005467/1.221, allocations: 2.23 MB / 0.7787 GB, free: 17.33 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/1.221, allocations: 58.5 kB / 0.7787 GB, free: 17.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/1.221, allocations: 227.2 kB / 0.779 GB, free: 17.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/1.221, allocations: 37.52 kB / 0.779 GB, free: 17.03 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/1.221, allocations: 203.2 kB / 0.7792 GB, free: 16.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/1.221, allocations: 276.5 kB / 0.7795 GB, free: 16.63 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/1.222, allocations: 101.4 kB / 0.7795 GB, free: 16.56 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.44e-05/1.222, allocations: 356.2 kB / 0.7799 GB, free: 16.22 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004195/1.222, allocations: 277 kB / 0.7802 GB, free: 16.06 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/1.223, allocations: 410.9 kB / 0.7805 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009107/1.223, allocations: 0.7189 MB / 0.7812 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.223, allocations: 4 kB / 0.7812 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001276/1.225, allocations: 0.8081 MB / 0.782 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/1.225, allocations: 8.656 kB / 0.782 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.567e-06/1.225, allocations: 7.984 kB / 0.7821 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002195/1.225, allocations: 57.12 kB / 0.7821 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/1.225, allocations: 101.9 kB / 0.7822 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06693/1.292, allocations: 17.04 MB / 0.7988 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/1.293, allocations: 31.84 kB / 0.7989 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/1.293, allocations: 19.75 kB / 0.7989 GB, free: 14.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 43 * 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 prepare postOptimizeDAE: time 0.0002919/1.293, allocations: 197.6 kB / 0.7991 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/1.293, allocations: 39.72 kB / 0.7991 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/1.295, allocations: 1.591 MB / 0.8007 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/1.295, allocations: 11.88 kB / 0.8007 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.295, allocations: 4 kB / 0.8007 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001581/1.297, allocations: 1.177 MB / 0.8018 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/1.299, allocations: 1.491 MB / 0.8033 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.299, allocations: 4.484 kB / 0.8033 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003877/1.3, allocations: 83.06 kB / 0.8034 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002199/1.3, allocations: 44.55 kB / 0.8034 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/1.3, allocations: 12.25 kB / 0.8034 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/1.301, allocations: 1.294 MB / 0.8047 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.301, allocations: 4.766 kB / 0.8047 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/1.303, allocations: 1.2 MB / 0.8059 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/1.303, allocations: 39.8 kB / 0.8059 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-05/1.303, allocations: 19.64 kB / 0.8059 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/1.304, allocations: 23.91 kB / 0.8059 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/1.304, allocations: 43.3 kB / 0.806 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/1.304, allocations: 15.36 kB / 0.806 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002449/1.304, allocations: 220.1 kB / 0.8062 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.304, allocations: 0 / 0.8062 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01176/1.316, allocations: 3.573 MB / 0.8097 GB, free: 4.746 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 (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0203/1.336, allocations: 4.602 MB / 0.8142 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00192/1.338, allocations: 0.9186 MB / 0.8151 GB, free: 72 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.338, allocations: 4 kB / 0.8151 GB, free: 68 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000897/1.339, allocations: 475.6 kB / 0.8155 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/1.341, allocations: 371 kB / 0.8159 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/1.343, allocations: 1.169 MB / 0.817 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/1.343, allocations: 249.6 kB / 0.8173 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004373/1.344, allocations: 159.1 kB / 0.8174 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/1.344, allocations: 40.38 kB / 0.8175 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of SimCode: time 7.82e-07/1.344, allocations: 4 kB / 0.8175 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of Templates: time 0.1896/1.533, allocations: 126.1 MB / 0.9406 GB, free: 1.254 MB / 0.7012 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.574189724982716] Failed to read output from testmodel.py, exit status != 0: 1.5424880749778822 1.711794203 0.699374124 Calling exit ...