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.001049/0.001049, allocations: 178.9 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.432/1.432, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001562/0.001562, allocations: 116.7 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003883, allocations: 15.98 kB / 310.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1115, allocations: 44.49 MB / 355.1 MB, free: 2.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.834/5.945, allocations: 2.901 GB / 3.248 GB, free: 96.56 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/5.946, allocations: 86.89 kB / 3.248 GB, free: 96.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.502/8.448, allocations: 0.9808 GB / 4.229 GB, free: 54.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.986e-06/8.448, allocations: 0 / 4.229 GB, free: 54.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.007e-05/8.448, allocations: 4.328 kB / 4.229 GB, free: 54.49 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.005586/8.453, allocations: 1.233 MB / 4.23 GB, free: 53.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/8.454, allocations: 11.84 kB / 4.23 GB, free: 53.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002994/8.454, allocations: 42.48 kB / 4.23 GB, free: 53.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/8.454, allocations: 277.4 kB / 4.23 GB, free: 53.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/8.454, allocations: 16.5 kB / 4.23 GB, free: 53.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/8.454, allocations: 29.89 kB / 4.23 GB, free: 53.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/8.455, allocations: 303.5 kB / 4.231 GB, free: 53.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/8.455, allocations: 0 / 4.231 GB, free: 53.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/8.455, allocations: 14.27 kB / 4.231 GB, free: 53.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/8.455, allocations: 4.484 kB / 4.231 GB, free: 53.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/8.455, allocations: 200.8 kB / 4.231 GB, free: 53.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/8.457, allocations: 1.441 MB / 4.232 GB, free: 52.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/8.457, allocations: 170.1 kB / 4.233 GB, free: 52.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.053e-05/8.457, allocations: 3.688 kB / 4.233 GB, free: 52.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/8.457, allocations: 41.03 kB / 4.233 GB, free: 52.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/8.457, allocations: 0 / 4.233 GB, free: 52.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.00225/8.459, allocations: 1.011 MB / 4.234 GB, free: 52.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/8.459, allocations: 54.88 kB / 4.234 GB, free: 52.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/8.46, allocations: 236.7 kB / 4.234 GB, free: 51.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/8.46, allocations: 29.52 kB / 4.234 GB, free: 51.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.106e-05/8.46, allocations: 173.1 kB / 4.234 GB, free: 51.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.063e-05/8.46, allocations: 95.77 kB / 4.234 GB, free: 51.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.483e-05/8.46, allocations: 5.562 kB / 4.234 GB, free: 51.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.705e-05/8.46, allocations: 341.6 kB / 4.234 GB, free: 51.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/8.46, allocations: 82.59 kB / 4.235 GB, free: 51.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/8.46, allocations: 175.6 kB / 4.235 GB, free: 51.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/8.46, allocations: 111.3 kB / 4.235 GB, free: 51.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/8.46, allocations: 0 / 4.235 GB, free: 51.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005746/8.461, allocations: 390.1 kB / 4.235 GB, free: 51.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/8.461, allocations: 5.125 kB / 4.235 GB, free: 51.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/8.461, allocations: 6.5 kB / 4.235 GB, free: 51.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002618/8.461, allocations: 67.66 kB / 4.235 GB, free: 51.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/8.462, allocations: 67.98 kB / 4.235 GB, free: 51.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/8.463, allocations: 2.681 MB / 4.238 GB, free: 48.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/8.463, allocations: 29.56 kB / 4.238 GB, free: 48.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/8.463, allocations: 15.66 kB / 4.238 GB, free: 48.68 MB / 410.7 MB 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 () * Number of clocked 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.0001316/8.464, allocations: 153.4 kB / 4.238 GB, free: 48.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/8.464, allocations: 27.97 kB / 4.238 GB, free: 48.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.501e-05/8.464, allocations: 36.36 kB / 4.238 GB, free: 48.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/8.464, allocations: 3.281 kB / 4.238 GB, free: 48.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/8.464, allocations: 0 / 4.238 GB, free: 48.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004925/8.464, allocations: 0.5719 MB / 4.239 GB, free: 48.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008377/8.465, allocations: 0.7007 MB / 4.239 GB, free: 47.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/8.465, allocations: 1.375 kB / 4.239 GB, free: 47.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/8.465, allocations: 39.36 kB / 4.24 GB, free: 47.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002523/8.466, allocations: 62.77 kB / 4.24 GB, free: 47.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/8.466, allocations: 13.11 kB / 4.24 GB, free: 47.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008752/8.466, allocations: 1.393 MB / 4.241 GB, free: 46.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/8.466, allocations: 0 / 4.241 GB, free: 46.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005716/8.467, allocations: 486 kB / 4.241 GB, free: 46.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.808e-05/8.467, allocations: 98.77 kB / 4.241 GB, free: 46.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/8.467, allocations: 10.92 kB / 4.242 GB, free: 46.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/8.467, allocations: 14.62 kB / 4.242 GB, free: 46.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/8.467, allocations: 20.55 kB / 4.242 GB, free: 46.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/8.467, allocations: 10.72 kB / 4.242 GB, free: 46.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001332/8.468, allocations: 183.6 kB / 4.242 GB, free: 46.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/8.468, allocations: 3.609 kB / 4.242 GB, free: 46.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005763/8.468, allocations: 122.2 kB / 4.242 GB, free: 46.15 MB / 410.7 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 () * Number of clocked 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.0003823/8.469, allocations: 300.2 kB / 4.242 GB, free: 46.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006351/8.469, allocations: 475.6 kB / 4.243 GB, free: 45.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/8.469, allocations: 0 / 4.243 GB, free: 45.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002953/8.469, allocations: 230.4 kB / 4.243 GB, free: 45.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007213/8.47, allocations: 161.6 kB / 4.243 GB, free: 45.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/8.471, allocations: 0.812 MB / 4.244 GB, free: 45.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/8.472, allocations: 0.7689 MB / 4.245 GB, free: 44.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002763/8.472, allocations: 53.77 kB / 4.245 GB, free: 44.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.888e-05/8.472, allocations: 26.53 kB / 4.245 GB, free: 44.66 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/8.472, allocations: 0 / 4.245 GB, free: 44.66 MB / 410.7 MB Notification: Performance of Templates: time 0.01119/8.483, allocations: 7.971 MB / 4.252 GB, free: 44.43 MB / 410.7 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)