Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00162/0.00162, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.463/1.463, allocations: 194.3 MB / 203.1 MB, free: 9.254 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001732/0.001732, allocations: 115.8 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.633e-05/1.637e-05, allocations: 4 kB / 298.1 MB, free: 8.223 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09905/0.09908, allocations: 44.5 MB / 342.6 MB, free: 11.61 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.079/7.179, allocations: 2.901 GB / 3.235 GB, free: 102.6 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/7.179, allocations: 87.5 kB / 3.235 GB, free: 102.6 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.919/10.1, allocations: 0.9695 GB / 4.205 GB, free: 56.53 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.472e-06/10.1, allocations: 0 / 4.205 GB, free: 56.53 MB / 411.1 MB Notification: Performance of Transformations before backend: time 2.823e-05/10.1, allocations: 11.81 kB / 4.205 GB, free: 56.52 MB / 411.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.004223/10.1, allocations: 1.188 MB / 4.206 GB, free: 55.78 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/10.1, allocations: 14 kB / 4.206 GB, free: 55.78 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003308/10.1, allocations: 41.48 kB / 4.206 GB, free: 55.76 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/10.1, allocations: 278 kB / 4.206 GB, free: 55.51 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/10.1, allocations: 7.312 kB / 4.206 GB, free: 55.51 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/10.1, allocations: 14.19 kB / 4.206 GB, free: 55.51 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003066/10.1, allocations: 170.6 kB / 4.206 GB, free: 55.46 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/10.1, allocations: 260.8 kB / 4.207 GB, free: 55.3 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/10.1, allocations: 3.344 kB / 4.207 GB, free: 55.3 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/10.1, allocations: 3.953 kB / 4.207 GB, free: 55.29 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/10.1, allocations: 11.19 kB / 4.207 GB, free: 55.29 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/10.1, allocations: 1.376 MB / 4.208 GB, free: 54.13 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/10.1, allocations: 153.6 kB / 4.208 GB, free: 54.05 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/10.11, allocations: 86.89 kB / 4.208 GB, free: 54.01 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/10.11, allocations: 192 / 4.208 GB, free: 54.01 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/10.11, allocations: 43.41 kB / 4.208 GB, free: 53.97 MB / 411.1 MB Notification: Performance of pre-optimization done (n=21): time 1.022e-06/10.11, allocations: 0 / 4.208 GB, free: 53.97 MB / 411.1 MB Notification: Performance of matching and sorting (n=26): time 0.001565/10.11, allocations: 0.7473 MB / 4.209 GB, free: 53.5 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.897e-05/10.11, allocations: 59.28 kB / 4.209 GB, free: 53.44 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/10.11, allocations: 189.6 kB / 4.209 GB, free: 53.31 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/10.11, allocations: 25.7 kB / 4.209 GB, free: 53.28 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/10.11, allocations: 189.4 kB / 4.209 GB, free: 53.12 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/10.11, allocations: 85.86 kB / 4.21 GB, free: 53.05 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.409e-05/10.11, allocations: 4 kB / 4.21 GB, free: 53.05 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 5.957e-05/10.11, allocations: 337.5 kB / 4.21 GB, free: 52.72 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/10.11, allocations: 75.17 kB / 4.21 GB, free: 52.69 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/10.11, allocations: 163.6 kB / 4.21 GB, free: 52.55 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/10.11, allocations: 102.2 kB / 4.21 GB, free: 52.5 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/10.11, allocations: 7.906 kB / 4.21 GB, free: 52.5 MB / 411.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005578/10.11, allocations: 333.4 kB / 4.211 GB, free: 52.35 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/10.11, allocations: 7.562 kB / 4.211 GB, free: 52.35 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/10.11, allocations: 7.594 kB / 4.211 GB, free: 52.34 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002378/10.11, allocations: 61.56 kB / 4.211 GB, free: 52.32 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/10.11, allocations: 68.22 kB / 4.211 GB, free: 52.31 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/10.11, allocations: 2.572 MB / 4.213 GB, free: 49.76 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/10.11, allocations: 18.02 kB / 4.213 GB, free: 49.75 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/10.11, allocations: 15.31 kB / 4.213 GB, free: 49.75 MB / 411.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001384/10.11, allocations: 112.8 kB / 4.213 GB, free: 49.64 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/10.11, allocations: 26.75 kB / 4.213 GB, free: 49.62 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.891e-05/10.11, allocations: 29.84 kB / 4.213 GB, free: 49.6 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/10.11, allocations: 3.938 kB / 4.213 GB, free: 49.6 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/10.11, allocations: 0 / 4.213 GB, free: 49.6 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004254/10.11, allocations: 0.5424 MB / 4.214 GB, free: 49.09 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008011/10.11, allocations: 0.6366 MB / 4.215 GB, free: 48.66 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/10.11, allocations: 0 / 4.215 GB, free: 48.66 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/10.11, allocations: 49.2 kB / 4.215 GB, free: 48.66 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002015/10.11, allocations: 53.5 kB / 4.215 GB, free: 48.64 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/10.11, allocations: 3.625 kB / 4.215 GB, free: 48.64 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007843/10.11, allocations: 1.329 MB / 4.216 GB, free: 47.34 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/10.11, allocations: 3.062 kB / 4.216 GB, free: 47.34 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005428/10.11, allocations: 450.1 kB / 4.216 GB, free: 47.06 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/10.11, allocations: 103.7 kB / 4.216 GB, free: 46.95 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/10.11, allocations: 3.688 kB / 4.216 GB, free: 46.95 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/10.11, allocations: 7.438 kB / 4.216 GB, free: 46.95 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/10.11, allocations: 22.77 kB / 4.216 GB, free: 46.94 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/10.11, allocations: 11.38 kB / 4.216 GB, free: 46.94 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001079/10.11, allocations: 154.5 kB / 4.217 GB, free: 46.84 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.4e-07/10.11, allocations: 0 / 4.217 GB, free: 46.84 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005912/10.12, allocations: 110.5 kB / 4.217 GB, free: 46.82 MB / 411.1 MB 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003884/10.12, allocations: 319.2 kB / 4.217 GB, free: 46.7 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0005861/10.12, allocations: 446.2 kB / 4.217 GB, free: 46.4 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/10.12, allocations: 3.938 kB / 4.217 GB, free: 46.4 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002962/10.12, allocations: 220.4 kB / 4.218 GB, free: 46.25 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006799/10.12, allocations: 126.7 kB / 4.218 GB, free: 46.22 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008432/10.12, allocations: 472.3 kB / 4.218 GB, free: 45.95 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/10.12, allocations: 0.7658 MB / 4.219 GB, free: 45.25 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.0002975/10.12, allocations: 53.66 kB / 4.219 GB, free: 45.24 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/10.12, allocations: 21.72 kB / 4.219 GB, free: 45.23 MB / 411.1 MB Notification: Performance of SimCode: time 2.81e-07/10.12, allocations: 3.25 kB / 4.219 GB, free: 45.23 MB / 411.1 MB Notification: Performance of Templates: time 0.009514/10.13, allocations: 5.818 MB / 4.225 GB, free: 44.23 MB / 411.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)