Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.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/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/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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck") translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9415/0.9415, allocations: 130.7 MB / 138.7 MB, free: 3.555 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 221.5 MB / 391.8 MB, free: 14.2 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.0008647/0.0008649, allocations: 102.4 kB / 473.9 MB, free: 4.441 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.137e-05/2.139e-05, allocations: 4 kB / 0.5485 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4984/0.4985, allocations: 81.56 MB / 0.6281 GB, free: 42.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9635/1.462, allocations: 418.2 MB / 1.037 GB, free: 7.613 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/1.462, allocations: 67.03 kB / 1.037 GB, free: 7.582 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.654/2.116, allocations: 36.17 MB / 1.072 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.533e-06/2.116, allocations: 0 / 1.072 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.327e-06/2.116, allocations: 1.094 kB / 1.072 GB, free: 226.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008141/2.117, allocations: 359.3 kB / 1.072 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/2.117, allocations: 16.17 kB / 1.072 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/2.118, allocations: 19.94 kB / 1.072 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/2.118, allocations: 164.6 kB / 1.072 GB, free: 226 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/2.118, allocations: 1.312 kB / 1.072 GB, free: 226 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/2.118, allocations: 7.609 kB / 1.072 GB, free: 226 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.867e-05/2.118, allocations: 10.44 kB / 1.072 GB, free: 226 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/2.118, allocations: 54.28 kB / 1.073 GB, free: 225.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/2.118, allocations: 3.938 kB / 1.073 GB, free: 225.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/2.118, allocations: 1.219 kB / 1.073 GB, free: 225.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/2.118, allocations: 1.344 kB / 1.073 GB, free: 225.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/2.118, allocations: 146.3 kB / 1.073 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/2.118, allocations: 45.89 kB / 1.073 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/2.118, allocations: 15.02 kB / 1.073 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01246/2.131, allocations: 3.148 MB / 1.076 GB, free: 225 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.971e-05/2.131, allocations: 32.66 kB / 1.076 GB, free: 225 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.374e-06/2.131, allocations: 0 / 1.076 GB, free: 225 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.03003/2.161, allocations: 13.39 MB / 1.089 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/2.161, allocations: 57.09 kB / 1.089 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.436e-05/2.161, allocations: 88.84 kB / 1.089 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/2.161, allocations: 25.7 kB / 1.089 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.059e-05/2.161, allocations: 80.14 kB / 1.089 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/2.161, allocations: 35.11 kB / 1.089 GB, free: 223.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/2.161, allocations: 0 / 1.089 GB, free: 223.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.912e-05/2.161, allocations: 318.6 kB / 1.09 GB, free: 223 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.275e-05/2.161, allocations: 19.2 kB / 1.09 GB, free: 223 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.983e-05/2.161, allocations: 27.09 kB / 1.09 GB, free: 223 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.6e-05/2.161, allocations: 24.41 kB / 1.09 GB, free: 223 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/2.161, allocations: 0 / 1.09 GB, free: 223 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001819/2.162, allocations: 97.33 kB / 1.09 GB, free: 223 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/2.162, allocations: 4.688 kB / 1.09 GB, free: 223 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/2.162, allocations: 0 / 1.09 GB, free: 223 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/2.162, allocations: 0 / 1.09 GB, free: 223 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/2.162, allocations: 26.28 kB / 1.09 GB, free: 223 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/2.162, allocations: 3.969 kB / 1.09 GB, free: 223 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.549e-05/2.162, allocations: 0 / 1.09 GB, free: 223 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/2.162, allocations: 21.62 kB / 1.09 GB, free: 223 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 5.954e-05/2.162, allocations: 104.9 kB / 1.09 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/2.162, allocations: 3.656 kB / 1.09 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/2.162, allocations: 118.2 kB / 1.09 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/2.162, allocations: 3.875 kB / 1.09 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/2.162, allocations: 0 / 1.09 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/2.162, allocations: 3.938 kB / 1.09 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/2.162, allocations: 153.1 kB / 1.09 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/2.162, allocations: 3.969 kB / 1.09 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/2.163, allocations: 22.34 kB / 1.09 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/2.163, allocations: 0 / 1.09 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/2.163, allocations: 5.547 kB / 1.09 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/2.163, allocations: 2.625 kB / 1.09 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/2.163, allocations: 7.875 kB / 1.09 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/2.163, allocations: 134.6 kB / 1.09 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-05/2.163, allocations: 94.86 kB / 1.09 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/2.163, allocations: 3.844 kB / 1.09 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/2.163, allocations: 11.72 kB / 1.09 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/2.163, allocations: 11.7 kB / 1.09 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/2.163, allocations: 9.953 kB / 1.09 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 1.857e-05/2.163, allocations: 75.28 kB / 1.09 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/2.163, allocations: 5.812 kB / 1.09 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002371/2.166, allocations: 0.592 MB / 1.091 GB, free: 222.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.003364/2.169, allocations: 0.8268 MB / 1.092 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001579/2.169, allocations: 56.14 kB / 1.092 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/2.169, allocations: 0 / 1.092 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.806e-05/2.169, allocations: 32.8 kB / 1.092 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/2.169, allocations: 8.453 kB / 1.092 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/2.17, allocations: 277.6 kB / 1.092 GB, free: 222 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/2.17, allocations: 0.6909 MB / 1.093 GB, free: 221.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001044/2.17, allocations: 27.41 kB / 1.093 GB, free: 221.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/2.17, allocations: 15.28 kB / 1.093 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/2.17, allocations: 0 / 1.093 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.04217/2.212, allocations: 23.64 MB / 1.116 GB, free: 219.3 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)