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.002014/0.002014, allocations: 89.47 kB / 19.44 MB, free: 340 kB / 13.93 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.002107/0.002107, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.596/1.596, allocations: 177.1 MB / 203.1 MB, free: 5.531 MB / 186.7 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.06024/0.06024, allocations: 7.517 MB / 267.1 MB, free: 6.047 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 2.765e-06/2.765e-06, allocations: 0 / 338 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.064e-05/4.34e-05, allocations: 8.922 kB / 338 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2): time 0.4747/0.4747, allocations: 199.7 MB / 0.5251 GB, free: 6.055 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3703/0.845, allocations: 145.8 MB / 0.6675 GB, free: 7.383 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007359/0.8458, allocations: 11.81 kB / 0.6675 GB, free: 7.383 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004187/0.85, allocations: 1.681 MB / 0.6691 GB, free: 6.469 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006151/0.8561, allocations: 2.44 MB / 0.6715 GB, free: 4.93 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1214/0.9776, allocations: 42.12 MB / 0.7127 GB, free: 13.09 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.003147/0.9807, allocations: 1.999 MB / 0.7146 GB, free: 11.08 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/0.981, allocations: 131.7 kB / 0.7147 GB, free: 10.95 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002072/0.9831, allocations: 1.138 MB / 0.7159 GB, free: 9.805 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009494/0.9841, allocations: 498.5 kB / 0.7163 GB, free: 9.316 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.9842, allocations: 60 kB / 0.7164 GB, free: 9.258 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07774/1.062, allocations: 32.58 MB / 0.7482 GB, free: 8.598 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004256/1.062, allocations: 183.3 kB / 0.7484 GB, free: 8.418 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0008043/1.063, allocations: 307.4 kB / 0.7487 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.2875/1.351, allocations: 19.31 MB / 0.7675 GB, free: 45.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.351, allocations: 3.312 kB / 0.7675 GB, free: 45.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.562e-06/1.351, allocations: 0.9688 kB / 0.7675 GB, free: 45.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.884e-05/1.351, allocations: 0 / 0.7675 GB, free: 45.9 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.01046/1.361, allocations: 3.535 MB / 0.771 GB, free: 43.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/1.361, allocations: 13.16 kB / 0.771 GB, free: 43.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/1.362, allocations: 238.4 kB / 0.7712 GB, free: 43.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006982/1.363, allocations: 359.6 kB / 0.7716 GB, free: 43.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.237e-05/1.363, allocations: 43.97 kB / 0.7716 GB, free: 43.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.177e-05/1.363, allocations: 50.69 kB / 0.7717 GB, free: 43.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/1.365, allocations: 0.9333 MB / 0.7726 GB, free: 43.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/1.365, allocations: 4.562 kB / 0.7726 GB, free: 43.29 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.588e-05/1.365, allocations: 20.66 kB / 0.7726 GB, free: 43.29 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.158e-05/1.365, allocations: 24.75 kB / 0.7726 GB, free: 43.29 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/1.366, allocations: 0.5692 MB / 0.7732 GB, free: 43.29 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00291/1.369, allocations: 2.624 MB / 0.7757 GB, free: 41.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/1.371, allocations: 0.4937 MB / 0.7762 GB, free: 41.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/1.371, allocations: 278.3 kB / 0.7765 GB, free: 41.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2791/1.65, allocations: 55.59 MB / 0.8308 GB, free: 36.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/1.65, allocations: 46.67 kB / 0.8308 GB, free: 36.87 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=109): time 3.116e-06/1.65, allocations: 4 kB / 0.8308 GB, free: 36.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117): time 0.008142/1.658, allocations: 2.609 MB / 0.8334 GB, free: 34.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/1.658, allocations: 55.91 kB / 0.8334 GB, free: 34.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/1.659, allocations: 388.6 kB / 0.8338 GB, free: 34.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/1.659, allocations: 37.39 kB / 0.8338 GB, free: 34.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/1.659, allocations: 302.6 kB / 0.8341 GB, free: 33.94 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/1.659, allocations: 437.1 kB / 0.8345 GB, free: 33.59 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/1.659, allocations: 201.9 kB / 0.8347 GB, free: 33.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.659, allocations: 0.588 MB / 0.8353 GB, free: 32.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004806/1.66, allocations: 236.4 kB / 0.8355 GB, free: 32.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005723/1.66, allocations: 485.8 kB / 0.836 GB, free: 32.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/1.662, allocations: 0.775 MB / 0.8368 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.662, allocations: 1.859 kB / 0.8368 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001719/1.663, allocations: 0.9063 MB / 0.8376 GB, free: 30.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/1.663, allocations: 8 kB / 0.8376 GB, free: 30.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.663, allocations: 4 kB / 0.8376 GB, free: 30.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00047/1.664, allocations: 125.9 kB / 0.8378 GB, free: 30.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009293/1.665, allocations: 186.2 kB / 0.8379 GB, free: 30.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.136/1.801, allocations: 34.6 MB / 0.8717 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005952/1.801, allocations: 30.55 kB / 0.8718 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-05/1.801, allocations: 36.66 kB / 0.8718 GB, free: 12.74 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.000432/1.802, allocations: 256 kB / 0.872 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/1.802, allocations: 79.12 kB / 0.8721 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004191/1.806, allocations: 2.649 MB / 0.8747 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.265e-05/1.806, allocations: 23.77 kB / 0.8747 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/1.806, allocations: 3.281 kB / 0.8747 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001972/1.808, allocations: 1.146 MB / 0.8758 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/1.812, allocations: 1.798 MB / 0.8776 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.812, allocations: 2.625 kB / 0.8776 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004921/1.812, allocations: 107.6 kB / 0.8777 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005998/1.813, allocations: 198.4 kB / 0.8779 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/1.813, allocations: 21.73 kB / 0.8779 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004634/1.817, allocations: 5.274 MB / 0.8831 GB, free: 2.352 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.817, allocations: 4 kB / 0.8831 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/1.82, allocations: 1.433 MB / 0.8845 GB, free: 1.141 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/1.82, allocations: 59.45 kB / 0.8845 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.384e-05/1.821, allocations: 11.44 kB / 0.8845 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/1.821, allocations: 28.03 kB / 0.8846 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/1.821, allocations: 75.95 kB / 0.8846 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/1.821, allocations: 20.11 kB / 0.8847 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003417/1.821, allocations: 282.7 kB / 0.8849 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/1.821, allocations: 0 / 0.8849 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01081/1.832, allocations: 3.293 MB / 0.8881 GB, free: 13.59 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.01962/1.852, allocations: 5.003 MB / 0.893 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003655/1.856, allocations: 1.39 MB / 0.8944 GB, free: 8.004 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.856, allocations: 1.859 kB / 0.8944 GB, free: 8.004 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/1.857, allocations: 0.7755 MB / 0.8951 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/1.86, allocations: 0.4893 MB / 0.8956 GB, free: 6.855 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/1.863, allocations: 1.516 MB / 0.8971 GB, free: 5.512 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/1.863, allocations: 332.8 kB / 0.8974 GB, free: 5.156 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006655/1.864, allocations: 176.5 kB / 0.8976 GB, free: 4.984 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/1.864, allocations: 51.94 kB / 0.8976 GB, free: 4.938 MB / 0.5417 GB Notification: Performance of SimCode: time 1.192e-06/1.864, allocations: 2.953 kB / 0.8976 GB, free: 4.938 MB / 0.5417 GB Notification: Performance of Templates: time 0.2957/2.16, allocations: 106.8 MB / 1.002 GB, free: 315.3 MB / 0.6042 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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 17.331817680969834]