Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.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.00193/0.00193, 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.002125/0.002125, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.564/1.564, 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.05895/0.05895, allocations: 7.518 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.ButaneTestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 338 MB, free: 11.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.496e-05, allocations: 2.312 kB / 338 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph): time 0.2926/0.2926, allocations: 143.5 MB / 481.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.316/0.6087, allocations: 99.26 MB / 0.5671 GB, free: 3.188 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005176/0.6092, allocations: 8.906 kB / 0.5671 GB, free: 3.188 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002765/0.612, allocations: 1.246 MB / 0.5683 GB, free: 3.18 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003392/0.6154, allocations: 1.605 MB / 0.5699 GB, free: 3.168 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.06656/0.6819, allocations: 31.78 MB / 0.6009 GB, free: 15.53 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002009/0.6839, allocations: 1.427 MB / 0.6023 GB, free: 15.2 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.6842, allocations: 85.42 kB / 0.6024 GB, free: 15.19 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.01723/0.7014, allocations: 10.43 MB / 0.6126 GB, free: 12.23 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006913/0.7021, allocations: 346.3 kB / 0.6129 GB, free: 12.13 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.085e-05/0.7022, allocations: 42.44 kB / 0.613 GB, free: 12.13 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0503/0.7525, allocations: 24.86 MB / 0.6373 GB, free: 3.395 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002978/0.7528, allocations: 129.8 kB / 0.6374 GB, free: 3.324 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000525/0.7533, allocations: 210.7 kB / 0.6376 GB, free: 3.168 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0426/0.7959, allocations: 14.55 MB / 0.6518 GB, free: 8.105 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7959, allocations: 0 / 0.6518 GB, free: 8.105 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.7959, allocations: 0 / 0.6518 GB, free: 8.105 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.7959, allocations: 4 kB / 0.6518 GB, free: 8.102 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.007523/0.8034, allocations: 2.714 MB / 0.6545 GB, free: 5.348 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.8035, allocations: 8.625 kB / 0.6545 GB, free: 5.34 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008112/0.8043, allocations: 174.8 kB / 0.6546 GB, free: 5.168 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005406/0.8048, allocations: 295.4 kB / 0.6549 GB, free: 4.871 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.75e-05/0.8049, allocations: 32.64 kB / 0.6549 GB, free: 4.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.376e-05/0.8049, allocations: 36 kB / 0.655 GB, free: 4.805 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.8064, allocations: 0.6803 MB / 0.6556 GB, free: 4.062 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.8064, allocations: 0 / 0.6556 GB, free: 4.062 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/0.8064, allocations: 19.98 kB / 0.6557 GB, free: 4.043 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.8064, allocations: 15.91 kB / 0.6557 GB, free: 4.031 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.8077, allocations: 420.9 kB / 0.6561 GB, free: 3.629 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.8105, allocations: 1.958 MB / 0.658 GB, free: 1.641 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.8116, allocations: 354.9 kB / 0.6583 GB, free: 1.289 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000416/0.812, allocations: 189.2 kB / 0.6585 GB, free: 1.102 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2368/1.049, allocations: 41.69 MB / 0.6992 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.623e-05/1.049, allocations: 45.61 kB / 0.6993 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=78): time 2.915e-06/1.049, allocations: 4 kB / 0.6993 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.005907/1.055, allocations: 1.741 MB / 0.701 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/1.055, allocations: 59.39 kB / 0.701 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/1.055, allocations: 318.5 kB / 0.7013 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.996e-05/1.055, allocations: 41.7 kB / 0.7014 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004354/1.056, allocations: 244.1 kB / 0.7016 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003262/1.056, allocations: 307.7 kB / 0.7019 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/1.056, allocations: 147.8 kB / 0.702 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003722/1.057, allocations: 0.5586 MB / 0.7026 GB, free: 4.008 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/1.057, allocations: 157.4 kB / 0.7027 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006414/1.058, allocations: 366.9 kB / 0.7031 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/1.059, allocations: 0.5736 MB / 0.7036 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.059, allocations: 0 / 0.7036 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001509/1.06, allocations: 0.6173 MB / 0.7042 GB, free: 2.195 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/1.06, allocations: 4 kB / 0.7042 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/1.06, allocations: 4 kB / 0.7043 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003476/1.061, allocations: 71.7 kB / 0.7043 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006824/1.061, allocations: 126.4 kB / 0.7044 GB, free: 1.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07798/1.139, allocations: 18.47 MB / 0.7225 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/1.14, allocations: 19.98 kB / 0.7225 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.913e-05/1.14, allocations: 28.05 kB / 0.7225 GB, free: 14.92 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {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.000556/1.14, allocations: 234.5 kB / 0.7227 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/1.14, allocations: 55.72 kB / 0.7228 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002986/1.143, allocations: 1.822 MB / 0.7246 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.536e-05/1.143, allocations: 15.61 kB / 0.7246 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.143, allocations: 7.984 kB / 0.7246 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001421/1.145, allocations: 0.8505 MB / 0.7254 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002358/1.147, allocations: 1.25 MB / 0.7267 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.147, allocations: 0 / 0.7267 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/1.148, allocations: 70.59 kB / 0.7267 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003318/1.148, allocations: 93.16 kB / 0.7268 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/1.148, allocations: 15.98 kB / 0.7268 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002241/1.15, allocations: 2.633 MB / 0.7294 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.15, allocations: 192 / 0.7294 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/1.152, allocations: 0.9486 MB / 0.7303 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/1.152, allocations: 43.7 kB / 0.7304 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/1.152, allocations: 4 kB / 0.7304 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/1.153, allocations: 15.98 kB / 0.7304 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/1.153, allocations: 48.02 kB / 0.7304 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/1.153, allocations: 20 kB / 0.7304 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003551/1.153, allocations: 274.9 kB / 0.7307 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.01e-07/1.153, allocations: 0 / 0.7307 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006573/1.16, allocations: 2.442 MB / 0.7331 GB, free: 3.699 MB / 0.5261 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 (38): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.01365/1.174, allocations: 3.766 MB / 0.7368 GB, free: 288 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002606/1.176, allocations: 0.8991 MB / 0.7377 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.176, allocations: 4 kB / 0.7377 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009698/1.177, allocations: 452.6 kB / 0.7381 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/1.179, allocations: 372.5 kB / 0.7384 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/1.181, allocations: 1.025 MB / 0.7394 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/1.182, allocations: 245.3 kB / 0.7397 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004399/1.182, allocations: 137.6 kB / 0.7398 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/1.182, allocations: 40.5 kB / 0.7398 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of SimCode: time 1.443e-06/1.182, allocations: 0 / 0.7398 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of Templates: time 0.2135/1.396, allocations: 78.61 MB / 0.8166 GB, free: 234.1 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 12.97570067702327]