Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.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.001657/0.001657, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001964/0.001964, allocations: 218.7 kB / 22.26 MB, free: 5.121 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 7.996 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.05236/0.05236, allocations: 9.14 MB / 321.6 MB, free: 10.41 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.R134a_ASHRAE_TestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 63.91 kB / 447.1 MB, free: 500 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1127, allocations: 54.95 MB / 0.4903 GB, free: 9.434 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.3507/0.4634, allocations: 130.2 MB / 0.6174 GB, free: 15 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.3909/0.8543, allocations: 111.5 MB / 0.7263 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000575/0.8549, allocations: 9.438 kB / 0.7263 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003144/0.8581, allocations: 1.552 MB / 0.7278 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004217/0.8623, allocations: 1.831 MB / 0.7296 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.06555/0.9278, allocations: 31.37 MB / 0.7602 GB, free: 160 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001781/0.9296, allocations: 1.425 MB / 0.7616 GB, free: 160 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.9298, allocations: 85.11 kB / 0.7617 GB, free: 144 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01358/0.9434, allocations: 9.367 MB / 0.7709 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005692/0.944, allocations: 394 kB / 0.7712 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.125e-05/0.944, allocations: 41.69 kB / 0.7713 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06345/1.007, allocations: 36.37 MB / 0.8068 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002684/1.008, allocations: 129.6 kB / 0.8069 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006376/1.008, allocations: 311.4 kB / 0.8072 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04336/1.052, allocations: 14.11 MB / 0.821 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.052, allocations: 0 / 0.821 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/1.052, allocations: 0 / 0.821 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.022e-05/1.052, allocations: 0 / 0.821 GB, free: 8.102 MB / 0.5762 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.006621/1.058, allocations: 2.606 MB / 0.8235 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/1.058, allocations: 12.03 kB / 0.8235 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006702/1.059, allocations: 87.62 kB / 0.8236 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/1.06, allocations: 284.2 kB / 0.8239 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/1.06, allocations: 27.09 kB / 0.8239 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.557e-05/1.06, allocations: 39.02 kB / 0.824 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/1.061, allocations: 0.6081 MB / 0.8246 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/1.061, allocations: 0 / 0.8246 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/1.061, allocations: 13.91 kB / 0.8246 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/1.061, allocations: 17.89 kB / 0.8246 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/1.062, allocations: 0.564 MB / 0.8251 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/1.065, allocations: 2.53 MB / 0.8276 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/1.066, allocations: 483.8 kB / 0.8281 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005466/1.067, allocations: 318.3 kB / 0.8284 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2035/1.27, allocations: 43.91 MB / 0.8713 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.64e-05/1.27, allocations: 42.84 kB / 0.8713 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=79): time 2.745e-06/1.27, allocations: 0 / 0.8713 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83): time 0.00604/1.276, allocations: 2.239 MB / 0.8735 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/1.276, allocations: 55.41 kB / 0.8735 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/1.277, allocations: 253 kB / 0.8738 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/1.277, allocations: 33.7 kB / 0.8738 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/1.277, allocations: 185.5 kB / 0.874 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/1.277, allocations: 281.8 kB / 0.8743 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/1.277, allocations: 98.11 kB / 0.8744 GB, free: 1.883 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.277, allocations: 358.7 kB / 0.8747 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005021/1.278, allocations: 283.5 kB / 0.875 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006184/1.278, allocations: 408.7 kB / 0.8754 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/1.28, allocations: 0.718 MB / 0.8761 GB, free: 44 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.28, allocations: 4 kB / 0.8761 GB, free: 40 kB / 0.6231 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001526/1.281, allocations: 0.8049 MB / 0.8768 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.281, allocations: 8 kB / 0.8769 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/1.281, allocations: 5.203 kB / 0.8769 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002558/1.281, allocations: 66.02 kB / 0.8769 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/1.282, allocations: 99.81 kB / 0.877 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06914/1.351, allocations: 17.08 MB / 0.8937 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004621/1.351, allocations: 31.97 kB / 0.8937 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/1.352, allocations: 16.66 kB / 0.8937 GB, free: 13.45 MB / 0.6544 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.0003143/1.352, allocations: 197.4 kB / 0.8939 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/1.352, allocations: 43.72 kB / 0.894 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/1.354, allocations: 1.588 MB / 0.8955 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/1.354, allocations: 14.17 kB / 0.8955 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.354, allocations: 4.875 kB / 0.8955 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00158/1.356, allocations: 1.17 MB / 0.8967 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/1.358, allocations: 1.604 MB / 0.8982 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.358, allocations: 0 / 0.8982 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003495/1.359, allocations: 83.88 kB / 0.8983 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000219/1.359, allocations: 48.8 kB / 0.8984 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/1.359, allocations: 13.06 kB / 0.8984 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/1.36, allocations: 1.317 MB / 0.8997 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.36, allocations: 0 / 0.8997 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/1.362, allocations: 1.221 MB / 0.9009 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/1.362, allocations: 43.64 kB / 0.9009 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.802e-05/1.362, allocations: 7.953 kB / 0.9009 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003751/1.362, allocations: 31.97 kB / 0.9009 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/1.363, allocations: 47.86 kB / 0.901 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/1.363, allocations: 8 kB / 0.901 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000278/1.363, allocations: 243.7 kB / 0.9012 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/1.363, allocations: 0 / 0.9012 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009799/1.373, allocations: 3.579 MB / 0.9047 GB, free: 1.855 MB / 0.6544 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.01786/1.391, allocations: 4.59 MB / 0.9092 GB, free: 13.72 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002124/1.393, allocations: 0.9218 MB / 0.9101 GB, free: 12.78 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.393, allocations: 0.6562 kB / 0.9101 GB, free: 12.78 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008822/1.394, allocations: 475.3 kB / 0.9106 GB, free: 12.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/1.395, allocations: 382.4 kB / 0.9109 GB, free: 11.93 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/1.398, allocations: 1.183 MB / 0.9121 GB, free: 10.72 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/1.398, allocations: 0.8526 MB / 0.9129 GB, free: 9.844 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003937/1.398, allocations: 159.9 kB / 0.9131 GB, free: 9.691 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/1.399, allocations: 39.44 kB / 0.9131 GB, free: 9.652 MB / 0.67 GB Notification: Performance of SimCode: time 5.01e-07/1.399, allocations: 0 / 0.9131 GB, free: 9.652 MB / 0.67 GB Notification: Performance of Templates: time 0.3874/1.786, allocations: 126.6 MB / 1.037 GB, free: 344.5 MB / 0.7325 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.403616257943213] Failed to read output from testmodel.py, exit status != 0: 1.7940085940063 1.803397269 0.749307133 Calling exit ...