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.001467/0.001467, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001647/0.001647, allocations: 173 kB / 23.49 MB, free: 1.062 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 0.8912/0.8912, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 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.03048/0.03048, allocations: 7.52 MB / 267.8 MB, free: 6.066 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.112e-06/1.112e-06, allocations: 0 / 338.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.248e-05, allocations: 2.312 kB / 338.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.207/0.207, allocations: 129.9 MB / 468.6 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2424/0.4494, allocations: 112.7 MB / 0.5677 GB, free: 3.062 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004563/0.4499, allocations: 7.828 kB / 0.5677 GB, free: 3.062 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00212/0.452, allocations: 1.27 MB / 0.569 GB, free: 3.055 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00252/0.4545, allocations: 1.625 MB / 0.5706 GB, free: 3.043 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04886/0.5034, allocations: 31.77 MB / 0.6016 GB, free: 15.47 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001516/0.5049, allocations: 1.446 MB / 0.603 GB, free: 15.15 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.5051, allocations: 80.69 kB / 0.6031 GB, free: 15.14 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000859/0.5059, allocations: 0.8358 MB / 0.6039 GB, free: 15.06 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003387/0.5063, allocations: 346.5 kB / 0.6042 GB, free: 15.01 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.36e-05/0.5063, allocations: 41.94 kB / 0.6043 GB, free: 15.01 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03279/0.5391, allocations: 24.38 MB / 0.6281 GB, free: 8.34 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000232/0.5393, allocations: 127.3 kB / 0.6282 GB, free: 8.297 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004079/0.5398, allocations: 224.5 kB / 0.6284 GB, free: 8.262 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03016/0.5699, allocations: 14.11 MB / 0.6422 GB, free: 1.633 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5699, allocations: 4 kB / 0.6422 GB, free: 1.629 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5699, allocations: 0 / 0.6422 GB, free: 1.629 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.639e-06/0.5699, allocations: 0 / 0.6422 GB, free: 1.629 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.004906/0.5748, allocations: 2.678 MB / 0.6448 GB, free: 14.91 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.5749, allocations: 12.61 kB / 0.6448 GB, free: 14.89 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005118/0.5754, allocations: 170.9 kB / 0.645 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.5757, allocations: 292.3 kB / 0.6453 GB, free: 14.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.5758, allocations: 28.66 kB / 0.6453 GB, free: 14.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.5758, allocations: 39.28 kB / 0.6453 GB, free: 14.37 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008019/0.5766, allocations: 0.5992 MB / 0.6459 GB, free: 13.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.5766, allocations: 11.92 kB / 0.6459 GB, free: 13.69 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.5767, allocations: 16 kB / 0.6459 GB, free: 13.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.5767, allocations: 14.5 kB / 0.646 GB, free: 13.66 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004979/0.5772, allocations: 278.5 kB / 0.6462 GB, free: 13.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.5787, allocations: 1.816 MB / 0.648 GB, free: 11.55 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005644/0.5792, allocations: 272.1 kB / 0.6483 GB, free: 11.28 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.5794, allocations: 129.2 kB / 0.6484 GB, free: 11.15 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09941/0.6788, allocations: 41.68 MB / 0.6891 GB, free: 1.625 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/0.6788, allocations: 45.67 kB / 0.6891 GB, free: 1.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=79): time 3.607e-06/0.6788, allocations: 0 / 0.6891 GB, free: 1.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.003058/0.6819, allocations: 1.474 MB / 0.6906 GB, free: 72 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.6819, allocations: 59.39 kB / 0.6906 GB, free: 0 / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.6821, allocations: 274.6 kB / 0.6909 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.6821, allocations: 29.7 kB / 0.6909 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/0.6822, allocations: 240.1 kB / 0.6911 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.6824, allocations: 288.5 kB / 0.6914 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.6825, allocations: 119.8 kB / 0.6915 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003739/0.6829, allocations: 0.5313 MB / 0.692 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.683, allocations: 97.45 kB / 0.6921 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.6832, allocations: 278.8 kB / 0.6924 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.6836, allocations: 411.1 kB / 0.6928 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6836, allocations: 0 / 0.6928 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0006014/0.6842, allocations: 0.4961 MB / 0.6933 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.6842, allocations: 4 kB / 0.6933 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.6842, allocations: 4 kB / 0.6933 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001903/0.6844, allocations: 63.33 kB / 0.6934 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.6846, allocations: 98.42 kB / 0.6934 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03547/0.7201, allocations: 15.74 MB / 0.7088 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.7203, allocations: 15.98 kB / 0.7088 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.7204, allocations: 21.5 kB / 0.7088 GB, free: 12.69 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.0001799/0.7205, allocations: 202.5 kB / 0.709 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.914e-05/0.7206, allocations: 47.77 kB / 0.7091 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.7218, allocations: 1.395 MB / 0.7104 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.7218, allocations: 17.23 kB / 0.7105 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.7218, allocations: 3.938 kB / 0.7105 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005376/0.7224, allocations: 0.7584 MB / 0.7112 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.7234, allocations: 1.034 MB / 0.7122 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.7234, allocations: 0 / 0.7122 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.7236, allocations: 74.52 kB / 0.7123 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001426/0.7237, allocations: 51.66 kB / 0.7123 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.7237, allocations: 4 kB / 0.7123 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000962/0.7247, allocations: 1.74 MB / 0.714 GB, free: 7.043 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.7247, allocations: 8.062 kB / 0.714 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006791/0.7254, allocations: 0.7261 MB / 0.7148 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.125e-05/0.7254, allocations: 39.66 kB / 0.7148 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.7254, allocations: 15.94 kB / 0.7148 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.7256, allocations: 15.98 kB / 0.7148 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.887e-05/0.7257, allocations: 43.92 kB / 0.7149 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.7257, allocations: 15.98 kB / 0.7149 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001377/0.7258, allocations: 229.9 kB / 0.7151 GB, free: 5.934 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.7258, allocations: 4.031 kB / 0.7151 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004571/0.7304, allocations: 2.438 MB / 0.7175 GB, free: 3.484 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.007114/0.7375, allocations: 3.682 MB / 0.7211 GB, free: 156 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009124/0.7384, allocations: 0.7107 MB / 0.7218 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.7384, allocations: 0 / 0.7218 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.7388, allocations: 390.2 kB / 0.7221 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.7398, allocations: 390.4 kB / 0.7225 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.7413, allocations: 0.9655 MB / 0.7235 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.041e-05/0.7414, allocations: 135.6 kB / 0.7236 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003011/0.7417, allocations: 158.2 kB / 0.7237 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.184e-05/0.7418, allocations: 44.48 kB / 0.7238 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of SimCode: time 1.443e-06/0.7418, allocations: 0 / 0.7238 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of Templates: time 0.1638/0.9056, allocations: 78.34 MB / 0.8003 GB, free: 251.7 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: 6.017640812089667]