Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.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.00139/0.00139, 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.001646/0.001646, 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.9205/0.9205, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.03103/0.03103, allocations: 7.524 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.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 338.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.742e-05, allocations: 5.266 kB / 338.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.2197/0.2197, allocations: 130.1 MB / 468.8 MB, free: 9.965 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2503/0.47, allocations: 112.6 MB / 0.5678 GB, free: 3.023 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004573/0.4705, allocations: 10.16 kB / 0.5678 GB, free: 3.023 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00212/0.4726, allocations: 1.25 MB / 0.569 GB, free: 3.016 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002847/0.4754, allocations: 1.601 MB / 0.5706 GB, free: 3.004 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04946/0.5249, allocations: 31.77 MB / 0.6016 GB, free: 15.36 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001473/0.5264, allocations: 1.431 MB / 0.603 GB, free: 15.03 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.5266, allocations: 76.16 kB / 0.6031 GB, free: 15.02 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:621:5-621:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root Notification: Performance of NFEvalConstants.evaluate: time 0.0109/0.5375, allocations: 10.42 MB / 0.6132 GB, free: 12.11 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003817/0.5378, allocations: 337.3 kB / 0.6136 GB, free: 12 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.608e-05/0.5379, allocations: 46.5 kB / 0.6136 GB, free: 12 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0332/0.5711, allocations: 24.82 MB / 0.6378 GB, free: 3.285 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.5713, allocations: 130.9 kB / 0.638 GB, free: 3.215 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004121/0.5717, allocations: 217.9 kB / 0.6382 GB, free: 3.051 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03174/0.6035, allocations: 14.26 MB / 0.6521 GB, free: 8.145 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.6035, allocations: 0 / 0.6521 GB, free: 8.145 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6035, allocations: 0 / 0.6521 GB, free: 8.145 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.6035, allocations: 0 / 0.6521 GB, free: 8.145 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.004947/0.6084, allocations: 2.691 MB / 0.6547 GB, free: 5.418 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.6085, allocations: 8.625 kB / 0.6547 GB, free: 5.41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005333/0.609, allocations: 178.8 kB / 0.6549 GB, free: 5.238 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.6093, allocations: 283.2 kB / 0.6552 GB, free: 4.949 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.6094, allocations: 28.66 kB / 0.6552 GB, free: 4.922 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.6094, allocations: 36 kB / 0.6552 GB, free: 4.887 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007944/0.6102, allocations: 0.6067 MB / 0.6558 GB, free: 4.215 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.6102, allocations: 0 / 0.6558 GB, free: 4.215 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.6103, allocations: 16 kB / 0.6559 GB, free: 4.199 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.6103, allocations: 19.83 kB / 0.6559 GB, free: 4.184 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005124/0.6108, allocations: 281.8 kB / 0.6561 GB, free: 3.914 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.6123, allocations: 1.821 MB / 0.6579 GB, free: 2.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005429/0.6129, allocations: 275.7 kB / 0.6582 GB, free: 1.793 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003925/0.6133, allocations: 125 kB / 0.6583 GB, free: 1.668 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.119/0.7323, allocations: 41.69 MB / 0.699 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.7323, allocations: 40.33 kB / 0.6991 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=77): time 4.197e-06/0.7323, allocations: 3.984 kB / 0.6991 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of matching and sorting (n=81): time 0.003026/0.7353, allocations: 1.484 MB / 0.7005 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.7354, allocations: 58.03 kB / 0.7006 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.7356, allocations: 284.2 kB / 0.7008 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.7356, allocations: 37.69 kB / 0.7009 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/0.7359, allocations: 242.1 kB / 0.7011 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.7361, allocations: 278.7 kB / 0.7014 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.7362, allocations: 123.8 kB / 0.7015 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.7363, allocations: 0.5313 MB / 0.702 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.7364, allocations: 97.45 kB / 0.7021 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.7366, allocations: 263.9 kB / 0.7023 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.737, allocations: 410.7 kB / 0.7027 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.737, allocations: 0 / 0.7027 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0005644/0.7376, allocations: 0.4962 MB / 0.7032 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.7376, allocations: 11.94 kB / 0.7032 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.7376, allocations: 0 / 0.7032 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001873/0.7378, allocations: 59.33 kB / 0.7033 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/0.7382, allocations: 140.6 kB / 0.7034 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0361/0.7743, allocations: 18.91 MB / 0.7219 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.7745, allocations: 28.05 kB / 0.7219 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.7745, allocations: 12 kB / 0.7219 GB, free: 15.89 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.0004295/0.7749, allocations: 198 kB / 0.7221 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.611e-05/0.775, allocations: 47.77 kB / 0.7222 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.7763, allocations: 1.529 MB / 0.7237 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.7763, allocations: 13.7 kB / 0.7237 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.7763, allocations: 0 / 0.7237 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006341/0.777, allocations: 0.842 MB / 0.7245 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.778, allocations: 1.135 MB / 0.7256 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.7781, allocations: 0 / 0.7256 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.7782, allocations: 67.7 kB / 0.7257 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002095/0.7784, allocations: 141.9 kB / 0.7258 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.7784, allocations: 4 kB / 0.7258 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.7799, allocations: 3.371 MB / 0.7291 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7799, allocations: 3.938 kB / 0.7291 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007947/0.7807, allocations: 0.832 MB / 0.7299 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.7808, allocations: 39.7 kB / 0.7299 GB, free: 7.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.7808, allocations: 8 kB / 0.73 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.781, allocations: 15.98 kB / 0.73 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.919e-05/0.7811, allocations: 43.91 kB / 0.73 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.7811, allocations: 12 kB / 0.73 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001367/0.7812, allocations: 226.9 kB / 0.7302 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7812, allocations: 0 / 0.7302 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004733/0.7859, allocations: 2.438 MB / 0.7326 GB, free: 4.504 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.007781/0.7937, allocations: 3.768 MB / 0.7363 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001476/0.7952, allocations: 0.8129 MB / 0.7371 GB, free: 252 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7952, allocations: 0.75 kB / 0.7371 GB, free: 252 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.7956, allocations: 393.7 kB / 0.7375 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.7966, allocations: 381.5 kB / 0.7378 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.7981, allocations: 0.9948 MB / 0.7388 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.458e-05/0.7981, allocations: 127.4 kB / 0.7389 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002649/0.7984, allocations: 130.1 kB / 0.7391 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.854e-05/0.7985, allocations: 48.48 kB / 0.7391 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of SimCode: time 1.433e-06/0.7985, allocations: 0 / 0.7391 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of Templates: time 0.1642/0.9627, allocations: 78.91 MB / 0.8162 GB, free: 236.2 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.095974554074928]