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.001474/0.001474, allocations: 80.52 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.001598/0.001598, allocations: 171.3 kB / 22.46 MB, free: 5.355 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.389/1.389, allocations: 177.2 MB / 202.8 MB, free: 9.172 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.0475/0.0475, allocations: 7.518 MB / 266.7 MB, free: 9.648 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 1.263e-06/1.263e-06, allocations: 0 / 392.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.591e-05, allocations: 6.281 kB / 392.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.2689/0.2689, allocations: 114.8 MB / 0.4952 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1073/0.3762, allocations: 98.59 MB / 0.5915 GB, free: 13.69 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004931/0.3767, allocations: 11.94 kB / 0.5915 GB, free: 13.68 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00295/0.3797, allocations: 1.253 MB / 0.5927 GB, free: 12.42 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003488/0.3832, allocations: 1.598 MB / 0.5942 GB, free: 10.81 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.07067/0.4538, allocations: 31.69 MB / 0.6252 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001886/0.4557, allocations: 1.425 MB / 0.6266 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.4559, allocations: 81.78 kB / 0.6267 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0168/0.4727, allocations: 9.522 MB / 0.636 GB, free: 8 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1884/0.6611, allocations: 330.7 kB / 0.6363 GB, free: 36.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.6612, allocations: 42.19 kB / 0.6363 GB, free: 36.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03723/0.6984, allocations: 24.45 MB / 0.6602 GB, free: 36.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003033/0.6987, allocations: 129.1 kB / 0.6603 GB, free: 36.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006166/0.6994, allocations: 219.8 kB / 0.6605 GB, free: 36.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03016/0.7295, allocations: 14.45 MB / 0.6746 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.7295, allocations: 0 / 0.6746 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7295, allocations: 0 / 0.6746 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.7295, allocations: 7.594 kB / 0.6746 GB, free: 36.48 MB / 0.4981 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.004722/0.7342, allocations: 2.581 MB / 0.6772 GB, free: 35.03 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.7343, allocations: 9.875 kB / 0.6772 GB, free: 35.03 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005661/0.7348, allocations: 87.88 kB / 0.6773 GB, free: 35 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.7352, allocations: 285.2 kB / 0.6775 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.7352, allocations: 30.19 kB / 0.6776 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.791e-05/0.7353, allocations: 32.58 kB / 0.6776 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.7364, allocations: 0.7561 MB / 0.6783 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.7364, allocations: 3.812 kB / 0.6783 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.7365, allocations: 20.84 kB / 0.6783 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.7365, allocations: 18.89 kB / 0.6784 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.7376, allocations: 0.5488 MB / 0.6789 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.7393, allocations: 1.631 MB / 0.6805 GB, free: 33.78 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.7403, allocations: 490.2 kB / 0.681 GB, free: 33.74 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004427/0.7407, allocations: 317.3 kB / 0.6813 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1867/0.9274, allocations: 44.03 MB / 0.7243 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.9275, allocations: 41.03 kB / 0.7243 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=79): time 2.594e-06/0.9275, allocations: 0 / 0.7243 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=83): time 0.005408/0.9329, allocations: 2.227 MB / 0.7265 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.92e-05/0.9329, allocations: 55.41 kB / 0.7265 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.9331, allocations: 235.7 kB / 0.7268 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.9331, allocations: 33.58 kB / 0.7268 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.9332, allocations: 196.3 kB / 0.727 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.758e-05/0.9333, allocations: 274.8 kB / 0.7272 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.9334, allocations: 100.6 kB / 0.7273 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.384e-05/0.9334, allocations: 348.1 kB / 0.7277 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004386/0.9339, allocations: 281.2 kB / 0.7279 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/0.9343, allocations: 407.3 kB / 0.7283 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009286/0.9352, allocations: 0.7254 MB / 0.729 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.9353, allocations: 4 kB / 0.729 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001274/0.9365, allocations: 0.8093 MB / 0.7298 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.9365, allocations: 4.438 kB / 0.7298 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.9365, allocations: 8 kB / 0.7298 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002237/0.9368, allocations: 62.22 kB / 0.7299 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.9372, allocations: 102 kB / 0.73 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07324/1.01, allocations: 16.97 MB / 0.7466 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/1.011, allocations: 35.88 kB / 0.7466 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/1.011, allocations: 15.88 kB / 0.7466 GB, free: 2.906 MB / 0.5137 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.0002928/1.011, allocations: 191 kB / 0.7468 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/1.011, allocations: 35.77 kB / 0.7468 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/1.013, allocations: 1.585 MB / 0.7484 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/1.013, allocations: 11.75 kB / 0.7484 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.013, allocations: 3.984 kB / 0.7484 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001579/1.015, allocations: 1.18 MB / 0.7495 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/1.017, allocations: 1.482 MB / 0.751 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/1.017, allocations: 7.938 kB / 0.751 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/1.018, allocations: 82.31 kB / 0.7511 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002065/1.018, allocations: 47.83 kB / 0.7511 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/1.018, allocations: 11.62 kB / 0.7511 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/1.019, allocations: 1.286 MB / 0.7524 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.019, allocations: 4.156 kB / 0.7524 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/1.021, allocations: 1.202 MB / 0.7536 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.002e-05/1.021, allocations: 31.8 kB / 0.7536 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.229e-05/1.021, allocations: 19.58 kB / 0.7536 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/1.021, allocations: 23.84 kB / 0.7536 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/1.022, allocations: 47.61 kB / 0.7537 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/1.022, allocations: 19.8 kB / 0.7537 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002371/1.022, allocations: 225.2 kB / 0.7539 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/1.022, allocations: 8 kB / 0.7539 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008672/1.03, allocations: 3.562 MB / 0.7574 GB, free: 9.461 MB / 0.5294 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.01698/1.047, allocations: 4.973 MB / 0.7623 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001821/1.049, allocations: 0.9187 MB / 0.7632 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.049, allocations: 0 / 0.7632 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008902/1.05, allocations: 480.1 kB / 0.7636 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/1.052, allocations: 359.6 kB / 0.764 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/1.054, allocations: 1.102 MB / 0.765 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/1.054, allocations: 249.9 kB / 0.7653 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003836/1.054, allocations: 169 kB / 0.7654 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.503e-05/1.055, allocations: 36.5 kB / 0.7655 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/1.055, allocations: 4 kB / 0.7655 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of Templates: time 0.3036/1.358, allocations: 126.2 MB / 0.8887 GB, free: 305.6 MB / 0.6231 GB " [Timeout remaining time 659] 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: 13.237758796662092] Failed to read output from testmodel.py, exit status != 0: 1.365875780582428 1.374657397 0.6429008829999999 Calling exit ...