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.001111/0.001111, 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.7764/0.7764, allocations: 130.7 MB / 138.7 MB, free: 3.586 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.568/1.568, 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.0008466/0.0008466, allocations: 93.66 kB / 473.9 MB, free: 4.512 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.667e-05/1.661e-05, allocations: 4 kB / 0.5485 GB, free: 13.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4637/0.4638, allocations: 81.57 MB / 0.6282 GB, free: 42.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8966/1.36, allocations: 422 MB / 1.04 GB, free: 4.109 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/1.361, allocations: 69.09 kB / 1.04 GB, free: 4.074 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.9023/2.263, allocations: 193 MB / 1.229 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.364e-06/2.263, allocations: 0 / 1.229 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.063e-05/2.263, allocations: 4 kB / 1.229 GB, free: 114.2 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.007252/2.27, allocations: 1.219 MB / 1.23 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/2.27, allocations: 12.03 kB / 1.23 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/2.272, allocations: 83.27 kB / 1.23 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/2.272, allocations: 226.8 kB / 1.23 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/2.272, allocations: 4 kB / 1.23 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/2.272, allocations: 8 kB / 1.23 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004925/2.273, allocations: 399.7 kB / 1.231 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003109/2.273, allocations: 224.4 kB / 1.231 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/2.273, allocations: 0 / 1.231 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/2.273, allocations: 0 / 1.231 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/2.273, allocations: 4 kB / 1.231 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000977/2.274, allocations: 0.8553 MB / 1.232 GB, free: 111 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/2.274, allocations: 142.4 kB / 1.232 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.339e-05/2.274, allocations: 68.84 kB / 1.232 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08104/2.355, allocations: 34.74 MB / 1.266 GB, free: 72.93 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/2.356, allocations: 38.56 kB / 1.266 GB, free: 72.89 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 3.156e-06/2.356, allocations: 0 / 1.266 GB, free: 72.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001834/2.357, allocations: 280.4 kB / 1.266 GB, free: 72.61 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/2.357, allocations: 55.34 kB / 1.266 GB, free: 72.54 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/2.358, allocations: 115.2 kB / 1.266 GB, free: 72.42 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.652e-05/2.358, allocations: 25.7 kB / 1.266 GB, free: 72.39 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.829e-05/2.358, allocations: 112.2 kB / 1.267 GB, free: 72.28 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.193e-05/2.358, allocations: 86.75 kB / 1.267 GB, free: 72.19 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/2.358, allocations: 0 / 1.267 GB, free: 72.19 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001077/2.358, allocations: 322.8 kB / 1.267 GB, free: 71.87 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/2.358, allocations: 67.98 kB / 1.267 GB, free: 71.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/2.358, allocations: 117.1 kB / 1.267 GB, free: 71.67 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008291/2.359, allocations: 123.9 kB / 1.267 GB, free: 71.55 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/2.359, allocations: 3.938 kB / 1.267 GB, free: 71.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001233/2.36, allocations: 319.2 kB / 1.268 GB, free: 71.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/2.36, allocations: 5.719 kB / 1.268 GB, free: 71.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/2.36, allocations: 0 / 1.268 GB, free: 71.22 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.002e-05/2.36, allocations: 4 kB / 1.268 GB, free: 71.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/2.361, allocations: 80.03 kB / 1.268 GB, free: 71.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/2.361, allocations: 8 kB / 1.268 GB, free: 71.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/2.361, allocations: 15.75 kB / 1.268 GB, free: 71.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.333e-05/2.361, allocations: 31.91 kB / 1.268 GB, free: 71.09 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 0.0001418/2.361, allocations: 108.9 kB / 1.268 GB, free: 70.97 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/2.362, allocations: 15.86 kB / 1.268 GB, free: 70.96 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/2.363, allocations: 0.5214 MB / 1.268 GB, free: 70.42 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/2.363, allocations: 7.938 kB / 1.268 GB, free: 70.41 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/2.363, allocations: 0 / 1.268 GB, free: 70.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/2.363, allocations: 3.984 kB / 1.268 GB, free: 70.41 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/2.365, allocations: 0.7969 MB / 1.269 GB, free: 69.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/2.365, allocations: 0 / 1.269 GB, free: 69.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/2.365, allocations: 71.88 kB / 1.269 GB, free: 69.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/2.365, allocations: 4 kB / 1.269 GB, free: 69.51 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/2.365, allocations: 15.98 kB / 1.269 GB, free: 69.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/2.365, allocations: 4 kB / 1.269 GB, free: 69.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.22e-05/2.365, allocations: 0 / 1.269 GB, free: 69.49 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/2.366, allocations: 467.3 kB / 1.27 GB, free: 69.02 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/2.366, allocations: 124.7 kB / 1.27 GB, free: 68.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/2.366, allocations: 7.984 kB / 1.27 GB, free: 68.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/2.367, allocations: 12 kB / 1.27 GB, free: 68.86 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/2.367, allocations: 31.89 kB / 1.27 GB, free: 68.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/2.367, allocations: 31.97 kB / 1.27 GB, free: 68.79 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.154e-05/2.367, allocations: 88.41 kB / 1.27 GB, free: 68.71 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/2.367, allocations: 0 / 1.27 GB, free: 68.71 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.008884/2.376, allocations: 1.658 MB / 1.272 GB, free: 67.05 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.01841/2.394, allocations: 2.52 MB / 1.274 GB, free: 64.67 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005831/2.395, allocations: 236.9 kB / 1.274 GB, free: 64.44 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/2.395, allocations: 8.25 kB / 1.274 GB, free: 64.43 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/2.395, allocations: 159.9 kB / 1.274 GB, free: 64.28 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005206/2.396, allocations: 31.91 kB / 1.274 GB, free: 64.25 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00069/2.396, allocations: 286.2 kB / 1.275 GB, free: 63.95 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/2.397, allocations: 0.7415 MB / 1.275 GB, free: 63.18 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001175/2.398, allocations: 1.218 MB / 1.277 GB, free: 61.96 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/2.398, allocations: 59.39 kB / 1.277 GB, free: 61.9 MB / 0.6823 GB Notification: Performance of SimCode: time 6.11e-07/2.398, allocations: 0 / 1.277 GB, free: 61.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.05158/2.449, allocations: 39.5 MB / 1.315 GB, free: 22.41 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)