Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.SteamSaturationConsistencyCheck") translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001673, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002077/0.002077, allocations: 190.5 kB / 16.14 MB, free: 6.656 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.416/1.416, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 62.86 kB / 0.9113 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3702, allocations: 159.9 MB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1569/0.5271, allocations: 133.5 MB / 1.198 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01029/0.5375, allocations: 8.498 MB / 1.206 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.434e-05/0.5376, allocations: 0 / 1.206 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.5378, allocations: 27.88 kB / 1.206 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.378e-05/0.5379, allocations: 15.84 kB / 1.206 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003314/0.5412, allocations: 1.145 MB / 1.207 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.5414, allocations: 83.58 kB / 1.207 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.5414, allocations: 4 kB / 1.207 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.5416, allocations: 39.89 kB / 1.207 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.5417, allocations: 31.8 kB / 1.207 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.5417, allocations: 4 kB / 1.207 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004216/0.5459, allocations: 2.657 MB / 1.21 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.148e-05/0.546, allocations: 15.97 kB / 1.21 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.513e-05/0.5461, allocations: 31.86 kB / 1.21 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001968/0.548, allocations: 1.38 MB / 1.211 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.548, allocations: 0 / 1.211 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.548, allocations: 0 / 1.211 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.5481, allocations: 0 / 1.211 GB, free: 7.047 MB / 0.9669 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.0009934/0.5491, allocations: 499.2 kB / 1.212 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.5491, allocations: 12.03 kB / 1.212 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003742/0.5495, allocations: 24.83 kB / 1.212 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.5496, allocations: 180.2 kB / 1.212 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.058e-05/0.5497, allocations: 30.27 kB / 1.212 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.5497, allocations: 11.94 kB / 1.212 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.5501, allocations: 113.6 kB / 1.212 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.5501, allocations: 0 / 1.212 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.5502, allocations: 11.94 kB / 1.212 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.5502, allocations: 4 kB / 1.212 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002887/0.5505, allocations: 119.8 kB / 1.212 GB, free: 5.965 MB / 0.9669 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.0005153/0.551, allocations: 380 kB / 1.213 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.5513, allocations: 126.6 kB / 1.213 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.459e-05/0.5513, allocations: 48.84 kB / 1.213 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01086/0.5622, allocations: 4.21 MB / 1.217 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/0.5623, allocations: 34.56 kB / 1.217 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 2.364e-06/0.5623, allocations: 0 / 1.217 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005555/0.5629, allocations: 172.7 kB / 1.217 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.5629, allocations: 55.39 kB / 1.217 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.536e-05/0.563, allocations: 97.86 kB / 1.217 GB, free: 444 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.563, allocations: 29.7 kB / 1.217 GB, free: 408 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.5631, allocations: 88.08 kB / 1.217 GB, free: 316 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.5632, allocations: 47.44 kB / 1.218 GB, free: 268 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.5632, allocations: 29.7 kB / 1.218 GB, free: 232 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5633, allocations: 318.8 kB / 1.218 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.888e-05/0.5634, allocations: 23.98 kB / 1.218 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.983e-05/0.5635, allocations: 27.98 kB / 1.218 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.5636, allocations: 68.78 kB / 1.218 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5636, allocations: 0 / 1.218 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001763/0.5638, allocations: 109.6 kB / 1.218 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.5638, allocations: 9.562 kB / 1.218 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5638, allocations: 4 kB / 1.218 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.5638, allocations: 0 / 1.218 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.564, allocations: 23.98 kB / 1.218 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.564, allocations: 0 / 1.218 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.585e-05/0.5641, allocations: 7.938 kB / 1.218 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.5641, allocations: 3.938 kB / 1.218 GB, free: 15.62 MB / 0.9825 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 9.2e-05/0.5642, allocations: 117.8 kB / 1.218 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.5642, allocations: 7.906 kB / 1.218 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004369/0.5647, allocations: 375.6 kB / 1.219 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.5647, allocations: 7.984 kB / 1.219 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.5647, allocations: 0 / 1.219 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.5647, allocations: 3.938 kB / 1.219 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.565, allocations: 285.3 kB / 1.219 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.565, allocations: 4 kB / 1.219 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.687e-05/0.5651, allocations: 23.92 kB / 1.219 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5651, allocations: 3.938 kB / 1.219 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.5651, allocations: 4 kB / 1.219 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5651, allocations: 0 / 1.219 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5651, allocations: 0 / 1.219 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.5655, allocations: 327 kB / 1.219 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.441e-05/0.5656, allocations: 112.8 kB / 1.219 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.5656, allocations: 8 kB / 1.219 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.5657, allocations: 8 kB / 1.219 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.5658, allocations: 11.92 kB / 1.219 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.5658, allocations: 11.92 kB / 1.219 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.858e-05/0.5658, allocations: 79.47 kB / 1.219 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5658, allocations: 3.938 kB / 1.219 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008811/0.5667, allocations: 295.9 kB / 1.22 GB, free: 13.87 MB / 0.9825 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.001201/0.5679, allocations: 399.1 kB / 1.22 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.5682, allocations: 127 kB / 1.22 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5682, allocations: 0 / 1.22 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.5683, allocations: 117.6 kB / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.5686, allocations: 15.98 kB / 1.22 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.5692, allocations: 382.1 kB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.5695, allocations: 0.713 MB / 1.221 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001203/0.5696, allocations: 36.33 kB / 1.221 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.5696, allocations: 11.44 kB / 1.221 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.5696, allocations: 4 kB / 1.221 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of Templates: time 0.01415/0.5838, allocations: 9.735 MB / 1.231 GB, free: 2.293 MB / 0.9825 GB make -j1 -f Buildings_1.6_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f Buildings_1.6_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_1.6_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_1.6_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_1.6_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)