Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.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.002315/0.002315, 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.003137/0.003137, 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.561/1.561, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.05946/0.05946, allocations: 7.514 MB / 267.1 MB, free: 6.035 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.IsopentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 338 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.485e-05, allocations: 2.312 kB / 338 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.2851/0.2851, allocations: 129.9 MB / 467.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3306/0.6157, allocations: 112.6 MB / 0.5669 GB, free: 3.094 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000474/0.6162, allocations: 10.92 kB / 0.5669 GB, free: 3.094 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002699/0.6189, allocations: 1.243 MB / 0.5681 GB, free: 3.086 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003748/0.6226, allocations: 1.61 MB / 0.5697 GB, free: 3.07 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.06441/0.687, allocations: 31.48 MB / 0.6004 GB, free: 15.44 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001886/0.6889, allocations: 1.434 MB / 0.6018 GB, free: 15.1 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.6891, allocations: 86 kB / 0.6019 GB, free: 15.09 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01744/0.7066, allocations: 11.18 MB / 0.6128 GB, free: 12.12 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006741/0.7073, allocations: 346.8 kB / 0.6131 GB, free: 12.02 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.458e-05/0.7073, allocations: 41.47 kB / 0.6132 GB, free: 12.02 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04598/0.7533, allocations: 24.05 MB / 0.6367 GB, free: 4.176 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002659/0.7536, allocations: 127.9 kB / 0.6368 GB, free: 4.105 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005587/0.7541, allocations: 218.1 kB / 0.637 GB, free: 3.945 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04196/0.7961, allocations: 14.4 MB / 0.6511 GB, free: 8.449 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7961, allocations: 0 / 0.6511 GB, free: 8.449 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.7961, allocations: 4 kB / 0.6511 GB, free: 8.445 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.7961, allocations: 0 / 0.6511 GB, free: 8.445 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.00683/0.8029, allocations: 2.713 MB / 0.6537 GB, free: 5.691 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.803, allocations: 8.625 kB / 0.6537 GB, free: 5.684 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008197/0.8038, allocations: 177.5 kB / 0.6539 GB, free: 5.512 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005425/0.8044, allocations: 289 kB / 0.6542 GB, free: 5.219 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.8044, allocations: 32.66 kB / 0.6542 GB, free: 5.188 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.806e-05/0.8045, allocations: 32 kB / 0.6542 GB, free: 5.156 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.8059, allocations: 0.6844 MB / 0.6549 GB, free: 4.41 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.806, allocations: 0 / 0.6549 GB, free: 4.41 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.493e-05/0.806, allocations: 16 kB / 0.6549 GB, free: 4.395 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.806, allocations: 23.03 kB / 0.6549 GB, free: 4.375 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.8072, allocations: 421.2 kB / 0.6553 GB, free: 3.973 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/0.8104, allocations: 1.972 MB / 0.6573 GB, free: 1.977 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.8114, allocations: 347 kB / 0.6576 GB, free: 1.629 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004176/0.8118, allocations: 184.9 kB / 0.6578 GB, free: 1.445 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2326/1.044, allocations: 41.69 MB / 0.6985 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.891e-05/1.045, allocations: 49.33 kB / 0.6985 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=77): time 2.214e-06/1.045, allocations: 0 / 0.6985 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of matching and sorting (n=81): time 0.00593/1.05, allocations: 1.753 MB / 0.7002 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/1.051, allocations: 55.41 kB / 0.7003 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003897/1.051, allocations: 324.2 kB / 0.7006 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.536e-05/1.051, allocations: 37.7 kB / 0.7006 GB, free: 5.605 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/1.051, allocations: 256 kB / 0.7009 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/1.051, allocations: 300.8 kB / 0.7012 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/1.052, allocations: 147.8 kB / 0.7013 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003663/1.052, allocations: 0.5625 MB / 0.7018 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/1.052, allocations: 153.4 kB / 0.702 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006199/1.053, allocations: 351.1 kB / 0.7023 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/1.054, allocations: 0.549 MB / 0.7029 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.054, allocations: 2.125 kB / 0.7029 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001467/1.056, allocations: 0.6185 MB / 0.7035 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.056, allocations: 8 kB / 0.7035 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/1.056, allocations: 4 kB / 0.7035 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003507/1.056, allocations: 75.33 kB / 0.7036 GB, free: 2.492 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007464/1.057, allocations: 136.8 kB / 0.7037 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07853/1.135, allocations: 18.91 MB / 0.7222 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005946/1.136, allocations: 23.98 kB / 0.7222 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.693e-05/1.136, allocations: 16.06 kB / 0.7222 GB, free: 14.84 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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.0005193/1.136, allocations: 234.7 kB / 0.7224 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/1.137, allocations: 51.77 kB / 0.7225 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003046/1.14, allocations: 1.916 MB / 0.7243 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.492e-05/1.14, allocations: 14.33 kB / 0.7243 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.14, allocations: 4 kB / 0.7244 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001463/1.141, allocations: 0.9328 MB / 0.7253 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/1.144, allocations: 1.313 MB / 0.7265 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.144, allocations: 0 / 0.7265 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003193/1.144, allocations: 63.16 kB / 0.7266 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004045/1.144, allocations: 146.1 kB / 0.7267 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/1.144, allocations: 16.06 kB / 0.7268 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002817/1.147, allocations: 3.453 MB / 0.7301 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.147, allocations: 3.938 kB / 0.7301 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/1.149, allocations: 1.014 MB / 0.7311 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/1.149, allocations: 39.69 kB / 0.7312 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.938e-05/1.149, allocations: 12.05 kB / 0.7312 GB, free: 5.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/1.15, allocations: 20 kB / 0.7312 GB, free: 5.195 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/1.15, allocations: 47.91 kB / 0.7312 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/1.15, allocations: 11.98 kB / 0.7313 GB, free: 5.137 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003008/1.15, allocations: 258.9 kB / 0.7315 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/1.15, allocations: 0 / 0.7315 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00664/1.157, allocations: 2.434 MB / 0.7339 GB, free: 2.445 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse4.phase,$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 (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01188/1.169, allocations: 3.702 MB / 0.7375 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002665/1.171, allocations: 0.938 MB / 0.7384 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.171, allocations: 0 / 0.7384 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008932/1.172, allocations: 467.4 kB / 0.7389 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/1.174, allocations: 374.5 kB / 0.7392 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/1.177, allocations: 1.037 MB / 0.7402 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/1.177, allocations: 242.2 kB / 0.7405 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004052/1.177, allocations: 137.2 kB / 0.7406 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/1.177, allocations: 48.48 kB / 0.7406 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of SimCode: time 1.113e-06/1.177, allocations: 0 / 0.7406 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of Templates: time 0.2453/1.423, allocations: 78.86 MB / 0.8176 GB, free: 233 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 12.441503115929663]