Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.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.002523/0.002523, allocations: 85.48 kB / 19.44 MB, free: 340 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.003068/0.003068, allocations: 169.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.581/1.581, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.05862/0.05862, allocations: 7.504 MB / 267.1 MB, free: 6.039 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_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 338 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.777e-05, allocations: 4.984 kB / 338 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.3204/0.3204, allocations: 143.5 MB / 481.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.3274/0.6478, allocations: 99.26 MB / 0.5671 GB, free: 3.098 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004882/0.6483, allocations: 9.25 kB / 0.5671 GB, free: 3.098 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002732/0.651, allocations: 1.245 MB / 0.5683 GB, free: 3.09 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003495/0.6545, allocations: 1.606 MB / 0.5699 GB, free: 3.074 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0672/0.7217, allocations: 31.79 MB / 0.601 GB, free: 15.43 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002612/0.7243, allocations: 1.442 MB / 0.6024 GB, free: 15.11 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003169/0.7246, allocations: 78.19 kB / 0.6024 GB, free: 15.09 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.0172/0.7418, allocations: 10.43 MB / 0.6126 GB, free: 12.14 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005264/0.7424, allocations: 342.8 kB / 0.6129 GB, free: 12.04 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.802e-05/0.7424, allocations: 42.47 kB / 0.613 GB, free: 12.04 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0482/0.7906, allocations: 25.57 MB / 0.638 GB, free: 2.887 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.7909, allocations: 136.9 kB / 0.6381 GB, free: 2.816 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005081/0.7914, allocations: 220.1 kB / 0.6383 GB, free: 2.652 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04079/0.8322, allocations: 15.03 MB / 0.653 GB, free: 6.91 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.8322, allocations: 0 / 0.653 GB, free: 6.91 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.8322, allocations: 4 kB / 0.653 GB, free: 6.906 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.8322, allocations: 0 / 0.653 GB, free: 6.906 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.006728/0.8389, allocations: 2.815 MB / 0.6557 GB, free: 4.055 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.839, allocations: 8.625 kB / 0.6557 GB, free: 4.047 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006469/0.8396, allocations: 147.1 kB / 0.6559 GB, free: 3.902 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005279/0.8401, allocations: 288.7 kB / 0.6561 GB, free: 3.609 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.533e-05/0.8402, allocations: 28.66 kB / 0.6562 GB, free: 3.582 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.388e-05/0.8402, allocations: 36 kB / 0.6562 GB, free: 3.547 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.8415, allocations: 0.6736 MB / 0.6569 GB, free: 2.812 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.8416, allocations: 0 / 0.6569 GB, free: 2.812 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.387e-05/0.8416, allocations: 16 kB / 0.6569 GB, free: 2.797 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/0.8416, allocations: 19.05 kB / 0.6569 GB, free: 2.781 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.8427, allocations: 393.3 kB / 0.6573 GB, free: 2.406 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002822/0.8455, allocations: 1.948 MB / 0.6592 GB, free: 440 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009236/0.8464, allocations: 333.7 kB / 0.6595 GB, free: 100 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004141/0.8468, allocations: 181.2 kB / 0.6597 GB, free: 15.92 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1372/0.984, allocations: 29.74 MB / 0.6887 GB, free: 2.328 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.85e-05/0.9841, allocations: 45.61 kB / 0.6887 GB, free: 2.273 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 2.946e-06/0.9841, allocations: 0 / 0.6887 GB, free: 2.273 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.006364/0.9905, allocations: 1.833 MB / 0.6905 GB, free: 424 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.9905, allocations: 55.41 kB / 0.6906 GB, free: 356 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005877/0.9911, allocations: 314.7 kB / 0.6909 GB, free: 24 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.656e-05/0.9912, allocations: 33.7 kB / 0.6909 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.9914, allocations: 252.1 kB / 0.6912 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/0.9917, allocations: 315.4 kB / 0.6915 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.9919, allocations: 147.8 kB / 0.6916 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003535/0.9923, allocations: 0.5548 MB / 0.6921 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.9927, allocations: 169.4 kB / 0.6923 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006302/0.9934, allocations: 362.6 kB / 0.6927 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.9944, allocations: 0.5695 MB / 0.6932 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9944, allocations: 0 / 0.6932 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001545/0.996, allocations: 0.6341 MB / 0.6938 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.996, allocations: 8 kB / 0.6938 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.996, allocations: 0 / 0.6938 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004082/0.9964, allocations: 106.5 kB / 0.6939 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005222/0.997, allocations: 105.2 kB / 0.694 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.056/1.053, allocations: 13.58 MB / 0.7073 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/1.053, allocations: 19.98 kB / 0.7073 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.484e-05/1.053, allocations: 20 kB / 0.7073 GB, free: 14.52 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003417/1.054, allocations: 234.2 kB / 0.7076 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/1.054, allocations: 47.77 kB / 0.7076 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003077/1.057, allocations: 1.975 MB / 0.7095 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.251e-05/1.057, allocations: 13.78 kB / 0.7095 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/1.057, allocations: 0 / 0.7095 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001494/1.058, allocations: 0.9294 MB / 0.7105 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/1.061, allocations: 1.324 MB / 0.7117 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/1.061, allocations: 7.922 kB / 0.7118 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/1.061, allocations: 68.22 kB / 0.7118 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003745/1.062, allocations: 117.3 kB / 0.7119 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-05/1.062, allocations: 12 kB / 0.7119 GB, free: 9.586 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002887/1.065, allocations: 2.738 MB / 0.7146 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.065, allocations: 4.062 kB / 0.7146 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/1.067, allocations: 1.042 MB / 0.7156 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.709e-05/1.067, allocations: 43.66 kB / 0.7157 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.634e-05/1.067, allocations: 4 kB / 0.7157 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/1.067, allocations: 19.98 kB / 0.7157 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/1.067, allocations: 55.84 kB / 0.7158 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/1.067, allocations: 12 kB / 0.7158 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002961/1.068, allocations: 249.1 kB / 0.716 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/1.068, allocations: 0 / 0.716 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00613/1.074, allocations: 2.305 MB / 0.7183 GB, free: 2.949 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.T) * Number of discrete variables: 10 ($cse6.phase,$cse7.phase,$cse9.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 (41): * 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: 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 {(2,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.01124/1.085, allocations: 3.495 MB / 0.7217 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002181/1.087, allocations: 0.9203 MB / 0.7226 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.087, allocations: 0.5625 kB / 0.7226 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009254/1.088, allocations: 494.6 kB / 0.723 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/1.09, allocations: 388.8 kB / 0.7234 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/1.092, allocations: 1.059 MB / 0.7244 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/1.092, allocations: 258.5 kB / 0.7247 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003802/1.093, allocations: 115.1 kB / 0.7248 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/1.093, allocations: 44.48 kB / 0.7248 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of SimCode: time 9.02e-07/1.093, allocations: 0 / 0.7248 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of Templates: time 0.2145/1.307, allocations: 76.44 MB / 0.7995 GB, free: 252.7 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.62942013994325]