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.001442/0.001442, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001478/0.001478, allocations: 187.8 kB / 16.25 MB, free: 6.625 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.481/1.481, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.818/2.818, allocations: 472.6 MB / 0.7448 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 72.38 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3676, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1761/0.5437, allocations: 133.6 MB / 1.198 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008837/0.5526, allocations: 7.971 MB / 1.206 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.527e-05/0.5527, allocations: 0 / 1.206 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.5529, allocations: 19.89 kB / 1.206 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.442e-05/0.5529, allocations: 7.922 kB / 1.206 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003609/0.5566, allocations: 1.3 MB / 1.207 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.5567, allocations: 75.64 kB / 1.207 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.923e-05/0.5568, allocations: 4 kB / 1.207 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.5569, allocations: 47.77 kB / 1.207 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.682e-05/0.557, allocations: 35.86 kB / 1.207 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.557, allocations: 3.938 kB / 1.207 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004081/0.5611, allocations: 2.645 MB / 1.21 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.5612, allocations: 11.98 kB / 1.21 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.739e-05/0.5612, allocations: 39.72 kB / 1.21 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.5632, allocations: 1.38 MB / 1.211 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5633, allocations: 0 / 1.211 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5633, allocations: 0 / 1.211 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.5633, allocations: 0 / 1.211 GB, free: 7.105 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.000987/0.5643, allocations: 499.2 kB / 1.212 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.5643, allocations: 12.03 kB / 1.212 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000373/0.5647, allocations: 24.83 kB / 1.212 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.5648, allocations: 172.3 kB / 1.212 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.44e-05/0.5649, allocations: 38.25 kB / 1.212 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.565, allocations: 11.94 kB / 1.212 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003565/0.5653, allocations: 110.9 kB / 1.212 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.5653, allocations: 0 / 1.212 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.5654, allocations: 8 kB / 1.212 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5654, allocations: 0 / 1.212 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.5657, allocations: 111.9 kB / 1.212 GB, free: 6.043 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.0005749/0.5663, allocations: 388 kB / 1.213 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.5666, allocations: 126.6 kB / 1.213 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.847e-05/0.5666, allocations: 48.84 kB / 1.213 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01137/0.578, allocations: 4.206 MB / 1.217 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.5781, allocations: 34.56 kB / 1.217 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 3.908e-06/0.5781, allocations: 0 / 1.217 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005833/0.5787, allocations: 169.4 kB / 1.217 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.5787, allocations: 51.41 kB / 1.217 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.698e-05/0.5788, allocations: 101.8 kB / 1.217 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.5789, allocations: 29.7 kB / 1.217 GB, free: 484 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.278e-05/0.5789, allocations: 80.14 kB / 1.217 GB, free: 400 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.579, allocations: 51.44 kB / 1.217 GB, free: 348 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.579, allocations: 29.7 kB / 1.217 GB, free: 312 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5792, allocations: 318.8 kB / 1.218 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.937e-05/0.5792, allocations: 23.98 kB / 1.218 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-05/0.5793, allocations: 31.98 kB / 1.218 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.5794, allocations: 75.91 kB / 1.218 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.5794, allocations: 0 / 1.218 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001898/0.5796, allocations: 105.6 kB / 1.218 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5796, allocations: 5.875 kB / 1.218 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.5796, allocations: 8 kB / 1.218 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.5797, allocations: 4.125 kB / 1.218 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.5798, allocations: 23.98 kB / 1.218 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.5798, allocations: 4 kB / 1.218 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.524e-05/0.5799, allocations: 7.938 kB / 1.218 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.5799, allocations: 3.984 kB / 1.218 GB, free: 15.69 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 8.617e-05/0.58, allocations: 117.8 kB / 1.218 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.721e-05/0.58, allocations: 7.906 kB / 1.218 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004702/0.5805, allocations: 379.6 kB / 1.219 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.5805, allocations: 7.984 kB / 1.219 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5806, allocations: 0 / 1.219 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.5806, allocations: 3.938 kB / 1.219 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.5809, allocations: 281.3 kB / 1.219 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5809, allocations: 0 / 1.219 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.581, allocations: 27.92 kB / 1.219 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.581, allocations: 0 / 1.219 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.581, allocations: 7.984 kB / 1.219 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.581, allocations: 0 / 1.219 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.581, allocations: 0 / 1.219 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.5814, allocations: 327 kB / 1.219 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.883e-05/0.5815, allocations: 108.8 kB / 1.219 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.5815, allocations: 3.984 kB / 1.219 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.5816, allocations: 11.94 kB / 1.219 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.5817, allocations: 11.98 kB / 1.219 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.5817, allocations: 7.938 kB / 1.219 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.489e-05/0.5817, allocations: 87.2 kB / 1.219 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5817, allocations: 0 / 1.219 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009668/0.5827, allocations: 299.9 kB / 1.22 GB, free: 13.94 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.001251/0.584, allocations: 391 kB / 1.22 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002674/0.5842, allocations: 127.9 kB / 1.22 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5843, allocations: 8 kB / 1.22 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.5844, allocations: 109.7 kB / 1.22 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.5847, allocations: 25.7 kB / 1.22 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/0.5853, allocations: 376.5 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.5856, allocations: 0.7127 MB / 1.221 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.5858, allocations: 40.41 kB / 1.221 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.5858, allocations: 15.44 kB / 1.221 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.5858, allocations: 0 / 1.221 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of Templates: time 0.01444/0.6002, allocations: 9.815 MB / 1.231 GB, free: 2.277 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)