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.001751/0.001751, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002057/0.002057, allocations: 156 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.463/1.463, allocations: 177.2 MB / 203.4 MB, free: 8.957 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.05127/0.05127, allocations: 7.533 MB / 267.3 MB, free: 9.582 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 0.00207/0.00207, allocations: 63.91 kB / 392.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1053, allocations: 54.93 MB / 447.7 MB, free: 4.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2): time 0.399/0.5043, allocations: 176.5 MB / 0.6096 GB, free: 6.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4622/0.9665, allocations: 127.5 MB / 0.7341 GB, free: 496 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007743/0.9672, allocations: 13.91 kB / 0.7341 GB, free: 496 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004011/0.9713, allocations: 1.654 MB / 0.7357 GB, free: 488 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005664/0.9769, allocations: 2.393 MB / 0.7381 GB, free: 452 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.1028/1.08, allocations: 41.57 MB / 0.7787 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002652/1.082, allocations: 1.994 MB / 0.7806 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003176/1.083, allocations: 130.8 kB / 0.7807 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001621/1.084, allocations: 0.8507 MB / 0.7816 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008888/1.085, allocations: 0.525 MB / 0.7821 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.003e-05/1.085, allocations: 60.16 kB / 0.7821 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06732/1.153, allocations: 32.33 MB / 0.8137 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004642/1.153, allocations: 171.2 kB / 0.8139 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009317/1.154, allocations: 353.3 kB / 0.8142 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.05532/1.209, allocations: 16.39 MB / 0.8302 GB, free: 13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.209, allocations: 2.062 kB / 0.8302 GB, free: 13 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.621e-06/1.209, allocations: 7.984 kB / 0.8302 GB, free: 13 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.104e-05/1.209, allocations: 4 kB / 0.8302 GB, free: 12.99 MB / 0.6075 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.008662/1.218, allocations: 3.395 MB / 0.8336 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/1.218, allocations: 12.03 kB / 0.8336 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008698/1.219, allocations: 123.5 kB / 0.8337 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006533/1.22, allocations: 351.4 kB / 0.834 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.424e-05/1.22, allocations: 41 kB / 0.8341 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-05/1.22, allocations: 48 kB / 0.8341 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/1.222, allocations: 1.039 MB / 0.8351 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/1.222, allocations: 0 / 0.8351 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.884e-05/1.222, allocations: 24 kB / 0.8351 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/1.222, allocations: 17 kB / 0.8352 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/1.224, allocations: 0.7691 MB / 0.8359 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003459/1.227, allocations: 2.193 MB / 0.8381 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/1.229, allocations: 0.6492 MB / 0.8387 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007973/1.23, allocations: 447.1 kB / 0.8391 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2835/1.513, allocations: 58.74 MB / 0.8965 GB, free: 9.148 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/1.513, allocations: 35.06 kB / 0.8965 GB, free: 9.105 MB / 0.67 GB Notification: Performance of pre-optimization done (n=109): time 3.226e-06/1.513, allocations: 0 / 0.8965 GB, free: 9.105 MB / 0.67 GB Notification: Performance of matching and sorting (n=117): time 0.0103/1.524, allocations: 3.346 MB / 0.8998 GB, free: 5.738 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/1.524, allocations: 55.91 kB / 0.8998 GB, free: 5.672 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/1.524, allocations: 288.1 kB / 0.9001 GB, free: 5.375 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/1.524, allocations: 37.7 kB / 0.9001 GB, free: 5.332 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/1.524, allocations: 244.3 kB / 0.9004 GB, free: 5.09 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003374/1.525, allocations: 396.5 kB / 0.9008 GB, free: 4.711 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/1.525, allocations: 154.2 kB / 0.9009 GB, free: 4.555 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001899/1.525, allocations: 358.8 kB / 0.9012 GB, free: 4.195 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000827/1.526, allocations: 409.7 kB / 0.9016 GB, free: 3.797 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009439/1.527, allocations: 0.5512 MB / 0.9022 GB, free: 3.199 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/1.529, allocations: 1.002 MB / 0.9032 GB, free: 2.145 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/1.529, allocations: 4 kB / 0.9032 GB, free: 2.141 MB / 0.67 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002428/1.531, allocations: 1.155 MB / 0.9043 GB, free: 0.9688 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/1.531, allocations: 8 kB / 0.9043 GB, free: 0.9609 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/1.531, allocations: 4 kB / 0.9043 GB, free: 0.957 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000418/1.532, allocations: 102.4 kB / 0.9044 GB, free: 0.8477 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.533, allocations: 206.7 kB / 0.9046 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1495/1.682, allocations: 34.93 MB / 0.9387 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006539/1.683, allocations: 44.03 kB / 0.9387 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/1.683, allocations: 20 kB / 0.9388 GB, free: 12.49 MB / 0.7169 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.0004887/1.684, allocations: 228 kB / 0.939 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/1.684, allocations: 55.67 kB / 0.939 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003766/1.687, allocations: 2.442 MB / 0.9414 GB, free: 9.691 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.82e-05/1.687, allocations: 19.97 kB / 0.9414 GB, free: 9.676 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/1.688, allocations: 0 / 0.9414 GB, free: 9.676 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002654/1.69, allocations: 1.694 MB / 0.9431 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003899/1.694, allocations: 2.328 MB / 0.9454 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/1.694, allocations: 0 / 0.9454 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005411/1.695, allocations: 119.8 kB / 0.9455 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005376/1.695, allocations: 213.6 kB / 0.9457 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-05/1.695, allocations: 23.88 kB / 0.9457 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003219/1.698, allocations: 3.726 MB / 0.9493 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.698, allocations: 0 / 0.9493 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003617/1.702, allocations: 2.029 MB / 0.9513 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/1.702, allocations: 59.59 kB / 0.9514 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.972e-05/1.702, allocations: 12 kB / 0.9514 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004579/1.703, allocations: 35.97 kB / 0.9514 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/1.703, allocations: 60.62 kB / 0.9515 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.385e-05/1.703, allocations: 27.92 kB / 0.9515 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000288/1.703, allocations: 231 kB / 0.9517 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/1.703, allocations: 0 / 0.9517 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.01514/1.718, allocations: 5.552 MB / 0.9572 GB, free: 9.16 MB / 0.7325 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.02869/1.747, allocations: 6.887 MB / 0.9639 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00389/1.751, allocations: 1.528 MB / 0.9654 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/1.751, allocations: 0 / 0.9654 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001515/1.753, allocations: 0.7944 MB / 0.9661 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/1.755, allocations: 483.9 kB / 0.9666 GB, free: 60 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.209/1.964, allocations: 1.765 MB / 0.9683 GB, free: 335.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/1.964, allocations: 338.4 kB / 0.9687 GB, free: 335.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000494/1.965, allocations: 180.7 kB / 0.9688 GB, free: 335.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/1.965, allocations: 55.48 kB / 0.9689 GB, free: 335.6 MB / 0.7325 GB Notification: Performance of SimCode: time 8.71e-07/1.965, allocations: 0 / 0.9689 GB, free: 335.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.2296/2.195, allocations: 202.3 MB / 1.166 GB, free: 189.6 MB / 0.7325 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 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 21.878675175015815] Failed to read output from testmodel.py, exit status != 0: 2.2034437489928678 2.212274403 1.000504795 Calling exit ...