Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.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.IdealSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001298/0.001298, allocations: 184.3 kB / 13.65 MB, free: 1.664 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.457/1.457, allocations: 194.2 MB / 208.4 MB, free: 6.719 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.001693/0.001693, allocations: 114.3 kB / 253.5 MB, free: 9.59 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.856e-05/2.884e-05, allocations: 4 kB / 305 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07707/0.07711, allocations: 44.5 MB / 349.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9502/1.027, allocations: 434.7 MB / 0.7658 GB, free: 114.4 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/1.028, allocations: 83.95 kB / 0.7658 GB, free: 114.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5092/1.537, allocations: 155 MB / 0.9172 GB, free: 104.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.537, allocations: 0 / 0.9172 GB, free: 104.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.366e-05/1.537, allocations: 7.281 kB / 0.9172 GB, free: 104.4 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.001058/1.538, allocations: 0.5975 MB / 0.9178 GB, free: 103.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.538, allocations: 7.875 kB / 0.9178 GB, free: 103.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003703/1.538, allocations: 44.56 kB / 0.9178 GB, free: 103.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/1.539, allocations: 275.4 kB / 0.9181 GB, free: 103.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/1.539, allocations: 19.69 kB / 0.9181 GB, free: 103.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.726e-05/1.539, allocations: 30.28 kB / 0.9182 GB, free: 103.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/1.54, allocations: 306.2 kB / 0.9185 GB, free: 103.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/1.54, allocations: 4.875 kB / 0.9185 GB, free: 103.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/1.54, allocations: 14.28 kB / 0.9185 GB, free: 103.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/1.54, allocations: 7.812 kB / 0.9185 GB, free: 103.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/1.54, allocations: 194.2 kB / 0.9187 GB, free: 103.6 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.001595/1.542, allocations: 1.583 MB / 0.9202 GB, free: 102.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/1.542, allocations: 171.7 kB / 0.9204 GB, free: 102.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/1.542, allocations: 89.31 kB / 0.9205 GB, free: 102.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.035e-05/1.542, allocations: 11.42 kB / 0.9205 GB, free: 102.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/1.542, allocations: 34.62 kB / 0.9205 GB, free: 102.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/1.542, allocations: 0 / 0.9205 GB, free: 102.4 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.004676/1.547, allocations: 1.25 MB / 0.9217 GB, free: 102 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/1.547, allocations: 55.39 kB / 0.9218 GB, free: 101.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/1.547, allocations: 226.1 kB / 0.922 GB, free: 101.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/1.547, allocations: 30.39 kB / 0.922 GB, free: 101.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.195e-05/1.547, allocations: 180.6 kB / 0.9222 GB, free: 101.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.853e-05/1.547, allocations: 92.91 kB / 0.9223 GB, free: 101.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.735e-05/1.547, allocations: 3.5 kB / 0.9223 GB, free: 101.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.787e-05/1.547, allocations: 345.7 kB / 0.9226 GB, free: 101.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/1.548, allocations: 83.8 kB / 0.9227 GB, free: 101.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/1.548, allocations: 184.7 kB / 0.9229 GB, free: 101.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/1.548, allocations: 112 kB / 0.923 GB, free: 101.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/1.548, allocations: 3.125 kB / 0.923 GB, free: 101.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005967/1.548, allocations: 395 kB / 0.9234 GB, free: 101 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/1.549, allocations: 7.062 kB / 0.9234 GB, free: 101 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.549, allocations: 3.156 kB / 0.9234 GB, free: 101 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002241/1.549, allocations: 76.89 kB / 0.9234 GB, free: 101 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/1.549, allocations: 88 kB / 0.9235 GB, free: 101 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009847/1.55, allocations: 1.846 MB / 0.9253 GB, free: 99.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/1.55, allocations: 23.52 kB / 0.9253 GB, free: 99.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-05/1.55, allocations: 39.38 kB / 0.9254 GB, free: 99.15 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001054/1.551, allocations: 127.6 kB / 0.9255 GB, free: 99.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/1.551, allocations: 29.55 kB / 0.9255 GB, free: 99.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009557/1.552, allocations: 442.3 kB / 0.926 GB, free: 98.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.552, allocations: 3.906 kB / 0.926 GB, free: 98.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/1.552, allocations: 0 / 0.926 GB, free: 98.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004182/1.552, allocations: 0.5603 MB / 0.9265 GB, free: 98.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009091/1.553, allocations: 0.7259 MB / 0.9272 GB, free: 97.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.553, allocations: 0 / 0.9272 GB, free: 97.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/1.553, allocations: 75.16 kB / 0.9273 GB, free: 97.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-05/1.553, allocations: 23.52 kB / 0.9273 GB, free: 97.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/1.553, allocations: 14.75 kB / 0.9273 GB, free: 97.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006316/1.554, allocations: 1.281 MB / 0.9286 GB, free: 96.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.554, allocations: 0 / 0.9286 GB, free: 96.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005449/1.555, allocations: 0.49 MB / 0.9291 GB, free: 96.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.93e-05/1.555, allocations: 102.3 kB / 0.9292 GB, free: 96.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/1.555, allocations: 5.875 kB / 0.9292 GB, free: 96.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/1.555, allocations: 19.97 kB / 0.9292 GB, free: 96.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/1.555, allocations: 26.91 kB / 0.9292 GB, free: 96.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-05/1.555, allocations: 34.73 kB / 0.9292 GB, free: 96.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001599/1.555, allocations: 183.3 kB / 0.9294 GB, free: 96 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.555, allocations: 0 / 0.9294 GB, free: 96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007691/1.556, allocations: 188.8 kB / 0.9296 GB, free: 95.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001225/1.557, allocations: 0.7635 MB / 0.9303 GB, free: 95.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006156/1.558, allocations: 373.4 kB / 0.9307 GB, free: 95.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.558, allocations: 0 / 0.9307 GB, free: 95.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002412/1.558, allocations: 228.5 kB / 0.9309 GB, free: 95.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008477/1.559, allocations: 157 kB / 0.9311 GB, free: 95.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008887/1.56, allocations: 496.8 kB / 0.9315 GB, free: 95.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/1.56, allocations: 0.767 MB / 0.9323 GB, free: 94.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006237/1.561, allocations: 121.6 kB / 0.9324 GB, free: 94.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/1.561, allocations: 63.3 kB / 0.9325 GB, free: 94.47 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/1.561, allocations: 0 / 0.9325 GB, free: 94.47 MB / 410.7 MB Notification: Performance of Templates: time 0.02641/1.587, allocations: 19.84 MB / 0.9518 GB, free: 85.39 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1)