Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Media.Examples.SteamSaturationConsistencyCheck") translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001713/0.001719, 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.002953/0.002953, allocations: 193.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.502/1.502, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.055/3.055, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001316, allocations: 69.84 kB / 0.9113 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3841, allocations: 159.9 MB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1552/0.5393, allocations: 133.5 MB / 1.198 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009936/0.5493, allocations: 8.491 MB / 1.206 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.408e-05/0.5494, allocations: 0 / 1.206 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.5496, allocations: 19.89 kB / 1.206 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.975e-05/0.5497, allocations: 19.83 kB / 1.206 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003361/0.5531, allocations: 1.144 MB / 1.207 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.5532, allocations: 75.64 kB / 1.207 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.247e-05/0.5533, allocations: 11.98 kB / 1.207 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.5534, allocations: 39.84 kB / 1.207 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.875e-05/0.5535, allocations: 35.84 kB / 1.207 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.5535, allocations: 4 kB / 1.207 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004029/0.5576, allocations: 2.653 MB / 1.21 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.624e-05/0.5576, allocations: 15.92 kB / 1.21 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.615e-05/0.5577, allocations: 35.84 kB / 1.21 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001883/0.5596, allocations: 1.376 MB / 1.211 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.5596, allocations: 0 / 1.211 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.595e-06/0.5596, allocations: 3.984 kB / 1.211 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.5596, allocations: 0 / 1.211 GB, free: 7.008 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.0009487/0.5606, allocations: 0.4914 MB / 1.212 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.5606, allocations: 12.03 kB / 1.212 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003599/0.561, allocations: 28.81 kB / 1.212 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.5611, allocations: 168.3 kB / 1.212 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.397e-05/0.5612, allocations: 30.2 kB / 1.212 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.5612, allocations: 15.94 kB / 1.212 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.5616, allocations: 113.6 kB / 1.212 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.5616, allocations: 4 kB / 1.212 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.5617, allocations: 8 kB / 1.212 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.5617, allocations: 0 / 1.212 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000303/0.562, allocations: 111.9 kB / 1.212 GB, free: 5.938 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.0005342/0.5625, allocations: 380 kB / 1.213 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.5628, allocations: 130.6 kB / 1.213 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.509e-05/0.5629, allocations: 56.81 kB / 1.213 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01083/0.5737, allocations: 4.203 MB / 1.217 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.5738, allocations: 34.56 kB / 1.217 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 3.737e-06/0.5738, allocations: 0 / 1.217 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005927/0.5744, allocations: 180.5 kB / 1.217 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.5745, allocations: 51.41 kB / 1.217 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.416e-05/0.5746, allocations: 97.86 kB / 1.217 GB, free: 408 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.5746, allocations: 29.7 kB / 1.217 GB, free: 372 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.5747, allocations: 88.06 kB / 1.217 GB, free: 280 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.5747, allocations: 47.44 kB / 1.218 GB, free: 232 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.5748, allocations: 25.72 kB / 1.218 GB, free: 200 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5749, allocations: 322.8 kB / 1.218 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.085e-05/0.575, allocations: 27.98 kB / 1.218 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.793e-05/0.575, allocations: 27.98 kB / 1.218 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.5751, allocations: 64.86 kB / 1.218 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5751, allocations: 0 / 1.218 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001766/0.5753, allocations: 112.4 kB / 1.218 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.5753, allocations: 4 kB / 1.218 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.5754, allocations: 4 kB / 1.218 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.5754, allocations: 0 / 1.218 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.5755, allocations: 23.98 kB / 1.218 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.5755, allocations: 0 / 1.218 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.74e-05/0.5756, allocations: 15.92 kB / 1.218 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.5756, allocations: 3.938 kB / 1.218 GB, free: 15.59 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.668e-05/0.5757, allocations: 121.8 kB / 1.218 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.5758, allocations: 7.906 kB / 1.218 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004661/0.5762, allocations: 379.6 kB / 1.219 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.5762, allocations: 0 / 1.219 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.5763, allocations: 7.984 kB / 1.219 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.5763, allocations: 3.938 kB / 1.219 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.5766, allocations: 281.3 kB / 1.219 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.5766, allocations: 0 / 1.219 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.5767, allocations: 19.98 kB / 1.219 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.5767, allocations: 3.938 kB / 1.219 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.5767, allocations: 12 kB / 1.219 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5768, allocations: 0 / 1.219 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5768, allocations: 4 kB / 1.219 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.5772, allocations: 327 kB / 1.219 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.757e-05/0.5773, allocations: 108.8 kB / 1.219 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.5773, allocations: 0 / 1.219 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.5774, allocations: 11.98 kB / 1.219 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.5775, allocations: 7.984 kB / 1.219 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.5775, allocations: 7.938 kB / 1.219 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.5e-05/0.5775, allocations: 87.28 kB / 1.219 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5775, allocations: 3.938 kB / 1.219 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001124/0.5787, allocations: 291.9 kB / 1.22 GB, free: 13.84 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.001314/0.58, allocations: 403.2 kB / 1.22 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002394/0.5802, allocations: 121.9 kB / 1.22 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5802, allocations: 0 / 1.22 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.5804, allocations: 115.9 kB / 1.22 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.5807, allocations: 12 kB / 1.22 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005974/0.5813, allocations: 386.1 kB / 1.221 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.5816, allocations: 0.7169 MB / 1.221 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001241/0.5817, allocations: 28.34 kB / 1.221 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.5818, allocations: 19.36 kB / 1.221 GB, free: 12 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.5818, allocations: 4 kB / 1.221 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of Templates: time 0.01461/0.5964, allocations: 9.738 MB / 1.231 GB, free: 2.254 MB / 0.9825 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_3.0.0_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)