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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009641/0.0009639, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008949/0.0008951, allocations: 182.3 kB / 16.92 MB, free: 6.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7085/0.7085, allocations: 115.4 MB / 407.5 MB, free: 2.762 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004511/0.0004511, allocations: 8 kB / 495.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2066, allocations: 77.51 MB / 0.5598 GB, free: 9.176 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.5074/0.7141, allocations: 131.7 MB / 0.6884 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.7248, allocations: 8.382 MB / 0.6966 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.992e-05/0.7249, allocations: 0 / 0.6966 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.7251, allocations: 19.91 kB / 0.6966 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-05/0.7252, allocations: 23.84 kB / 0.6966 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003513/0.7287, allocations: 1.156 MB / 0.6978 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.7288, allocations: 67.66 kB / 0.6978 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/0.7289, allocations: 11.97 kB / 0.6978 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.729, allocations: 39.8 kB / 0.6979 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.511e-05/0.7291, allocations: 39.89 kB / 0.6979 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.7292, allocations: 0 / 0.6979 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005206/0.7344, allocations: 2.653 MB / 0.7005 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.53e-05/0.7344, allocations: 15.92 kB / 0.7005 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.26e-05/0.7345, allocations: 61.55 kB / 0.7006 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002417/0.7369, allocations: 1.361 MB / 0.7019 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7369, allocations: 4 kB / 0.7019 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.342e-06/0.737, allocations: 4 kB / 0.7019 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.737, allocations: 0 / 0.7019 GB, free: 4.945 MB / 0.5137 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.001306/0.7383, allocations: 491.7 kB / 0.7024 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.7383, allocations: 8.031 kB / 0.7024 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000454/0.7388, allocations: 28.81 kB / 0.7024 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.7389, allocations: 164.3 kB / 0.7026 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.008e-05/0.739, allocations: 38.45 kB / 0.7026 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.739, allocations: 11.92 kB / 0.7026 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.7394, allocations: 121.6 kB / 0.7027 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.7394, allocations: 0 / 0.7027 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.7395, allocations: 4 kB / 0.7027 GB, free: 4 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.7395, allocations: 0 / 0.7027 GB, free: 4 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.7398, allocations: 119.8 kB / 0.7028 GB, free: 3.883 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.7403, allocations: 384 kB / 0.7032 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.7405, allocations: 126.6 kB / 0.7033 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.618e-05/0.7406, allocations: 52.83 kB / 0.7034 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01128/0.7519, allocations: 4.242 MB / 0.7075 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.752, allocations: 46.48 kB / 0.7076 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 2.574e-06/0.752, allocations: 0 / 0.7076 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0005392/0.7525, allocations: 157.5 kB / 0.7077 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.7526, allocations: 63.41 kB / 0.7078 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.768e-05/0.7527, allocations: 93.86 kB / 0.7079 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.7527, allocations: 33.64 kB / 0.7079 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.7528, allocations: 92.12 kB / 0.708 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.7528, allocations: 43.44 kB / 0.708 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.7528, allocations: 17.72 kB / 0.7081 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.753, allocations: 318.8 kB / 0.7084 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.133e-05/0.753, allocations: 27.98 kB / 0.7084 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.592e-05/0.7531, allocations: 30.92 kB / 0.7084 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.7532, allocations: 68.84 kB / 0.7085 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7532, allocations: 0 / 0.7085 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002228/0.7534, allocations: 109.7 kB / 0.7086 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.7535, allocations: 4 kB / 0.7086 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.7535, allocations: 0 / 0.7086 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.7535, allocations: 0 / 0.7086 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.7536, allocations: 27.92 kB / 0.7086 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.7537, allocations: 0 / 0.7086 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.939e-05/0.7537, allocations: 7.906 kB / 0.7086 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.7537, allocations: 7.938 kB / 0.7086 GB, free: 13.5 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.7539, allocations: 125.8 kB / 0.7087 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.7539, allocations: 3.906 kB / 0.7088 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004676/0.7544, allocations: 361.9 kB / 0.7091 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.7544, allocations: 19.92 kB / 0.7091 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.7544, allocations: 0 / 0.7091 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.7544, allocations: 0 / 0.7091 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.7547, allocations: 281.3 kB / 0.7094 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.7548, allocations: 7.047 kB / 0.7094 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.612e-05/0.7549, allocations: 20 kB / 0.7094 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.7549, allocations: 0 / 0.7094 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.7549, allocations: 7.984 kB / 0.7094 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.7549, allocations: 3.938 kB / 0.7094 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7549, allocations: 4 kB / 0.7094 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.7552, allocations: 338.8 kB / 0.7097 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-05/0.7553, allocations: 104.8 kB / 0.7098 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.7554, allocations: 8.188 kB / 0.7099 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.7555, allocations: 7.984 kB / 0.7099 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.7555, allocations: 11.97 kB / 0.7099 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.7555, allocations: 11.98 kB / 0.7099 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.414e-05/0.7556, allocations: 79.22 kB / 0.71 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7556, allocations: 4 kB / 0.71 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008668/0.7565, allocations: 295.9 kB / 0.7102 GB, free: 11.75 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001536/0.758, allocations: 396 kB / 0.7106 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002508/0.7583, allocations: 124.9 kB / 0.7107 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.7583, allocations: 3.938 kB / 0.7107 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.7584, allocations: 115.9 kB / 0.7109 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.7587, allocations: 14.06 kB / 0.7109 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005382/0.7593, allocations: 382.2 kB / 0.7112 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.7596, allocations: 0.7169 MB / 0.7119 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000108/0.7597, allocations: 28.67 kB / 0.712 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.7597, allocations: 15.44 kB / 0.712 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.7597, allocations: 3.938 kB / 0.712 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of Templates: time 0.01667/0.7764, allocations: 9.727 MB / 0.7215 GB, free: 200 kB / 0.5294 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)