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.0008751/0.0008751, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0008814/0.0008814, allocations: 173 kB / 23.5 MB, free: 1.055 MB / 18.57 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 0.9248/0.9248, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 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.03167/0.03167, allocations: 7.522 MB / 267.8 MB, free: 6.055 MB / 250.7 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.352e-06/1.352e-06, allocations: 3.938 kB / 338.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.494e-05/1.629e-05, allocations: 6.312 kB / 338.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2): time 0.2493/0.2493, allocations: 199.7 MB / 0.5258 GB, free: 5.965 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.254/0.5033, allocations: 145.8 MB / 0.6681 GB, free: 7.16 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005732/0.5039, allocations: 12.5 kB / 0.6681 GB, free: 7.16 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002616/0.5065, allocations: 1.675 MB / 0.6698 GB, free: 6.25 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003444/0.5099, allocations: 2.438 MB / 0.6721 GB, free: 4.715 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.08116/0.5911, allocations: 42.12 MB / 0.7133 GB, free: 12.87 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001896/0.593, allocations: 2.017 MB / 0.7153 GB, free: 10.84 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.5932, allocations: 125 kB / 0.7154 GB, free: 10.71 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009587/0.5942, allocations: 1.141 MB / 0.7165 GB, free: 9.57 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000579/0.5947, allocations: 482.6 kB / 0.7169 GB, free: 9.098 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.781e-05/0.5948, allocations: 60 kB / 0.717 GB, free: 9.039 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04508/0.6399, allocations: 32.58 MB / 0.7488 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002644/0.6401, allocations: 191.3 kB / 0.749 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005256/0.6407, allocations: 303.5 kB / 0.7493 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.2247/0.8653, allocations: 18.91 MB / 0.7678 GB, free: 45.48 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8654, allocations: 2.062 kB / 0.7678 GB, free: 45.48 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.42e-07/0.8654, allocations: 0 / 0.7678 GB, free: 45.48 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.8654, allocations: 1.094 kB / 0.7678 GB, free: 45.48 MB / 0.5105 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.007977/0.8733, allocations: 3.494 MB / 0.7712 GB, free: 43.55 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.8734, allocations: 8.219 kB / 0.7712 GB, free: 43.55 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005907/0.874, allocations: 236.2 kB / 0.7714 GB, free: 43.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.8743, allocations: 363.4 kB / 0.7718 GB, free: 43.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/0.8744, allocations: 40.59 kB / 0.7718 GB, free: 43.27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.615e-05/0.8744, allocations: 53.09 kB / 0.7718 GB, free: 43.27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009005/0.8753, allocations: 0.8139 MB / 0.7726 GB, free: 42.85 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.8754, allocations: 4.859 kB / 0.7726 GB, free: 42.85 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.8754, allocations: 21.44 kB / 0.7727 GB, free: 42.85 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.8754, allocations: 25.56 kB / 0.7727 GB, free: 42.85 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006244/0.876, allocations: 382.3 kB / 0.7731 GB, free: 42.85 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.8777, allocations: 2.416 MB / 0.7754 GB, free: 41.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006803/0.8783, allocations: 410.6 kB / 0.7758 GB, free: 41.41 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.8785, allocations: 194 kB / 0.776 GB, free: 41.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1234/1.002, allocations: 55.59 MB / 0.8303 GB, free: 37.06 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/1.002, allocations: 43.39 kB / 0.8303 GB, free: 37.02 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=109): time 2.746e-06/1.002, allocations: 4 kB / 0.8303 GB, free: 37.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117): time 0.004024/1.006, allocations: 2.207 MB / 0.8325 GB, free: 35 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/1.006, allocations: 59.91 kB / 0.8325 GB, free: 34.93 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/1.006, allocations: 328.2 kB / 0.8329 GB, free: 34.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/1.006, allocations: 35.83 kB / 0.8329 GB, free: 34.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.152e-05/1.006, allocations: 283.7 kB / 0.8332 GB, free: 34.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/1.006, allocations: 410.1 kB / 0.8335 GB, free: 34.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/1.007, allocations: 168.9 kB / 0.8337 GB, free: 33.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.771e-05/1.007, allocations: 0.5469 MB / 0.8342 GB, free: 33.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/1.007, allocations: 149.5 kB / 0.8344 GB, free: 33.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/1.007, allocations: 358.6 kB / 0.8347 GB, free: 32.87 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000448/1.008, allocations: 0.5444 MB / 0.8353 GB, free: 32.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.008, allocations: 4 kB / 0.8353 GB, free: 32.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0007298/1.008, allocations: 0.7104 MB / 0.836 GB, free: 31.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/1.008, allocations: 8.469 kB / 0.836 GB, free: 31.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.008, allocations: 8 kB / 0.836 GB, free: 31.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/1.009, allocations: 96.98 kB / 0.8361 GB, free: 31.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004673/1.009, allocations: 196.6 kB / 0.8363 GB, free: 31.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06534/1.074, allocations: 33.74 MB / 0.8692 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/1.075, allocations: 27.55 kB / 0.8692 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/1.075, allocations: 33.67 kB / 0.8693 GB, free: 14.02 MB / 0.5261 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.0002263/1.075, allocations: 199.1 kB / 0.8694 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/1.075, allocations: 86.19 kB / 0.8695 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/1.077, allocations: 2.067 MB / 0.8715 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/1.077, allocations: 17.14 kB / 0.8716 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/1.077, allocations: 0 / 0.8716 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008127/1.078, allocations: 1.013 MB / 0.8726 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/1.079, allocations: 1.552 MB / 0.8741 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/1.079, allocations: 0 / 0.8741 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/1.079, allocations: 108.3 kB / 0.8742 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002791/1.08, allocations: 179.9 kB / 0.8743 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/1.08, allocations: 22.8 kB / 0.8744 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/1.081, allocations: 5.108 MB / 0.8794 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/1.081, allocations: 5.781 kB / 0.8794 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/1.082, allocations: 1.154 MB / 0.8805 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/1.082, allocations: 59.52 kB / 0.8805 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/1.083, allocations: 13.88 kB / 0.8806 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/1.083, allocations: 18.3 kB / 0.8806 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/1.083, allocations: 78.02 kB / 0.8806 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/1.083, allocations: 20.73 kB / 0.8807 GB, free: 3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001572/1.083, allocations: 239.8 kB / 0.8809 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.1e-08/1.083, allocations: 0 / 0.8809 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007566/1.091, allocations: 3.295 MB / 0.8841 GB, free: 15.62 MB / 0.5417 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 ($cse7.phase,$cse10.phase,$cse11.phase,$cse12.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.00834/1.099, allocations: 5.008 MB / 0.889 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001328/1.1, allocations: 1.175 MB / 0.8902 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.1, allocations: 4 kB / 0.8902 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004889/1.101, allocations: 0.6737 MB / 0.8908 GB, free: 9.488 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/1.102, allocations: 0.4901 MB / 0.8913 GB, free: 9.047 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/1.104, allocations: 1.445 MB / 0.8927 GB, free: 7.723 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.823e-05/1.104, allocations: 170 kB / 0.8929 GB, free: 7.531 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002826/1.104, allocations: 175.8 kB / 0.893 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.38e-05/1.104, allocations: 59.27 kB / 0.8931 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of SimCode: time 1.042e-06/1.104, allocations: 0 / 0.8931 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of Templates: time 0.1903/1.294, allocations: 106.8 MB / 0.9974 GB, free: 319.2 MB / 0.6042 GB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.228871504077688]