Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001301/0.001301, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7272/0.7272, allocations: 130.5 MB / 143.8 MB, free: 13.59 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.613/1.613, allocations: 221.3 MB / 396.8 MB, free: 9.164 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000975/0.000975, allocations: 93.98 kB / 478.9 MB, free: 10.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.236e-05/3.239e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1681, allocations: 81.58 MB / 0.6347 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.446/1.614, allocations: 422.7 MB / 1.048 GB, free: 207 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/1.614, allocations: 71.97 kB / 1.048 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4704/2.085, allocations: 195.8 MB / 1.239 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.793e-06/2.085, allocations: 0 / 1.239 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.42e-05/2.085, allocations: 4 kB / 1.239 GB, free: 10.78 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.00654/2.091, allocations: 1.219 MB / 1.24 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/2.091, allocations: 8.031 kB / 1.24 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/2.093, allocations: 79.73 kB / 1.24 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/2.093, allocations: 226.8 kB / 1.24 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/2.093, allocations: 16 kB / 1.24 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/2.093, allocations: 15.95 kB / 1.24 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009958/2.094, allocations: 456.5 kB / 1.241 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/2.094, allocations: 0 / 1.241 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/2.094, allocations: 8 kB / 1.241 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/2.094, allocations: 4 kB / 1.241 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009779/2.095, allocations: 0.5854 MB / 1.241 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009132/2.096, allocations: 0.9061 MB / 1.242 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006801/2.096, allocations: 248.1 kB / 1.242 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/2.097, allocations: 76.84 kB / 1.243 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6816/2.778, allocations: 34.74 MB / 1.276 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/2.778, allocations: 41.22 kB / 1.277 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/2.778, allocations: 2.719 kB / 1.277 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001508/2.78, allocations: 369.6 kB / 1.277 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/2.78, allocations: 55.25 kB / 1.277 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/2.78, allocations: 126.6 kB / 1.277 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/2.78, allocations: 34.05 kB / 1.277 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/2.78, allocations: 108.3 kB / 1.277 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.252e-05/2.78, allocations: 82.38 kB / 1.277 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/2.78, allocations: 6.562 kB / 1.277 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.878e-05/2.78, allocations: 321.5 kB / 1.278 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/2.78, allocations: 78.78 kB / 1.278 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/2.781, allocations: 130 kB / 1.278 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/2.781, allocations: 86.38 kB / 1.278 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/2.781, allocations: 2.531 kB / 1.278 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006404/2.782, allocations: 298.1 kB / 1.278 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/2.782, allocations: 5.5 kB / 1.278 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/2.782, allocations: 2.375 kB / 1.278 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/2.782, allocations: 2.75 kB / 1.278 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/2.782, allocations: 81.38 kB / 1.278 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/2.782, allocations: 4.438 kB / 1.278 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/2.782, allocations: 23.17 kB / 1.278 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/2.782, allocations: 30.03 kB / 1.278 GB, free: 135.8 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 () * 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 9.996e-05/2.782, allocations: 127.5 kB / 1.278 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/2.782, allocations: 15.03 kB / 1.278 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009371/2.783, allocations: 0.4907 MB / 1.279 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/2.783, allocations: 13.42 kB / 1.279 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/2.783, allocations: 0.5938 kB / 1.279 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/2.783, allocations: 0.5 kB / 1.279 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/2.785, allocations: 0.8113 MB / 1.28 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/2.785, allocations: 0 / 1.28 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/2.785, allocations: 70.08 kB / 1.28 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/2.785, allocations: 1.156 kB / 1.28 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/2.785, allocations: 25.56 kB / 1.28 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/2.785, allocations: 5.469 kB / 1.28 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/2.785, allocations: 2.812 kB / 1.28 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007823/2.786, allocations: 442.2 kB / 1.28 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/2.786, allocations: 127.1 kB / 1.28 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/2.786, allocations: 5 kB / 1.28 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/2.786, allocations: 24.05 kB / 1.28 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.78e-05/2.786, allocations: 29 kB / 1.28 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.999e-05/2.786, allocations: 24.98 kB / 1.28 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.033e-05/2.787, allocations: 106.2 kB / 1.281 GB, free: 135 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/2.787, allocations: 0 / 1.281 GB, free: 135 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007654/2.794, allocations: 1.673 MB / 1.282 GB, free: 135 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: 2 ($cse1.phase,$cse1.region) * 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: 1 * 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.01281/2.807, allocations: 2.444 MB / 1.285 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006406/2.808, allocations: 248.3 kB / 1.285 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/2.808, allocations: 0 / 1.285 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002304/2.808, allocations: 165.6 kB / 1.285 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005498/2.809, allocations: 63.7 kB / 1.285 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006441/2.809, allocations: 287 kB / 1.285 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/2.809, allocations: 0.7374 MB / 1.286 GB, free: 134 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001139/2.811, allocations: 1.219 MB / 1.287 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/2.811, allocations: 59.11 kB / 1.287 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of SimCode: time 4.81e-07/2.811, allocations: 0 / 1.287 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.05197/2.863, allocations: 46.17 MB / 1.332 GB, free: 132.1 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamProperties.makefile (rm -f IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamProperties.sim & ./IDEAS_IDEAS.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)