Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001005/0.001005, allocations: 180.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.176/1.176, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001476/0.001477, allocations: 111.2 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000306/0.0003061, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0869/0.08722, allocations: 44.5 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.962/5.049, allocations: 2.574 GB / 2.921 GB, free: 51.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/5.049, allocations: 85.12 kB / 2.921 GB, free: 51.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9894/6.039, allocations: 297.3 MB / 3.211 GB, free: 52.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.366e-06/6.039, allocations: 0 / 3.211 GB, free: 52.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.857e-05/6.039, allocations: 9.469 kB / 3.211 GB, free: 52.63 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003936/6.043, allocations: 0.949 MB / 3.212 GB, free: 52.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/6.043, allocations: 7.75 kB / 3.212 GB, free: 52.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009221/6.044, allocations: 87.78 kB / 3.212 GB, free: 51.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005002/6.044, allocations: 299.5 kB / 3.213 GB, free: 51.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/6.044, allocations: 24.25 kB / 3.213 GB, free: 51.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-05/6.044, allocations: 29.34 kB / 3.213 GB, free: 51.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008706/6.045, allocations: 441.2 kB / 3.213 GB, free: 51.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/6.045, allocations: 3.438 kB / 3.213 GB, free: 51.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.912e-05/6.045, allocations: 14.89 kB / 3.213 GB, free: 51.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/6.045, allocations: 11.31 kB / 3.213 GB, free: 51.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000591/6.046, allocations: 313.9 kB / 3.214 GB, free: 51.36 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002452/6.048, allocations: 2.626 MB / 3.216 GB, free: 49.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/6.049, allocations: 252.8 kB / 3.216 GB, free: 48.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02637/6.075, allocations: 15.33 MB / 3.231 GB, free: 39.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/6.075, allocations: 41.36 kB / 3.231 GB, free: 39.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.375e-06/6.075, allocations: 0 / 3.231 GB, free: 39.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.003809/6.079, allocations: 1.282 MB / 3.233 GB, free: 38.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/6.079, allocations: 59.12 kB / 3.233 GB, free: 38.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/6.08, allocations: 243.4 kB / 3.233 GB, free: 38.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/6.08, allocations: 33.64 kB / 3.233 GB, free: 38.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.799e-05/6.08, allocations: 202.8 kB / 3.233 GB, free: 38.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.369e-05/6.08, allocations: 108.5 kB / 3.233 GB, free: 37.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.47e-05/6.08, allocations: 7.844 kB / 3.233 GB, free: 37.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.899e-05/6.08, allocations: 340.6 kB / 3.234 GB, free: 37.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/6.08, allocations: 94.27 kB / 3.234 GB, free: 37.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/6.08, allocations: 223.1 kB / 3.234 GB, free: 37.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/6.08, allocations: 141.2 kB / 3.234 GB, free: 37.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/6.08, allocations: 3.938 kB / 3.234 GB, free: 37.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006065/6.081, allocations: 435.1 kB / 3.234 GB, free: 37.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/6.081, allocations: 7.906 kB / 3.234 GB, free: 37.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/6.081, allocations: 2.906 kB / 3.234 GB, free: 37.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003557/6.085, allocations: 255.5 kB / 3.235 GB, free: 37.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/6.085, allocations: 85.28 kB / 3.235 GB, free: 37.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/6.086, allocations: 1.885 MB / 3.237 GB, free: 35.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/6.086, allocations: 19.75 kB / 3.237 GB, free: 35.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/6.086, allocations: 23.34 kB / 3.237 GB, free: 35.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001859/6.086, allocations: 164.5 kB / 3.237 GB, free: 35.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/6.087, allocations: 27.25 kB / 3.237 GB, free: 35.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008991/6.087, allocations: 0.9516 MB / 3.238 GB, free: 34.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/6.087, allocations: 7.781 kB / 3.238 GB, free: 34.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/6.087, allocations: 7.578 kB / 3.238 GB, free: 34.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007416/6.088, allocations: 1.113 MB / 3.239 GB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/6.09, allocations: 1.591 MB / 3.24 GB, free: 32.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/6.09, allocations: 0 / 3.24 GB, free: 32.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/6.09, allocations: 55 kB / 3.24 GB, free: 32.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001644/6.092, allocations: 290.6 kB / 3.241 GB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/6.092, allocations: 4 kB / 3.241 GB, free: 32.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000395/6.092, allocations: 0.6626 MB / 3.241 GB, free: 32.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/6.092, allocations: 8 kB / 3.241 GB, free: 32.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009792/6.093, allocations: 0.9546 MB / 3.242 GB, free: 31.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/6.093, allocations: 135.7 kB / 3.242 GB, free: 31.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/6.093, allocations: 4 kB / 3.242 GB, free: 31.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/6.093, allocations: 23.73 kB / 3.243 GB, free: 31.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/6.093, allocations: 22.16 kB / 3.243 GB, free: 31.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/6.093, allocations: 11.88 kB / 3.243 GB, free: 31.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002082/6.094, allocations: 235.4 kB / 3.243 GB, free: 31.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/6.094, allocations: 3.625 kB / 3.243 GB, free: 31.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003026/6.097, allocations: 0.5436 MB / 3.243 GB, free: 31.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00274/6.099, allocations: 0.8444 MB / 3.244 GB, free: 31.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009572/6.1, allocations: 0.5192 MB / 3.245 GB, free: 30.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/6.1, allocations: 0 / 3.245 GB, free: 30.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003898/6.101, allocations: 297.4 kB / 3.245 GB, free: 30.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008979/6.102, allocations: 190.1 kB / 3.245 GB, free: 30.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/6.103, allocations: 1.223 MB / 3.246 GB, free: 29.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/6.104, allocations: 0.8321 MB / 3.247 GB, free: 29.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003244/6.104, allocations: 114.8 kB / 3.247 GB, free: 29.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.739e-05/6.104, allocations: 35.98 kB / 3.247 GB, free: 29.19 MB / 410.7 MB Notification: Performance of SimCode: time 1.352e-06/6.104, allocations: 0 / 3.247 GB, free: 29.19 MB / 410.7 MB Notification: Performance of Templates: time 0.02754/6.131, allocations: 22.09 MB / 3.269 GB, free: 19.47 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)