Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamProperties") translateModel(IBPSA.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4865/0.4865, allocations: 90.91 MB / 99.34 MB, free: 2.172 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 221.5 MB / 343.2 MB, free: 1.551 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009171/0.0009173, allocations: 99.27 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.556e-05/1.556e-05, allocations: 7.125 kB / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1464, allocations: 72.31 MB / 0.5535 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.215/1.362, allocations: 412.5 MB / 0.9563 GB, free: 66.89 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/1.362, allocations: 75.89 kB / 0.9564 GB, free: 66.85 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.904/2.266, allocations: 193 MB / 1.145 GB, free: 137 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/2.266, allocations: 5.594 kB / 1.145 GB, free: 137 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.251e-05/2.266, allocations: 4 kB / 1.145 GB, free: 137 MB / 0.6042 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.006697/2.273, allocations: 1.221 MB / 1.146 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/2.273, allocations: 8.031 kB / 1.146 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/2.274, allocations: 81.14 kB / 1.146 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/2.274, allocations: 226.8 kB / 1.146 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/2.275, allocations: 4.516 kB / 1.146 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/2.275, allocations: 8 kB / 1.146 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005058/2.275, allocations: 407.7 kB / 1.147 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/2.275, allocations: 213.2 kB / 1.147 GB, free: 135 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/2.275, allocations: 0 / 1.147 GB, free: 135 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/2.275, allocations: 0 / 1.147 GB, free: 135 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/2.275, allocations: 5.938 kB / 1.147 GB, free: 135 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009481/2.276, allocations: 0.861 MB / 1.148 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/2.277, allocations: 138.1 kB / 1.148 GB, free: 134 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.396e-05/2.277, allocations: 64.58 kB / 1.148 GB, free: 134 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07646/2.353, allocations: 34.75 MB / 1.182 GB, free: 96.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/2.353, allocations: 41.66 kB / 1.182 GB, free: 96.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.773e-06/2.353, allocations: 0 / 1.182 GB, free: 96.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.001331/2.355, allocations: 277.5 kB / 1.182 GB, free: 96.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/2.355, allocations: 55.41 kB / 1.182 GB, free: 96.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.443e-05/2.355, allocations: 121.1 kB / 1.182 GB, free: 96.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/2.355, allocations: 25.7 kB / 1.182 GB, free: 96.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/2.355, allocations: 108.3 kB / 1.183 GB, free: 96.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.078e-05/2.355, allocations: 78.75 kB / 1.183 GB, free: 96.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/2.355, allocations: 4 kB / 1.183 GB, free: 96.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.71e-05/2.355, allocations: 322.8 kB / 1.183 GB, free: 95.87 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/2.355, allocations: 67.98 kB / 1.183 GB, free: 95.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/2.355, allocations: 123.7 kB / 1.183 GB, free: 95.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007558/2.356, allocations: 119.9 kB / 1.183 GB, free: 95.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/2.356, allocations: 3.953 kB / 1.183 GB, free: 95.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001073/2.357, allocations: 308.6 kB / 1.184 GB, free: 95.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/2.357, allocations: 8 kB / 1.184 GB, free: 95.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/2.357, allocations: 0 / 1.184 GB, free: 95.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/2.357, allocations: 7.938 kB / 1.184 GB, free: 95.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/2.357, allocations: 82.28 kB / 1.184 GB, free: 95.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/2.357, allocations: 10.56 kB / 1.184 GB, free: 95.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/2.358, allocations: 19.73 kB / 1.184 GB, free: 95.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/2.358, allocations: 23.98 kB / 1.184 GB, free: 95.1 MB / 0.6042 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.0001016/2.358, allocations: 106.6 kB / 1.184 GB, free: 94.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/2.358, allocations: 19.86 kB / 1.184 GB, free: 94.97 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/2.359, allocations: 0.5151 MB / 1.184 GB, free: 94.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/2.359, allocations: 4 kB / 1.184 GB, free: 94.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/2.359, allocations: 2.438 kB / 1.184 GB, free: 94.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/2.359, allocations: 3.984 kB / 1.184 GB, free: 94.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/2.361, allocations: 0.8148 MB / 1.185 GB, free: 93.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/2.361, allocations: 0 / 1.185 GB, free: 93.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/2.361, allocations: 66.47 kB / 1.185 GB, free: 93.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/2.361, allocations: 0 / 1.185 GB, free: 93.53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/2.361, allocations: 15.98 kB / 1.185 GB, free: 93.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/2.361, allocations: 4 kB / 1.185 GB, free: 93.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/2.361, allocations: 2.625 kB / 1.185 GB, free: 93.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/2.362, allocations: 472.2 kB / 1.186 GB, free: 93.03 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.239e-05/2.362, allocations: 124.8 kB / 1.186 GB, free: 92.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/2.362, allocations: 7.984 kB / 1.186 GB, free: 92.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/2.363, allocations: 8 kB / 1.186 GB, free: 92.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/2.363, allocations: 27.95 kB / 1.186 GB, free: 92.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/2.363, allocations: 27.97 kB / 1.186 GB, free: 92.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.087e-05/2.363, allocations: 95.97 kB / 1.186 GB, free: 92.72 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/2.363, allocations: 4 kB / 1.186 GB, free: 92.72 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.007965/2.371, allocations: 1.658 MB / 1.188 GB, free: 91.06 MB / 0.6042 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.016/2.387, allocations: 2.524 MB / 1.19 GB, free: 88.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006393/2.387, allocations: 234.4 kB / 1.19 GB, free: 88.51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/2.388, allocations: 0 / 1.19 GB, free: 88.51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/2.388, allocations: 162.1 kB / 1.19 GB, free: 88.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005753/2.388, allocations: 36.78 kB / 1.19 GB, free: 88.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007261/2.389, allocations: 273.4 kB / 1.191 GB, free: 88.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/2.389, allocations: 0.7376 MB / 1.191 GB, free: 87.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001272/2.391, allocations: 1.222 MB / 1.193 GB, free: 86.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/2.391, allocations: 59.39 kB / 1.193 GB, free: 86.01 MB / 0.6042 GB Notification: Performance of SimCode: time 5.2e-07/2.391, allocations: 0 / 1.193 GB, free: 86.01 MB / 0.6042 GB Notification: Performance of Templates: time 0.05333/2.444, allocations: 39.52 MB / 1.231 GB, free: 46.54 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe 2>&1)