Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.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.001446/0.001446, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001722/0.001722, allocations: 213.6 kB / 22.24 MB, free: 5.258 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.544/1.544, allocations: 230.6 MB / 256 MB, free: 7.824 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.05249/0.05249, allocations: 9.133 MB / 321.6 MB, free: 10.25 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.R134aTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 75.88 kB / 447 MB, free: 104 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1056, allocations: 54.94 MB / 0.4902 GB, free: 9.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.3553/0.4609, allocations: 115 MB / 0.6025 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1186/0.5795, allocations: 98.6 MB / 0.6988 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006576/0.5802, allocations: 7.938 kB / 0.6988 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003431/0.5836, allocations: 1.226 MB / 0.7 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004114/0.5877, allocations: 1.575 MB / 0.7015 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.3506/0.9383, allocations: 31.17 MB / 0.732 GB, free: 22.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001772/0.9401, allocations: 1.415 MB / 0.7333 GB, free: 22.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.9403, allocations: 81.83 kB / 0.7334 GB, free: 22.22 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01577/0.9561, allocations: 9.198 MB / 0.7424 GB, free: 22.08 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006376/0.9567, allocations: 377.5 kB / 0.7428 GB, free: 22.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.121e-05/0.9568, allocations: 41.72 kB / 0.7428 GB, free: 22.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04168/0.9984, allocations: 24.25 MB / 0.7665 GB, free: 22.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002606/0.9987, allocations: 129.5 kB / 0.7666 GB, free: 22.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006054/0.9993, allocations: 248 kB / 0.7668 GB, free: 22.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0354/1.035, allocations: 12.29 MB / 0.7788 GB, free: 21.36 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.035, allocations: 4 kB / 0.7788 GB, free: 21.35 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/1.035, allocations: 1.594 kB / 0.7789 GB, free: 21.35 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.969e-06/1.035, allocations: 0 / 0.7789 GB, free: 21.35 MB / 0.545 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.006426/1.041, allocations: 2.582 MB / 0.7814 GB, free: 19.76 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/1.041, allocations: 9.25 kB / 0.7814 GB, free: 19.76 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005841/1.042, allocations: 99.09 kB / 0.7815 GB, free: 19.72 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/1.042, allocations: 278 kB / 0.7817 GB, free: 19.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/1.042, allocations: 32.62 kB / 0.7818 GB, free: 19.53 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.289e-05/1.042, allocations: 33.53 kB / 0.7818 GB, free: 19.53 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/1.043, allocations: 0.7626 MB / 0.7825 GB, free: 19.15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/1.043, allocations: 0 / 0.7825 GB, free: 19.15 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/1.043, allocations: 14.38 kB / 0.7826 GB, free: 19.15 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/1.044, allocations: 21.34 kB / 0.7826 GB, free: 19.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/1.045, allocations: 0.5586 MB / 0.7831 GB, free: 19.04 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/1.047, allocations: 1.635 MB / 0.7847 GB, free: 18.1 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/1.048, allocations: 484.2 kB / 0.7852 GB, free: 18.01 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004526/1.048, allocations: 319.7 kB / 0.7855 GB, free: 17.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2004/1.248, allocations: 44.04 MB / 0.8285 GB, free: 92 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.913e-05/1.249, allocations: 41.56 kB / 0.8285 GB, free: 48 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.515e-06/1.249, allocations: 0 / 0.8285 GB, free: 48 kB / 0.5606 GB Notification: Performance of matching and sorting (n=83): time 0.00622/1.255, allocations: 2.246 MB / 0.8307 GB, free: 14.37 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/1.255, allocations: 59.16 kB / 0.8308 GB, free: 14.3 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/1.255, allocations: 225.8 kB / 0.831 GB, free: 14.1 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/1.255, allocations: 33.58 kB / 0.831 GB, free: 14.06 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/1.255, allocations: 191.6 kB / 0.8312 GB, free: 13.9 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/1.255, allocations: 285.8 kB / 0.8315 GB, free: 13.66 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/1.256, allocations: 96.8 kB / 0.8316 GB, free: 13.59 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001699/1.256, allocations: 349.9 kB / 0.8319 GB, free: 13.26 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005135/1.256, allocations: 280 kB / 0.8322 GB, free: 13.09 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006161/1.257, allocations: 408.3 kB / 0.8326 GB, free: 12.77 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/1.258, allocations: 0.7286 MB / 0.8333 GB, free: 12.26 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/1.258, allocations: 4 kB / 0.8333 GB, free: 12.25 MB / 0.5763 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001574/1.26, allocations: 0.793 MB / 0.8341 GB, free: 11.7 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/1.26, allocations: 14.44 kB / 0.8341 GB, free: 11.69 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/1.26, allocations: 5.812 kB / 0.8341 GB, free: 11.69 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002917/1.26, allocations: 72.66 kB / 0.8341 GB, free: 11.63 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/1.26, allocations: 95.72 kB / 0.8342 GB, free: 11.55 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07292/1.333, allocations: 16.95 MB / 0.8508 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/1.334, allocations: 23.95 kB / 0.8508 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/1.334, allocations: 23.8 kB / 0.8508 GB, free: 11.2 MB / 0.5919 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.0003296/1.334, allocations: 187.7 kB / 0.851 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/1.334, allocations: 43.78 kB / 0.8511 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/1.336, allocations: 1.592 MB / 0.8526 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/1.336, allocations: 9.984 kB / 0.8526 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.336, allocations: 7.938 kB / 0.8526 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001552/1.338, allocations: 1.175 MB / 0.8538 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/1.34, allocations: 1.49 MB / 0.8552 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/1.34, allocations: 0 / 0.8552 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003592/1.341, allocations: 87.12 kB / 0.8553 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002051/1.341, allocations: 40.64 kB / 0.8554 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/1.341, allocations: 14.8 kB / 0.8554 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/1.342, allocations: 1.295 MB / 0.8566 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.342, allocations: 4.031 kB / 0.8566 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/1.344, allocations: 1.21 MB / 0.8578 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.965e-05/1.344, allocations: 35.75 kB / 0.8579 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.09e-05/1.344, allocations: 11.88 kB / 0.8579 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/1.344, allocations: 27.59 kB / 0.8579 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/1.345, allocations: 47.11 kB / 0.8579 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/1.345, allocations: 15.92 kB / 0.8579 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002503/1.345, allocations: 220.9 kB / 0.8582 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.345, allocations: 0 / 0.8582 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01027/1.355, allocations: 3.574 MB / 0.8617 GB, free: 1.754 MB / 0.5919 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.0194/1.375, allocations: 4.574 MB / 0.8661 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002142/1.377, allocations: 0.919 MB / 0.867 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.377, allocations: 4.609 kB / 0.867 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009206/1.378, allocations: 480.2 kB / 0.8675 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/1.38, allocations: 360.2 kB / 0.8678 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/1.382, allocations: 1.184 MB / 0.869 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/1.382, allocations: 249.9 kB / 0.8692 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004688/1.382, allocations: 159.1 kB / 0.8694 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/1.382, allocations: 35.44 kB / 0.8694 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of SimCode: time 1.172e-06/1.382, allocations: 0 / 0.8694 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of Templates: time 0.3999/1.782, allocations: 126.6 MB / 0.9931 GB, free: 331.9 MB / 0.7013 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.868747847154737] Failed to read output from testmodel.py, exit status != 0: 1.7906037271022797 1.802966582 0.765618857 Calling exit ...