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.001542/0.001542, allocations: 182.3 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.462/1.462, allocations: 194.2 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.001649/0.001649, allocations: 126.2 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.901e-05/3.905e-05, allocations: 7.984 kB / 305 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1222, allocations: 44.5 MB / 349.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.306/6.428, allocations: 2.574 GB / 2.915 GB, free: 98.47 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000346/6.428, allocations: 93.12 kB / 2.916 GB, free: 98.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7834/7.212, allocations: 296.4 MB / 3.205 GB, free: 18.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/7.212, allocations: 0 / 3.205 GB, free: 18.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.298e-05/7.212, allocations: 8 kB / 3.205 GB, free: 18 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.002682/7.214, allocations: 0.9118 MB / 3.206 GB, free: 17.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/7.215, allocations: 8.031 kB / 3.206 GB, free: 17.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000792/7.215, allocations: 87.78 kB / 3.206 GB, free: 16.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/7.216, allocations: 298.5 kB / 3.206 GB, free: 16.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/7.216, allocations: 24.78 kB / 3.206 GB, free: 16.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/7.216, allocations: 35.98 kB / 3.206 GB, free: 16.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007171/7.217, allocations: 451.8 kB / 3.207 GB, free: 16.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/7.217, allocations: 0 / 3.207 GB, free: 16.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/7.217, allocations: 12 kB / 3.207 GB, free: 16.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/7.217, allocations: 8 kB / 3.207 GB, free: 16.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004996/7.217, allocations: 325.9 kB / 3.207 GB, free: 15.73 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or 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.002067/7.219, allocations: 2.63 MB / 3.21 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004499/7.22, allocations: 262.4 kB / 3.21 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/7.22, allocations: 108.8 kB / 3.21 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2913/7.511, allocations: 15.37 MB / 3.225 GB, free: 56.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/7.511, allocations: 40.39 kB / 3.225 GB, free: 56.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.094e-06/7.511, allocations: 2.25 kB / 3.225 GB, free: 56.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.004045/7.515, allocations: 1.174 MB / 3.226 GB, free: 55.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/7.515, allocations: 57.47 kB / 3.226 GB, free: 55.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/7.516, allocations: 236.3 kB / 3.226 GB, free: 55.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/7.516, allocations: 30.45 kB / 3.227 GB, free: 55.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.993e-05/7.516, allocations: 193.9 kB / 3.227 GB, free: 55.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/7.516, allocations: 110 kB / 3.227 GB, free: 55.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.523e-05/7.516, allocations: 8.406 kB / 3.227 GB, free: 55.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.442e-05/7.516, allocations: 342.7 kB / 3.227 GB, free: 55.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/7.516, allocations: 92.69 kB / 3.227 GB, free: 55.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/7.516, allocations: 218.2 kB / 3.227 GB, free: 55.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/7.517, allocations: 135.6 kB / 3.228 GB, free: 55.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/7.517, allocations: 0 / 3.228 GB, free: 55.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006998/7.517, allocations: 432.6 kB / 3.228 GB, free: 55.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/7.517, allocations: 10.72 kB / 3.228 GB, free: 55.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/7.517, allocations: 4.281 kB / 3.228 GB, free: 55.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003704/7.521, allocations: 270.6 kB / 3.228 GB, free: 55.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/7.521, allocations: 83.84 kB / 3.228 GB, free: 55.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/7.522, allocations: 1.865 MB / 3.23 GB, free: 53.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/7.523, allocations: 25.16 kB / 3.23 GB, free: 53.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/7.523, allocations: 18.11 kB / 3.23 GB, free: 53.25 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 () * 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 9.75e-05/7.523, allocations: 133.2 kB / 3.23 GB, free: 53.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.582e-05/7.523, allocations: 28.27 kB / 3.23 GB, free: 53.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/7.524, allocations: 0.9443 MB / 3.231 GB, free: 53.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/7.524, allocations: 14.66 kB / 3.231 GB, free: 53.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/7.524, allocations: 0 / 3.231 GB, free: 53.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008633/7.525, allocations: 1.126 MB / 3.232 GB, free: 52.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/7.527, allocations: 1.576 MB / 3.234 GB, free: 52.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/7.527, allocations: 0 / 3.234 GB, free: 52.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/7.527, allocations: 52.41 kB / 3.234 GB, free: 52.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001734/7.529, allocations: 281.8 kB / 3.234 GB, free: 52.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/7.529, allocations: 6.031 kB / 3.234 GB, free: 52.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000399/7.529, allocations: 0.6649 MB / 3.235 GB, free: 51.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/7.529, allocations: 3.281 kB / 3.235 GB, free: 51.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/7.53, allocations: 0.9516 MB / 3.236 GB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/7.53, allocations: 132.4 kB / 3.236 GB, free: 51.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/7.53, allocations: 6.719 kB / 3.236 GB, free: 51.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/7.531, allocations: 17.97 kB / 3.236 GB, free: 51.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/7.531, allocations: 19.3 kB / 3.236 GB, free: 51.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/7.531, allocations: 14.72 kB / 3.236 GB, free: 51.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002943/7.531, allocations: 238.1 kB / 3.236 GB, free: 51.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/7.531, allocations: 0 / 3.236 GB, free: 51.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002873/7.534, allocations: 0.5442 MB / 3.237 GB, free: 51.23 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 () * 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.00278/7.537, allocations: 0.851 MB / 3.238 GB, free: 51.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008881/7.538, allocations: 0.5078 MB / 3.238 GB, free: 51.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/7.538, allocations: 3.375 kB / 3.238 GB, free: 51.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004347/7.538, allocations: 296.2 kB / 3.238 GB, free: 51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/7.539, allocations: 179.2 kB / 3.239 GB, free: 51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/7.541, allocations: 0.7533 MB / 3.239 GB, free: 50.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/7.541, allocations: 0.8312 MB / 3.24 GB, free: 50.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004188/7.541, allocations: 110 kB / 3.24 GB, free: 50.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.324e-05/7.541, allocations: 36.3 kB / 3.24 GB, free: 50.1 MB / 410.7 MB Notification: Performance of SimCode: time 6.62e-07/7.541, allocations: 0 / 3.24 GB, free: 50.1 MB / 410.7 MB Notification: Performance of Templates: time 0.03321/7.575, allocations: 23.78 MB / 3.263 GB, free: 49.66 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)