Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009004/0.009004, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7599/0.7599, allocations: 135.2 MB / 151.1 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 223.2 MB / 406.9 MB, free: 3.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 98.3 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004007, allocations: 12 kB / 0.5691 GB, free: 14.22 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.51/0.5105, allocations: 82.31 MB / 0.6495 GB, free: 36.19 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.532/2.043, allocations: 423 MB / 1.063 GB, free: 162 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/2.043, allocations: 72.91 kB / 1.063 GB, free: 162 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4673/2.511, allocations: 196.1 MB / 1.254 GB, free: 49.49 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.733e-06/2.511, allocations: 0 / 1.254 GB, free: 49.49 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.411e-05/2.511, allocations: 4 kB / 1.254 GB, free: 49.49 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.007116/2.518, allocations: 1.225 MB / 1.255 GB, free: 48.24 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/2.518, allocations: 8.031 kB / 1.255 GB, free: 48.23 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/2.519, allocations: 83.55 kB / 1.255 GB, free: 48.16 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/2.519, allocations: 230.5 kB / 1.256 GB, free: 47.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/2.519, allocations: 15.62 kB / 1.256 GB, free: 47.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/2.519, allocations: 11.81 kB / 1.256 GB, free: 47.89 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/2.52, allocations: 442.6 kB / 1.256 GB, free: 47.56 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/2.52, allocations: 0 / 1.256 GB, free: 47.56 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/2.52, allocations: 11.38 kB / 1.256 GB, free: 47.56 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/2.52, allocations: 4 kB / 1.256 GB, free: 47.55 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009973/2.521, allocations: 0.5904 MB / 1.257 GB, free: 47.11 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/2.522, allocations: 0.9092 MB / 1.258 GB, free: 46.21 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006829/2.523, allocations: 245.9 kB / 1.258 GB, free: 46.02 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07594/2.599, allocations: 34.65 MB / 1.292 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/2.599, allocations: 37.88 kB / 1.292 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.733e-06/2.599, allocations: 0 / 1.292 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001571/2.601, allocations: 402 kB / 1.292 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/2.601, allocations: 59.34 kB / 1.292 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/2.601, allocations: 125.5 kB / 1.292 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/2.601, allocations: 32.95 kB / 1.292 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/2.601, allocations: 111.6 kB / 1.292 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.861e-05/2.601, allocations: 85 kB / 1.292 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/2.601, allocations: 7.625 kB / 1.292 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.754e-05/2.601, allocations: 326.1 kB / 1.293 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/2.601, allocations: 81.58 kB / 1.293 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/2.602, allocations: 125.1 kB / 1.293 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/2.602, allocations: 88.86 kB / 1.293 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/2.602, allocations: 0 / 1.293 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005655/2.602, allocations: 295.6 kB / 1.293 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/2.602, allocations: 11.94 kB / 1.293 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/2.602, allocations: 0 / 1.293 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/2.602, allocations: 4.156 kB / 1.293 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/2.603, allocations: 87.55 kB / 1.293 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/2.603, allocations: 4 kB / 1.293 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/2.603, allocations: 19.19 kB / 1.293 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/2.603, allocations: 23.86 kB / 1.293 GB, free: 7.23 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001238/2.603, allocations: 140.2 kB / 1.294 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/2.603, allocations: 15.81 kB / 1.294 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/2.605, allocations: 2.292 MB / 1.296 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/2.605, allocations: 12.17 kB / 1.296 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/2.605, allocations: 4 kB / 1.296 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/2.605, allocations: 3.984 kB / 1.296 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002881/2.608, allocations: 3.364 MB / 1.299 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/2.608, allocations: 3.938 kB / 1.299 GB, free: 3.125 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/2.609, allocations: 55.94 kB / 1.299 GB, free: 3.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/2.609, allocations: 0 / 1.299 GB, free: 3.07 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/2.609, allocations: 8 kB / 1.299 GB, free: 3.062 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/2.609, allocations: 4 kB / 1.299 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/2.609, allocations: 3.984 kB / 1.299 GB, free: 3.055 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006243/2.609, allocations: 0.5468 MB / 1.3 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/2.609, allocations: 148.5 kB / 1.3 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/2.609, allocations: 7.984 kB / 1.3 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/2.61, allocations: 15.98 kB / 1.3 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/2.61, allocations: 19.98 kB / 1.3 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/2.61, allocations: 19.98 kB / 1.3 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.929e-05/2.61, allocations: 109.5 kB / 1.3 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/2.61, allocations: 0 / 1.3 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.008499/2.618, allocations: 1.658 MB / 1.302 GB, free: 0.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4461/3.065, allocations: 2.436 MB / 1.304 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001319/3.066, allocations: 313.3 kB / 1.304 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/3.066, allocations: 0.7812 kB / 1.304 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006174/3.067, allocations: 241.6 kB / 1.305 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006862/3.067, allocations: 60.62 kB / 1.305 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/3.069, allocations: 0.7863 MB / 1.305 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/3.069, allocations: 0.7758 MB / 1.306 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009731/3.07, allocations: 399.1 kB / 1.307 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/3.07, allocations: 47.78 kB / 1.307 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of SimCode: time 7.92e-07/3.07, allocations: 1.125 kB / 1.307 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.06787/3.138, allocations: 44.22 MB / 1.35 GB, free: 155.2 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)