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.001618/0.001618, allocations: 99.98 kB / 16.94 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 185.3 kB / 17.86 MB, free: 5.164 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.448/1.448, allocations: 222.9 MB / 241.6 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9034/0.9034, allocations: 125.4 MB / 417.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 71.89 kB / 0.4948 GB, free: 4.387 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.38, allocations: 78.56 MB / 0.5715 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.1699/0.55, allocations: 135.5 MB / 0.7039 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01062/0.5606, allocations: 7.925 MB / 0.7116 GB, free: 7.582 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.477e-05/0.5608, allocations: 0 / 0.7116 GB, free: 7.582 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.561, allocations: 19.89 kB / 0.7116 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.412e-05/0.5611, allocations: 19.84 kB / 0.7116 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00398/0.5651, allocations: 1.463 MB / 0.7131 GB, free: 6.082 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.5652, allocations: 79.64 kB / 0.7131 GB, free: 6.004 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.575e-05/0.5653, allocations: 0 / 0.7131 GB, free: 6.004 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.5654, allocations: 55.83 kB / 0.7132 GB, free: 5.949 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.024e-05/0.5655, allocations: 27.86 kB / 0.7132 GB, free: 5.922 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.5656, allocations: 4 kB / 0.7132 GB, free: 5.918 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004757/0.5703, allocations: 2.641 MB / 0.7158 GB, free: 3.273 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.364e-05/0.5704, allocations: 15.92 kB / 0.7158 GB, free: 3.258 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.014e-05/0.5704, allocations: 35.84 kB / 0.7158 GB, free: 3.223 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002402/0.5729, allocations: 1.372 MB / 0.7172 GB, free: 1.848 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.5729, allocations: 3.938 kB / 0.7172 GB, free: 1.844 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5729, allocations: 0 / 0.7172 GB, free: 1.844 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.5729, allocations: 0 / 0.7172 GB, free: 1.844 MB / 0.545 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.001032/0.5739, allocations: 0.4951 MB / 0.7177 GB, free: 1.301 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.574, allocations: 12.03 kB / 0.7177 GB, free: 1.289 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003787/0.5744, allocations: 20.91 kB / 0.7177 GB, free: 1.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.5745, allocations: 172.2 kB / 0.7179 GB, free: 1.062 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.868e-05/0.5746, allocations: 34.27 kB / 0.7179 GB, free: 1.023 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.5746, allocations: 7.938 kB / 0.7179 GB, free: 1.016 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.575, allocations: 123.9 kB / 0.718 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.575, allocations: 0 / 0.718 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.5751, allocations: 8 kB / 0.718 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.5751, allocations: 0 / 0.718 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.5754, allocations: 111.9 kB / 0.7181 GB, free: 0.7734 MB / 0.545 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.000582/0.576, allocations: 384.6 kB / 0.7185 GB, free: 344 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.5762, allocations: 134.5 kB / 0.7186 GB, free: 200 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.088e-05/0.5763, allocations: 48.84 kB / 0.7187 GB, free: 148 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01225/0.5886, allocations: 4.203 MB / 0.7228 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.5887, allocations: 34.56 kB / 0.7228 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.923e-06/0.5887, allocations: 0 / 0.7228 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005482/0.5892, allocations: 168.7 kB / 0.723 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.5893, allocations: 51.41 kB / 0.723 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.358e-05/0.5894, allocations: 105.8 kB / 0.7231 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.5894, allocations: 29.7 kB / 0.7232 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.5895, allocations: 88.05 kB / 0.7232 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.5895, allocations: 39.53 kB / 0.7233 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.5896, allocations: 29.7 kB / 0.7233 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.5897, allocations: 322.8 kB / 0.7236 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.485e-05/0.5898, allocations: 27.98 kB / 0.7236 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.166e-05/0.5899, allocations: 27.98 kB / 0.7237 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.59, allocations: 68.84 kB / 0.7237 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.59, allocations: 0 / 0.7237 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001871/0.5902, allocations: 105.6 kB / 0.7238 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.5902, allocations: 8 kB / 0.7238 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.5902, allocations: 3.938 kB / 0.7239 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.5903, allocations: 0 / 0.7239 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.5904, allocations: 19.98 kB / 0.7239 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.5904, allocations: 0 / 0.7239 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.173e-05/0.5905, allocations: 15.84 kB / 0.7239 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.5905, allocations: 4 kB / 0.7239 GB, free: 10.43 MB / 0.5606 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 8.848e-05/0.5906, allocations: 113.8 kB / 0.724 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.5906, allocations: 4 kB / 0.724 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004959/0.5911, allocations: 378.6 kB / 0.7244 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.5912, allocations: 11.98 kB / 0.7244 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.5912, allocations: 0 / 0.7244 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.5912, allocations: 3.938 kB / 0.7244 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.5915, allocations: 285.3 kB / 0.7247 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5915, allocations: 0 / 0.7247 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.5916, allocations: 19.98 kB / 0.7247 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.5916, allocations: 3.938 kB / 0.7247 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.5916, allocations: 8 kB / 0.7247 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5917, allocations: 0 / 0.7247 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5917, allocations: 4 kB / 0.7247 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.592, allocations: 334.8 kB / 0.725 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.439e-05/0.5921, allocations: 100.9 kB / 0.7251 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.5922, allocations: 0 / 0.7251 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.5923, allocations: 11.98 kB / 0.7251 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.5923, allocations: 7.984 kB / 0.7251 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.5924, allocations: 7.938 kB / 0.7251 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.867e-05/0.5924, allocations: 91.27 kB / 0.7252 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5924, allocations: 0 / 0.7252 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008947/0.5933, allocations: 299.8 kB / 0.7255 GB, free: 8.684 MB / 0.5606 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.001222/0.5945, allocations: 402 kB / 0.7259 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002668/0.5948, allocations: 128 kB / 0.726 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5948, allocations: 3.938 kB / 0.726 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.595, allocations: 112 kB / 0.7261 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.5953, allocations: 22.11 kB / 0.7261 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000554/0.5958, allocations: 334.2 kB / 0.7265 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.5962, allocations: 0.7182 MB / 0.7272 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.5963, allocations: 19.44 kB / 0.7272 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of SimCode: time 2.084e-06/0.5963, allocations: 4 kB / 0.7272 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of Templates: time 0.01118/0.6075, allocations: 6.756 MB / 0.7338 GB, free: 144 kB / 0.5606 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)