Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.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.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 182 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7182/0.7182, allocations: 91.99 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.735/1.735, allocations: 223.2 MB / 354.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 107.1 kB / 427.4 MB, free: 3.934 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003644, allocations: 8 kB / 0.4982 GB, free: 42.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1902, allocations: 72.31 MB / 0.5689 GB, free: 1.949 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.937/2.128, allocations: 0.6433 GB / 1.212 GB, free: 76.16 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/2.128, allocations: 72.72 kB / 1.212 GB, free: 76.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1518/2.28, allocations: 64.94 MB / 1.276 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.974e-06/2.28, allocations: 0 / 1.276 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.827e-06/2.28, allocations: 0 / 1.276 GB, free: 10.99 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00166/2.281, allocations: 0.4994 MB / 1.276 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/2.282, allocations: 8.031 kB / 1.276 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004447/2.282, allocations: 27.88 kB / 1.276 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.477e-05/2.282, allocations: 167 kB / 1.276 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.208e-05/2.282, allocations: 33.7 kB / 1.276 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/2.282, allocations: 4 kB / 1.276 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/2.283, allocations: 129.5 kB / 1.276 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/2.283, allocations: 0 / 1.276 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/2.283, allocations: 0 / 1.276 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/2.283, allocations: 4 kB / 1.276 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/2.283, allocations: 124.4 kB / 1.277 GB, free: 9.902 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/2.283, allocations: 332.6 kB / 1.277 GB, free: 9.527 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/2.284, allocations: 131.4 kB / 1.277 GB, free: 9.391 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01411/2.298, allocations: 4.157 MB / 1.281 GB, free: 4.914 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.803e-05/2.298, allocations: 34.56 kB / 1.281 GB, free: 4.871 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 3.857e-06/2.298, allocations: 0 / 1.281 GB, free: 4.871 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0007786/2.299, allocations: 159.9 kB / 1.281 GB, free: 4.711 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/2.299, allocations: 55.41 kB / 1.281 GB, free: 4.645 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.333e-05/2.299, allocations: 96.98 kB / 1.281 GB, free: 4.543 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/2.299, allocations: 29.64 kB / 1.281 GB, free: 4.508 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/2.299, allocations: 88.14 kB / 1.282 GB, free: 4.418 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/2.299, allocations: 47.44 kB / 1.282 GB, free: 4.371 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/2.299, allocations: 0 / 1.282 GB, free: 4.371 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.557e-05/2.299, allocations: 314.8 kB / 1.282 GB, free: 4.055 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.872e-05/2.299, allocations: 27.98 kB / 1.282 GB, free: 4.027 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.592e-05/2.299, allocations: 23.98 kB / 1.282 GB, free: 4.004 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.749e-05/2.299, allocations: 28 kB / 1.282 GB, free: 3.977 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/2.299, allocations: 0 / 1.282 GB, free: 3.977 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002597/2.3, allocations: 108.5 kB / 1.282 GB, free: 3.867 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/2.3, allocations: 11.98 kB / 1.282 GB, free: 3.855 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/2.3, allocations: 0 / 1.282 GB, free: 3.855 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/2.3, allocations: 0 / 1.282 GB, free: 3.855 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/2.3, allocations: 35.92 kB / 1.282 GB, free: 3.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/2.3, allocations: 0 / 1.282 GB, free: 3.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.588e-05/2.3, allocations: 3.906 kB / 1.282 GB, free: 3.816 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/2.3, allocations: 4 kB / 1.282 GB, free: 3.812 MB / 0.6042 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.653e-05/2.3, allocations: 113.8 kB / 1.282 GB, free: 3.691 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/2.3, allocations: 19.8 kB / 1.282 GB, free: 3.672 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005647/2.301, allocations: 375.9 kB / 1.283 GB, free: 3.297 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/2.301, allocations: 3.984 kB / 1.283 GB, free: 3.293 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/2.301, allocations: 4 kB / 1.283 GB, free: 3.289 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/2.301, allocations: 0 / 1.283 GB, free: 3.289 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/2.301, allocations: 281.3 kB / 1.283 GB, free: 2.965 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/2.301, allocations: 4 kB / 1.283 GB, free: 2.961 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/2.301, allocations: 23.98 kB / 1.283 GB, free: 2.938 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/2.301, allocations: 3.953 kB / 1.283 GB, free: 2.934 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/2.301, allocations: 7.984 kB / 1.283 GB, free: 2.926 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/2.301, allocations: 0 / 1.283 GB, free: 2.926 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/2.301, allocations: 0 / 1.283 GB, free: 2.926 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/2.302, allocations: 315.3 kB / 1.283 GB, free: 2.602 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-05/2.302, allocations: 112.8 kB / 1.283 GB, free: 2.473 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/2.302, allocations: 8 kB / 1.283 GB, free: 2.465 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/2.302, allocations: 4 kB / 1.283 GB, free: 2.461 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/2.302, allocations: 11.98 kB / 1.283 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/2.302, allocations: 11.98 kB / 1.283 GB, free: 2.438 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.88e-05/2.302, allocations: 75.28 kB / 1.283 GB, free: 2.363 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.21e-07/2.302, allocations: 0 / 1.283 GB, free: 2.363 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002259/2.305, allocations: 339.8 kB / 1.284 GB, free: 2.031 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.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.004272/2.309, allocations: 0.8434 MB / 1.285 GB, free: 1.188 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003444/2.309, allocations: 119.9 kB / 1.285 GB, free: 1.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/2.309, allocations: 4 kB / 1.285 GB, free: 1.066 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002111/2.309, allocations: 119.9 kB / 1.285 GB, free: 0.9492 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/2.31, allocations: 11.94 kB / 1.285 GB, free: 0.9375 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007881/2.311, allocations: 394.3 kB / 1.285 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3572/2.668, allocations: 0.7146 MB / 1.286 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002347/2.668, allocations: 29.84 kB / 1.286 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/2.668, allocations: 16.19 kB / 1.286 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of SimCode: time 1.743e-06/2.668, allocations: 2.781 kB / 1.286 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.02966/2.698, allocations: 15.46 MB / 1.301 GB, free: 158.2 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)