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.001838/0.001838, allocations: 85.48 kB / 19.44 MB, free: 344 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.001982/0.001982, allocations: 173.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.58/1.58, allocations: 177.1 MB / 203.1 MB, free: 5.629 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.06046/0.06046, allocations: 7.513 MB / 267.1 MB, free: 6.051 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.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 1.282e-06/1.282e-06, allocations: 0 / 338 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.315e-05, allocations: 2.312 kB / 338 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph): time 0.2906/0.2906, allocations: 131.1 MB / 469.1 MB, free: 9.27 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3332/0.6238, allocations: 112.9 MB / 0.5684 GB, free: 2.996 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005023/0.6243, allocations: 9.875 kB / 0.5684 GB, free: 2.996 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003097/0.6274, allocations: 1.245 MB / 0.5696 GB, free: 2.988 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003565/0.631, allocations: 1.6 MB / 0.5711 GB, free: 2.977 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.06566/0.6966, allocations: 31.6 MB / 0.602 GB, free: 15.32 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001801/0.6984, allocations: 1.428 MB / 0.6034 GB, free: 14.99 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.6986, allocations: 84.36 kB / 0.6035 GB, free: 14.97 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01558/0.7142, allocations: 9.526 MB / 0.6128 GB, free: 12.2 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005422/0.7147, allocations: 345.5 kB / 0.6131 GB, free: 12.1 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.838e-05/0.7148, allocations: 42.22 kB / 0.6131 GB, free: 12.1 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04685/0.7616, allocations: 24.44 MB / 0.637 GB, free: 4.379 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002796/0.7619, allocations: 129.9 kB / 0.6371 GB, free: 4.309 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005803/0.7625, allocations: 219.8 kB / 0.6373 GB, free: 4.145 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04148/0.804, allocations: 14.48 MB / 0.6515 GB, free: 8.891 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.804, allocations: 0 / 0.6515 GB, free: 8.891 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.804, allocations: 0 / 0.6515 GB, free: 8.891 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.804, allocations: 0 / 0.6515 GB, free: 8.891 MB / 458.7 MB 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.006534/0.8105, allocations: 2.715 MB / 0.6541 GB, free: 6.137 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.8106, allocations: 8.625 kB / 0.6542 GB, free: 6.129 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007705/0.8114, allocations: 189.6 kB / 0.6543 GB, free: 5.949 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005129/0.8119, allocations: 276.8 kB / 0.6546 GB, free: 5.664 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.805e-05/0.8119, allocations: 35.94 kB / 0.6546 GB, free: 5.633 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-05/0.812, allocations: 35.94 kB / 0.6547 GB, free: 5.598 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.8134, allocations: 0.6803 MB / 0.6553 GB, free: 4.855 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.8134, allocations: 0 / 0.6553 GB, free: 4.855 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/0.8135, allocations: 16 kB / 0.6553 GB, free: 4.84 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/0.8135, allocations: 27.03 kB / 0.6554 GB, free: 4.816 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.8147, allocations: 420.2 kB / 0.6558 GB, free: 4.414 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002841/0.8176, allocations: 1.956 MB / 0.6577 GB, free: 2.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.8186, allocations: 355.2 kB / 0.658 GB, free: 2.074 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004442/0.8191, allocations: 185.2 kB / 0.6582 GB, free: 1.891 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2455/1.065, allocations: 41.69 MB / 0.6989 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.238e-05/1.065, allocations: 45.66 kB / 0.699 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=79): time 2.144e-06/1.065, allocations: 0 / 0.699 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of matching and sorting (n=83): time 0.00562/1.07, allocations: 1.744 MB / 0.7007 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/1.07, allocations: 63.16 kB / 0.7007 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005745/1.071, allocations: 306.7 kB / 0.701 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/1.071, allocations: 33.7 kB / 0.701 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/1.071, allocations: 248.1 kB / 0.7013 GB, free: 5.836 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/1.071, allocations: 311.4 kB / 0.7016 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/1.072, allocations: 143.8 kB / 0.7017 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003671/1.072, allocations: 0.5625 MB / 0.7023 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/1.072, allocations: 153.4 kB / 0.7024 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000612/1.073, allocations: 362.2 kB / 0.7028 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/1.074, allocations: 0.5562 MB / 0.7033 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/1.074, allocations: 0 / 0.7033 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001451/1.076, allocations: 0.6131 MB / 0.7039 GB, free: 3.035 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/1.076, allocations: 5.25 kB / 0.7039 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/1.076, allocations: 4 kB / 0.7039 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003558/1.076, allocations: 82.95 kB / 0.704 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/1.076, allocations: 87.14 kB / 0.7041 GB, free: 2.859 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07662/1.153, allocations: 16.49 MB / 0.7202 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/1.153, allocations: 23.92 kB / 0.7202 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-05/1.153, allocations: 20.62 kB / 0.7202 GB, free: 1.875 MB / 0.5105 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.0003399/1.154, allocations: 242.7 kB / 0.7204 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/1.154, allocations: 47.77 kB / 0.7205 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00306/1.157, allocations: 1.797 MB / 0.7222 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-05/1.157, allocations: 26.34 kB / 0.7223 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/1.157, allocations: 0 / 0.7223 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00136/1.158, allocations: 0.8401 MB / 0.7231 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/1.161, allocations: 1.206 MB / 0.7243 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/1.161, allocations: 4 kB / 0.7243 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/1.161, allocations: 70.14 kB / 0.7243 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002597/1.161, allocations: 55.58 kB / 0.7244 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/1.161, allocations: 8 kB / 0.7244 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/1.163, allocations: 1.816 MB / 0.7262 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.163, allocations: 0 / 0.7262 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/1.165, allocations: 0.9136 MB / 0.7271 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.232e-05/1.165, allocations: 43.59 kB / 0.7271 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-05/1.165, allocations: 15.98 kB / 0.7271 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/1.165, allocations: 12 kB / 0.7271 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/1.165, allocations: 50.53 kB / 0.7272 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/1.165, allocations: 12 kB / 0.7272 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003322/1.166, allocations: 275 kB / 0.7275 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/1.166, allocations: 0 / 0.7275 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008224/1.174, allocations: 2.442 MB / 0.7298 GB, free: 7.66 MB / 0.5261 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 ($cse5.phase,$cse6.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.01125/1.185, allocations: 3.752 MB / 0.7335 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002001/1.187, allocations: 0.8405 MB / 0.7343 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.187, allocations: 0 / 0.7343 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009296/1.188, allocations: 451 kB / 0.7348 GB, free: 2.941 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/1.19, allocations: 376.1 kB / 0.7351 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/1.192, allocations: 1.003 MB / 0.7361 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000553/1.193, allocations: 258.2 kB / 0.7363 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004096/1.193, allocations: 160.8 kB / 0.7365 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/1.193, allocations: 36.5 kB / 0.7365 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of SimCode: time 1.172e-06/1.193, allocations: 0 / 0.7365 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of Templates: time 0.2125/1.406, allocations: 78.37 MB / 0.8131 GB, free: 238.8 MB / 0.5417 GB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134a_ASHRAE_TestModel_ph.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.9225905489875]