Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.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.001527/0.001527, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001653/0.001653, allocations: 165.2 kB / 22.46 MB, free: 5.359 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.366/1.366, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.04849/0.04849, allocations: 7.519 MB / 266.7 MB, free: 9.645 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.R134aTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2") translateModel(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 392.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.953e-05, allocations: 2.281 kB / 392.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2): time 0.3387/0.3387, allocations: 176.2 MB / 0.5552 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3563/0.695, allocations: 127.5 MB / 0.6797 GB, free: 236 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006943/0.6957, allocations: 13.34 kB / 0.6797 GB, free: 236 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003601/0.6993, allocations: 1.676 MB / 0.6813 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004839/0.7042, allocations: 2.438 MB / 0.6837 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.08547/0.7896, allocations: 42.23 MB / 0.725 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002297/0.7919, allocations: 2.004 MB / 0.7269 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002415/0.7922, allocations: 131.5 kB / 0.7271 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.7935, allocations: 1.131 MB / 0.7282 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006133/0.7941, allocations: 484.7 kB / 0.7286 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.583e-05/0.7941, allocations: 65.09 kB / 0.7287 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05839/0.8525, allocations: 32.6 MB / 0.7605 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003441/0.8529, allocations: 181.6 kB / 0.7607 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006867/0.8536, allocations: 306.3 kB / 0.761 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04907/0.9026, allocations: 19.28 MB / 0.7798 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9026, allocations: 0 / 0.7798 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9026, allocations: 4 kB / 0.7798 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.935e-05/0.9027, allocations: 0 / 0.7798 GB, free: 12.3 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.007878/0.9105, allocations: 3.387 MB / 0.7831 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.9106, allocations: 16.03 kB / 0.7831 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008222/0.9114, allocations: 131.4 kB / 0.7833 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005776/0.912, allocations: 357.3 kB / 0.7836 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.425e-05/0.912, allocations: 41 kB / 0.7836 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.997e-05/0.9121, allocations: 51.94 kB / 0.7837 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.9141, allocations: 1.031 MB / 0.7847 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.9141, allocations: 0 / 0.7847 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-05/0.9142, allocations: 26.38 kB / 0.7847 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.731e-05/0.9142, allocations: 24.05 kB / 0.7847 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/0.9161, allocations: 0.7628 MB / 0.7855 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003123/0.9192, allocations: 2.19 MB / 0.7876 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.9208, allocations: 0.6563 MB / 0.7883 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007983/0.9216, allocations: 455.1 kB / 0.7887 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2859/1.207, allocations: 58.72 MB / 0.846 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.375e-05/1.208, allocations: 43 kB / 0.8461 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=109): time 2.635e-06/1.208, allocations: 0 / 0.8461 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117): time 0.009719/1.217, allocations: 3.335 MB / 0.8493 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/1.217, allocations: 63.84 kB / 0.8494 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/1.218, allocations: 284.1 kB / 0.8497 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/1.218, allocations: 41.64 kB / 0.8497 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/1.218, allocations: 241.5 kB / 0.8499 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/1.218, allocations: 393.5 kB / 0.8503 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/1.218, allocations: 138.3 kB / 0.8505 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001919/1.219, allocations: 366.8 kB / 0.8508 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007969/1.219, allocations: 405.7 kB / 0.8512 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009185/1.22, allocations: 0.5502 MB / 0.8517 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/1.222, allocations: 0.9949 MB / 0.8527 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.222, allocations: 4 kB / 0.8527 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002399/1.225, allocations: 1.155 MB / 0.8538 GB, free: 368 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/1.225, allocations: 8 kB / 0.8538 GB, free: 360 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.225, allocations: 7.938 kB / 0.8538 GB, free: 352 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004044/1.225, allocations: 105.6 kB / 0.8539 GB, free: 240 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/1.226, allocations: 207.3 kB / 0.8541 GB, free: 44 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2811/1.507, allocations: 34.93 MB / 0.8883 GB, free: 325.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005192/1.508, allocations: 35.06 kB / 0.8883 GB, free: 325.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/1.508, allocations: 34.22 kB / 0.8883 GB, free: 325.1 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (volume1.medium.sat.vap.phase,volume1.medium.sat.liq.phase,volume1.medium.state.phase,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 (73): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {1, 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002769/1.508, allocations: 212.3 kB / 0.8885 GB, free: 324.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/1.508, allocations: 60.41 kB / 0.8886 GB, free: 324.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/1.511, allocations: 2.437 MB / 0.891 GB, free: 323.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/1.511, allocations: 22.42 kB / 0.891 GB, free: 323.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.511, allocations: 5.562 kB / 0.891 GB, free: 323.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001834/1.512, allocations: 1.688 MB / 0.8926 GB, free: 322.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/1.515, allocations: 2.333 MB / 0.8949 GB, free: 321.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.515, allocations: 0 / 0.8949 GB, free: 321.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/1.515, allocations: 118 kB / 0.895 GB, free: 321.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004256/1.516, allocations: 205.7 kB / 0.8952 GB, free: 321.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/1.516, allocations: 21.48 kB / 0.8952 GB, free: 321.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/1.517, allocations: 3.737 MB / 0.8989 GB, free: 318.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.517, allocations: 0 / 0.8989 GB, free: 318.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/1.52, allocations: 2.017 MB / 0.9009 GB, free: 317.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/1.52, allocations: 60.75 kB / 0.9009 GB, free: 317.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.639e-05/1.52, allocations: 15.72 kB / 0.9009 GB, free: 317.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004017/1.52, allocations: 39.45 kB / 0.901 GB, free: 317.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/1.521, allocations: 67.14 kB / 0.901 GB, free: 317.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/1.521, allocations: 25.67 kB / 0.9011 GB, free: 317.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001642/1.521, allocations: 225.8 kB / 0.9013 GB, free: 317 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.1e-08/1.521, allocations: 0 / 0.9013 GB, free: 317 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01069/1.531, allocations: 5.541 MB / 0.9067 GB, free: 313 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 14 ($cse13.phase,$cse16.phase,$cse17.phase,$cse18.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,volume1.medium.state.phase,volume1.medium.sat.liq.phase,volume1.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.02263/1.554, allocations: 7.45 MB / 0.914 GB, free: 306.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00283/1.557, allocations: 1.528 MB / 0.9155 GB, free: 305 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.557, allocations: 0 / 0.9155 GB, free: 305 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/1.558, allocations: 0.794 MB / 0.9162 GB, free: 304.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/1.56, allocations: 494.2 kB / 0.9167 GB, free: 303.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/1.562, allocations: 1.653 MB / 0.9183 GB, free: 302.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/1.562, allocations: 338.5 kB / 0.9186 GB, free: 301.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003901/1.563, allocations: 185.8 kB / 0.9188 GB, free: 301.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/1.563, allocations: 48.5 kB / 0.9189 GB, free: 301.6 MB / 0.6387 GB Notification: Performance of SimCode: time 5.81e-07/1.563, allocations: 0 / 0.9189 GB, free: 301.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.1845/1.747, allocations: 202.9 MB / 1.117 GB, free: 99.68 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 19.86849259212613] Failed to read output from testmodel.py, exit status != 0: 1.7550106458365917 1.76351267 0.858652886 Calling exit ...