Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.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.001914/0.001914, allocations: 84.73 kB / 19.44 MB, free: 356 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.00253/0.00253, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.495/1.495, allocations: 177.1 MB / 203.1 MB, free: 5.574 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.05183/0.05183, allocations: 7.524 MB / 267.1 MB, free: 6.039 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.PentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 338 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.394e-05, allocations: 5.125 kB / 338 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.2935/0.2935, allocations: 114.8 MB / 452.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1275/0.4211, allocations: 98.71 MB / 0.5385 GB, free: 4.676 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005304/0.4216, allocations: 7.938 kB / 0.5385 GB, free: 4.668 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003368/0.425, allocations: 1.273 MB / 0.5398 GB, free: 3.391 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003988/0.429, allocations: 1.609 MB / 0.5414 GB, free: 1.773 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.2745/0.7035, allocations: 31.76 MB / 0.5724 GB, free: 14.45 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001713/0.7052, allocations: 1.452 MB / 0.5738 GB, free: 14.11 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.7054, allocations: 77.53 kB / 0.5739 GB, free: 14.1 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/0.7067, allocations: 0.8372 MB / 0.5747 GB, free: 14.02 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004854/0.7072, allocations: 341.6 kB / 0.575 GB, free: 13.98 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.936e-05/0.7072, allocations: 43.09 kB / 0.575 GB, free: 13.98 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04291/0.7501, allocations: 24.39 MB / 0.5989 GB, free: 12.64 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002886/0.7504, allocations: 123.6 kB / 0.599 GB, free: 12.62 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005397/0.751, allocations: 218.7 kB / 0.5992 GB, free: 12.6 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03742/0.7884, allocations: 14.4 MB / 0.6133 GB, free: 9.125 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7884, allocations: 0 / 0.6133 GB, free: 9.125 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.7884, allocations: 0 / 0.6133 GB, free: 9.125 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.7884, allocations: 3.938 kB / 0.6133 GB, free: 9.121 MB / 426.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.005911/0.7943, allocations: 2.585 MB / 0.6158 GB, free: 7.488 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.7943, allocations: 10.12 kB / 0.6158 GB, free: 7.488 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007062/0.7951, allocations: 169 kB / 0.616 GB, free: 7.402 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004409/0.7955, allocations: 288.4 kB / 0.6162 GB, free: 7.211 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.7955, allocations: 35.38 kB / 0.6163 GB, free: 7.207 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.73e-05/0.7956, allocations: 36 kB / 0.6163 GB, free: 7.207 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.7968, allocations: 0.7621 MB / 0.617 GB, free: 6.824 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.7968, allocations: 2.344 kB / 0.617 GB, free: 6.824 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.293e-05/0.7969, allocations: 15.5 kB / 0.6171 GB, free: 6.824 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.7969, allocations: 15.39 kB / 0.6171 GB, free: 6.824 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.7981, allocations: 0.5594 MB / 0.6176 GB, free: 6.723 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.8, allocations: 1.641 MB / 0.6192 GB, free: 5.773 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.8011, allocations: 494.5 kB / 0.6197 GB, free: 5.684 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004718/0.8016, allocations: 313.9 kB / 0.62 GB, free: 5.633 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2235/1.025, allocations: 44.11 MB / 0.6631 GB, free: 13.63 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/1.025, allocations: 41.52 kB / 0.6631 GB, free: 13.59 MB / 474.7 MB Notification: Performance of pre-optimization done (n=79): time 3.115e-06/1.025, allocations: 0 / 0.6631 GB, free: 13.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=83): time 0.007342/1.033, allocations: 2.276 MB / 0.6653 GB, free: 11.88 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/1.033, allocations: 59.39 kB / 0.6654 GB, free: 11.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/1.033, allocations: 222.7 kB / 0.6656 GB, free: 11.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.296e-05/1.033, allocations: 32.77 kB / 0.6656 GB, free: 11.58 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/1.033, allocations: 198.2 kB / 0.6658 GB, free: 11.41 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00026/1.033, allocations: 280.5 kB / 0.6661 GB, free: 11.17 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/1.034, allocations: 97.86 kB / 0.6662 GB, free: 11.11 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002079/1.034, allocations: 346.9 kB / 0.6665 GB, free: 10.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005514/1.034, allocations: 280 kB / 0.6668 GB, free: 10.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006706/1.035, allocations: 410.8 kB / 0.6672 GB, free: 10.27 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/1.037, allocations: 0.7175 MB / 0.6679 GB, free: 9.777 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/1.037, allocations: 4 kB / 0.6679 GB, free: 9.773 MB / 474.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001736/1.038, allocations: 0.8248 MB / 0.6687 GB, free: 9.203 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/1.038, allocations: 8 kB / 0.6687 GB, free: 9.195 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/1.038, allocations: 4 kB / 0.6687 GB, free: 9.191 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003284/1.039, allocations: 63.36 kB / 0.6687 GB, free: 9.137 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/1.039, allocations: 103.8 kB / 0.6688 GB, free: 9.047 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07503/1.114, allocations: 16.14 MB / 0.6846 GB, free: 9.281 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005166/1.115, allocations: 31.92 kB / 0.6846 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.709e-05/1.115, allocations: 29.84 kB / 0.6847 GB, free: 9.223 MB / 490.7 MB 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.0004208/1.115, allocations: 184.7 kB / 0.6848 GB, free: 9.039 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/1.115, allocations: 63.66 kB / 0.6849 GB, free: 8.977 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002724/1.118, allocations: 1.579 MB / 0.6864 GB, free: 7.336 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.723e-05/1.118, allocations: 14.11 kB / 0.6865 GB, free: 7.324 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.118, allocations: 3.984 kB / 0.6865 GB, free: 7.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00187/1.12, allocations: 1.168 MB / 0.6876 GB, free: 6.066 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/1.123, allocations: 1.488 MB / 0.6891 GB, free: 4.551 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/1.123, allocations: 0 / 0.6891 GB, free: 4.551 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/1.123, allocations: 83.03 kB / 0.6891 GB, free: 4.473 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002991/1.124, allocations: 56.39 kB / 0.6892 GB, free: 4.418 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.733e-05/1.124, allocations: 8 kB / 0.6892 GB, free: 4.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/1.125, allocations: 1.295 MB / 0.6905 GB, free: 3.016 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.125, allocations: 0 / 0.6905 GB, free: 3.016 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002603/1.128, allocations: 1.215 MB / 0.6916 GB, free: 1.781 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/1.128, allocations: 47.67 kB / 0.6917 GB, free: 1.734 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.824e-05/1.128, allocations: 12 kB / 0.6917 GB, free: 1.723 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/1.129, allocations: 28.03 kB / 0.6917 GB, free: 1.695 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/1.129, allocations: 47.86 kB / 0.6918 GB, free: 1.648 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/1.129, allocations: 16 kB / 0.6918 GB, free: 1.633 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003226/1.129, allocations: 219.1 kB / 0.692 GB, free: 1.414 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/1.129, allocations: 0 / 0.692 GB, free: 1.414 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008316/1.138, allocations: 2.442 MB / 0.6944 GB, free: 14.96 MB / 0.4948 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.01431/1.152, allocations: 3.685 MB / 0.698 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00241/1.154, allocations: 0.8982 MB / 0.6989 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.154, allocations: 0 / 0.6989 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/1.155, allocations: 486.2 kB / 0.6993 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/1.158, allocations: 390.5 kB / 0.6997 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/1.16, allocations: 1.11 MB / 0.7008 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/1.161, allocations: 242.3 kB / 0.701 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007001/1.161, allocations: 155.1 kB / 0.7012 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/1.161, allocations: 48.48 kB / 0.7012 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of SimCode: time 2.454e-06/1.161, allocations: 3.281 kB / 0.7012 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of Templates: time 0.2573/1.419, allocations: 77.9 MB / 0.7773 GB, free: 275.3 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.555292656063102]