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.001755/0.001755, allocations: 182 kB / 13.64 MB, free: 1.676 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.614/1.614, allocations: 194.3 MB / 208.4 MB, free: 6.715 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.001752/0.001753, allocations: 120.7 kB / 253.5 MB, free: 9.59 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.354e-05/3.356e-05, allocations: 0 / 305 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 44.5 MB / 349.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.53/6.634, allocations: 2.901 GB / 3.242 GB, free: 61.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/6.635, allocations: 95.2 kB / 3.243 GB, free: 61.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855/9.489, allocations: 0.98 GB / 4.223 GB, free: 27.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.376e-06/9.489, allocations: 4 kB / 4.223 GB, free: 27.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.074e-05/9.489, allocations: 8.656 kB / 4.223 GB, free: 27.94 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.005338/9.495, allocations: 1.193 MB / 4.224 GB, free: 26.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/9.495, allocations: 8.031 kB / 4.224 GB, free: 26.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003197/9.495, allocations: 40.14 kB / 4.224 GB, free: 26.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/9.496, allocations: 280.3 kB / 4.224 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/9.496, allocations: 16.56 kB / 4.224 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/9.496, allocations: 27.91 kB / 4.224 GB, free: 26.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004489/9.496, allocations: 292.5 kB / 4.224 GB, free: 26.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/9.496, allocations: 3.234 kB / 4.224 GB, free: 26.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/9.496, allocations: 16 kB / 4.224 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/9.496, allocations: 11.95 kB / 4.224 GB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/9.496, allocations: 188.3 kB / 4.225 GB, free: 25.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/9.498, allocations: 1.427 MB / 4.226 GB, free: 24.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/9.498, allocations: 170.4 kB / 4.226 GB, free: 24.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/9.498, allocations: 85.23 kB / 4.226 GB, free: 24.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/9.498, allocations: 8.109 kB / 4.226 GB, free: 24.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/9.498, allocations: 42.5 kB / 4.226 GB, free: 24.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 2.024e-06/9.498, allocations: 5.25 kB / 4.226 GB, free: 24.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.002076/9.5, allocations: 0.8673 MB / 4.227 GB, free: 23.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/9.5, allocations: 51.41 kB / 4.227 GB, free: 23.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/9.501, allocations: 234.1 kB / 4.227 GB, free: 23.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/9.501, allocations: 33.7 kB / 4.227 GB, free: 23.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/9.501, allocations: 179.2 kB / 4.228 GB, free: 22.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/9.501, allocations: 86.19 kB / 4.228 GB, free: 22.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/9.501, allocations: 4 kB / 4.228 GB, free: 22.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.352e-05/9.501, allocations: 338.2 kB / 4.228 GB, free: 22.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/9.501, allocations: 84 kB / 4.228 GB, free: 22.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/9.501, allocations: 172.5 kB / 4.228 GB, free: 22.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/9.501, allocations: 109.3 kB / 4.228 GB, free: 22.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/9.501, allocations: 7.953 kB / 4.228 GB, free: 22.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000565/9.502, allocations: 377.1 kB / 4.229 GB, free: 21.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/9.502, allocations: 8.375 kB / 4.229 GB, free: 21.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/9.502, allocations: 8 kB / 4.229 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002465/9.502, allocations: 64.53 kB / 4.229 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/9.503, allocations: 67.89 kB / 4.229 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/9.504, allocations: 2.668 MB / 4.232 GB, free: 18.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/9.505, allocations: 23.83 kB / 4.232 GB, free: 18.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/9.505, allocations: 19.88 kB / 4.232 GB, free: 18.71 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 () * 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 8.746e-05/9.505, allocations: 129.4 kB / 4.232 GB, free: 18.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/9.505, allocations: 23.72 kB / 4.232 GB, free: 18.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.531e-05/9.505, allocations: 37.86 kB / 4.232 GB, free: 18.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-06/9.505, allocations: 7.953 kB / 4.232 GB, free: 18.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/9.505, allocations: 0 / 4.232 GB, free: 18.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004551/9.505, allocations: 0.5506 MB / 4.232 GB, free: 17.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008474/9.506, allocations: 0.7018 MB / 4.233 GB, free: 17.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/9.506, allocations: 0 / 4.233 GB, free: 17.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/9.506, allocations: 38.66 kB / 4.233 GB, free: 17.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002045/9.507, allocations: 55.05 kB / 4.233 GB, free: 17.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/9.507, allocations: 11.69 kB / 4.233 GB, free: 17.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008153/9.507, allocations: 1.381 MB / 4.234 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/9.507, allocations: 11.92 kB / 4.234 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005663/9.508, allocations: 466.1 kB / 4.235 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/9.508, allocations: 104.8 kB / 4.235 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/9.508, allocations: 4.125 kB / 4.235 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/9.508, allocations: 19.09 kB / 4.235 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/9.508, allocations: 16.16 kB / 4.235 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/9.508, allocations: 11.52 kB / 4.235 GB, free: 15.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001491/9.509, allocations: 179.9 kB / 4.235 GB, free: 14.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.443e-06/9.509, allocations: 0 / 4.235 GB, free: 14.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000644/9.509, allocations: 128 kB / 4.235 GB, free: 14.75 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 () * 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.0004491/9.51, allocations: 296.6 kB / 4.236 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006856/9.51, allocations: 468.4 kB / 4.236 GB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/9.51, allocations: 0 / 4.236 GB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000331/9.511, allocations: 238.2 kB / 4.236 GB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008389/9.512, allocations: 164.3 kB / 4.236 GB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009027/9.513, allocations: 483.9 kB / 4.237 GB, free: 13.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/9.513, allocations: 0.7742 MB / 4.238 GB, free: 12.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002613/9.513, allocations: 47.36 kB / 4.238 GB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.043e-05/9.513, allocations: 31.09 kB / 4.238 GB, free: 12.42 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/9.513, allocations: 0 / 4.238 GB, free: 12.42 MB / 410.7 MB Notification: Performance of Templates: time 0.01223/9.525, allocations: 8.497 MB / 4.246 GB, free: 6.367 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)