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.001946/0.001946, allocations: 85.48 kB / 19.44 MB, free: 336 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.002112/0.002112, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.557/1.557, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.05835/0.05835, allocations: 7.51 MB / 267.1 MB, free: 6.031 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.112e-06/1.112e-06, allocations: 0 / 338 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.7e-05, allocations: 2.312 kB / 338 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.2686/0.2686, allocations: 130.1 MB / 468.1 MB, free: 10.03 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3306/0.5993, allocations: 112.7 MB / 0.5671 GB, free: 2.93 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005193/0.5998, allocations: 11.95 kB / 0.5671 GB, free: 2.93 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002658/0.6025, allocations: 1.239 MB / 0.5683 GB, free: 2.922 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003393/0.6059, allocations: 1.601 MB / 0.5699 GB, free: 2.91 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.06743/0.6733, allocations: 31.77 MB / 0.6009 GB, free: 15.27 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001967/0.6753, allocations: 1.438 MB / 0.6023 GB, free: 14.94 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.6755, allocations: 74.42 kB / 0.6024 GB, free: 14.93 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.01626/0.6917, allocations: 10.42 MB / 0.6126 GB, free: 11.99 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005325/0.6922, allocations: 334.7 kB / 0.6129 GB, free: 11.89 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.951e-05/0.6923, allocations: 42.44 kB / 0.6129 GB, free: 11.89 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04779/0.7401, allocations: 24.83 MB / 0.6372 GB, free: 3.207 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002817/0.7404, allocations: 129.1 kB / 0.6373 GB, free: 3.137 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005749/0.741, allocations: 226.3 kB / 0.6375 GB, free: 2.973 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04103/0.782, allocations: 14.55 MB / 0.6517 GB, free: 7.918 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.782, allocations: 0 / 0.6517 GB, free: 7.918 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.782, allocations: 4 kB / 0.6517 GB, free: 7.914 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.782, allocations: 0 / 0.6517 GB, free: 7.914 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.006545/0.7886, allocations: 2.718 MB / 0.6544 GB, free: 5.156 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.7886, allocations: 12.62 kB / 0.6544 GB, free: 5.145 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007478/0.7893, allocations: 170 kB / 0.6546 GB, free: 4.98 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005201/0.7899, allocations: 285.8 kB / 0.6548 GB, free: 4.688 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.72e-05/0.7899, allocations: 35.94 kB / 0.6549 GB, free: 4.656 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.057e-05/0.79, allocations: 32 kB / 0.6549 GB, free: 4.625 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.7914, allocations: 0.6843 MB / 0.6556 GB, free: 3.879 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.7914, allocations: 0 / 0.6556 GB, free: 3.879 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.76e-05/0.7915, allocations: 16 kB / 0.6556 GB, free: 3.863 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.7915, allocations: 18.66 kB / 0.6556 GB, free: 3.848 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.7927, allocations: 420.3 kB / 0.656 GB, free: 3.445 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003163/0.7959, allocations: 1.983 MB / 0.6579 GB, free: 1.441 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009998/0.7969, allocations: 342.5 kB / 0.6583 GB, free: 1.098 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004271/0.7973, allocations: 188.9 kB / 0.6584 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2252/1.023, allocations: 41.69 MB / 0.6992 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.429e-05/1.023, allocations: 45.33 kB / 0.6992 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=77): time 2.625e-06/1.023, allocations: 4 kB / 0.6992 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of matching and sorting (n=81): time 0.005894/1.028, allocations: 1.744 MB / 0.7009 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/1.029, allocations: 59.39 kB / 0.701 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/1.029, allocations: 324.2 kB / 0.7013 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/1.029, allocations: 37.7 kB / 0.7013 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/1.029, allocations: 252.1 kB / 0.7015 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002992/1.029, allocations: 308.1 kB / 0.7018 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/1.03, allocations: 147.8 kB / 0.702 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003648/1.03, allocations: 0.5625 MB / 0.7025 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004042/1.03, allocations: 157.4 kB / 0.7027 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000599/1.031, allocations: 346.5 kB / 0.703 GB, free: 3.258 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/1.032, allocations: 0.5501 MB / 0.7035 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.032, allocations: 0 / 0.7035 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0014/1.034, allocations: 0.6276 MB / 0.7042 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.034, allocations: 10.19 kB / 0.7042 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.034, allocations: 0 / 0.7042 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003266/1.034, allocations: 71.33 kB / 0.7042 GB, free: 1.957 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007329/1.035, allocations: 133.2 kB / 0.7044 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07763/1.112, allocations: 19.38 MB / 0.7233 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/1.113, allocations: 23.98 kB / 0.7233 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/1.113, allocations: 16 kB / 0.7233 GB, free: 13.83 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.000329/1.113, allocations: 230.9 kB / 0.7236 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/1.113, allocations: 51.77 kB / 0.7236 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002961/1.116, allocations: 1.918 MB / 0.7255 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/1.116, allocations: 13.59 kB / 0.7255 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/1.116, allocations: 0 / 0.7255 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001474/1.118, allocations: 0.9335 MB / 0.7264 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/1.12, allocations: 1.301 MB / 0.7277 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.12, allocations: 4 kB / 0.7277 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/1.12, allocations: 67.14 kB / 0.7277 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003993/1.121, allocations: 149.6 kB / 0.7279 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/1.121, allocations: 7.984 kB / 0.7279 GB, free: 8.941 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003/1.124, allocations: 3.451 MB / 0.7313 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.124, allocations: 8.188 kB / 0.7313 GB, free: 5.312 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/1.126, allocations: 1.011 MB / 0.7323 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.809e-05/1.126, allocations: 39.69 kB / 0.7323 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/1.126, allocations: 12.06 kB / 0.7323 GB, free: 4.223 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/1.126, allocations: 27.95 kB / 0.7323 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/1.126, allocations: 39.92 kB / 0.7324 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/1.126, allocations: 19.98 kB / 0.7324 GB, free: 4.137 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002936/1.126, allocations: 254.9 kB / 0.7326 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/1.126, allocations: 3.188 kB / 0.7326 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00641/1.133, allocations: 2.434 MB / 0.735 GB, free: 1.449 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.01108/1.144, allocations: 3.763 MB / 0.7387 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002469/1.146, allocations: 0.9504 MB / 0.7396 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.146, allocations: 0 / 0.7396 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000834/1.147, allocations: 464.2 kB / 0.7401 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002062/1.149, allocations: 376.8 kB / 0.7404 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/1.151, allocations: 1.036 MB / 0.7414 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/1.152, allocations: 246.2 kB / 0.7417 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003729/1.152, allocations: 129.8 kB / 0.7418 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/1.152, allocations: 44.48 kB / 0.7418 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of SimCode: time 1.142e-06/1.152, allocations: 0 / 0.7418 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of Templates: time 0.2526/1.405, allocations: 78.89 MB / 0.8189 GB, free: 231.7 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: 13.22952437098138]