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.001857/0.001857, allocations: 89.47 kB / 19.44 MB, free: 320 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.002077/0.002077, allocations: 169.2 kB / 22.76 MB, free: 1.641 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.575/1.575, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.05925/0.05925, allocations: 7.508 MB / 267.1 MB, free: 6.027 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.693e-06/1.693e-06, allocations: 0 / 338 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.708e-05, allocations: 4.422 kB / 338 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.3078/0.3078, allocations: 130 MB / 467.9 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3298/0.6376, allocations: 112.7 MB / 0.5671 GB, free: 3.371 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004705/0.6381, allocations: 12.19 kB / 0.5671 GB, free: 3.371 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002895/0.641, allocations: 1.265 MB / 0.5683 GB, free: 3.363 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004435/0.6454, allocations: 1.626 MB / 0.5699 GB, free: 3.352 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.06483/0.7102, allocations: 31.77 MB / 0.6009 GB, free: 15.79 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001752/0.712, allocations: 1.448 MB / 0.6023 GB, free: 15.46 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.7122, allocations: 81.47 kB / 0.6024 GB, free: 15.44 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.7134, allocations: 0.8326 MB / 0.6032 GB, free: 15.36 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004946/0.7138, allocations: 341.8 kB / 0.6036 GB, free: 15.32 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.595e-05/0.7139, allocations: 46.06 kB / 0.6036 GB, free: 15.32 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04512/0.759, allocations: 24.38 MB / 0.6274 GB, free: 8.625 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.7593, allocations: 131.8 kB / 0.6275 GB, free: 8.578 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004894/0.7598, allocations: 223.1 kB / 0.6278 GB, free: 8.543 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03845/0.7982, allocations: 14.4 MB / 0.6418 GB, free: 1.773 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7982, allocations: 0 / 0.6418 GB, free: 1.773 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.7982, allocations: 0 / 0.6418 GB, free: 1.773 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.7982, allocations: 0 / 0.6418 GB, free: 1.773 MB / 442.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.006784/0.805, allocations: 2.718 MB / 0.6445 GB, free: 15.02 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.8051, allocations: 8.625 kB / 0.6445 GB, free: 15.01 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007555/0.8058, allocations: 170.9 kB / 0.6446 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005215/0.8063, allocations: 296.9 kB / 0.6449 GB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.8064, allocations: 32.66 kB / 0.645 GB, free: 14.51 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-05/0.8065, allocations: 36 kB / 0.645 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.8079, allocations: 0.6801 MB / 0.6457 GB, free: 13.73 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.8079, allocations: 3.938 kB / 0.6457 GB, free: 13.73 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.226e-05/0.8079, allocations: 12 kB / 0.6457 GB, free: 13.72 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/0.808, allocations: 22.8 kB / 0.6457 GB, free: 13.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.8092, allocations: 421.1 kB / 0.6461 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003006/0.8122, allocations: 1.959 MB / 0.648 GB, free: 11.31 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.8132, allocations: 364.9 kB / 0.6484 GB, free: 10.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/0.8137, allocations: 183.2 kB / 0.6485 GB, free: 10.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2331/1.047, allocations: 41.69 MB / 0.6892 GB, free: 1.215 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/1.047, allocations: 40.3 kB / 0.6893 GB, free: 1.168 MB / 490.7 MB Notification: Performance of pre-optimization done (n=79): time 2.966e-06/1.047, allocations: 0 / 0.6893 GB, free: 1.168 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.006007/1.053, allocations: 1.739 MB / 0.691 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/1.053, allocations: 58.31 kB / 0.691 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/1.053, allocations: 314.6 kB / 0.6913 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/1.053, allocations: 33.69 kB / 0.6914 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/1.054, allocations: 254.2 kB / 0.6916 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000323/1.054, allocations: 314.8 kB / 0.6919 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/1.054, allocations: 143.8 kB / 0.692 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003447/1.054, allocations: 0.5586 MB / 0.6926 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/1.055, allocations: 149.4 kB / 0.6927 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006179/1.055, allocations: 359.5 kB / 0.6931 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/1.057, allocations: 0.5596 MB / 0.6936 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/1.057, allocations: 0 / 0.6936 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001484/1.058, allocations: 0.6181 MB / 0.6942 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/1.058, allocations: 4 kB / 0.6942 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.058, allocations: 4 kB / 0.6942 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003368/1.058, allocations: 71.33 kB / 0.6943 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/1.059, allocations: 91.83 kB / 0.6944 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07674/1.136, allocations: 16.17 MB / 0.7102 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004244/1.136, allocations: 23.98 kB / 0.7102 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.606e-05/1.136, allocations: 17.38 kB / 0.7102 GB, free: 11.04 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.0003998/1.136, allocations: 244.2 kB / 0.7105 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/1.137, allocations: 55.83 kB / 0.7105 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/1.14, allocations: 1.792 MB / 0.7123 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.762e-05/1.14, allocations: 13.62 kB / 0.7123 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/1.14, allocations: 0 / 0.7123 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001362/1.141, allocations: 0.8473 MB / 0.7131 GB, free: 7.918 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/1.143, allocations: 1.214 MB / 0.7143 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/1.143, allocations: 0 / 0.7143 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003464/1.144, allocations: 75.14 kB / 0.7144 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002701/1.144, allocations: 55.62 kB / 0.7144 GB, free: 6.539 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/1.144, allocations: 4.5 kB / 0.7144 GB, free: 6.535 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/1.146, allocations: 1.826 MB / 0.7162 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/1.146, allocations: 3.938 kB / 0.7162 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/1.148, allocations: 0.9059 MB / 0.7171 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/1.148, allocations: 39.66 kB / 0.7171 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.859e-05/1.148, allocations: 16.03 kB / 0.7171 GB, free: 3.602 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/1.148, allocations: 19.98 kB / 0.7172 GB, free: 3.582 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/1.148, allocations: 43.92 kB / 0.7172 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/1.148, allocations: 19.98 kB / 0.7172 GB, free: 3.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003465/1.149, allocations: 271 kB / 0.7175 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/1.149, allocations: 0 / 0.7175 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006901/1.155, allocations: 2.434 MB / 0.7198 GB, free: 0.8125 MB / 0.5105 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.01238/1.168, allocations: 3.69 MB / 0.7235 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002074/1.17, allocations: 0.8445 MB / 0.7243 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.17, allocations: 0 / 0.7243 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/1.171, allocations: 445.8 kB / 0.7247 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/1.173, allocations: 398 kB / 0.7251 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/1.175, allocations: 1.015 MB / 0.7261 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/1.176, allocations: 250.3 kB / 0.7263 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004605/1.176, allocations: 160.9 kB / 0.7265 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/1.176, allocations: 43.69 kB / 0.7265 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of SimCode: time 1.222e-06/1.176, allocations: 4 kB / 0.7265 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of Templates: time 0.2201/1.396, allocations: 78.34 MB / 0.803 GB, free: 247.1 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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.831994706997648]