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.001541/0.001541, 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.00114/0.00114, allocations: 193 kB / 16.25 MB, free: 6.629 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.391/1.391, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.884/2.884, allocations: 472.6 MB / 0.7448 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 57.91 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3759, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1648/0.5408, allocations: 133.6 MB / 1.198 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.551, allocations: 7.963 MB / 1.206 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.335e-05/0.5511, allocations: 0 / 1.206 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.5514, allocations: 27.89 kB / 1.206 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.446e-05/0.5515, allocations: 11.86 kB / 1.206 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004405/0.5559, allocations: 1.299 MB / 1.207 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.5561, allocations: 75.64 kB / 1.207 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.323e-05/0.5561, allocations: 7.938 kB / 1.207 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.5563, allocations: 39.84 kB / 1.207 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.419e-05/0.5564, allocations: 39.84 kB / 1.207 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.5564, allocations: 0 / 1.207 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004661/0.5611, allocations: 2.645 MB / 1.21 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.172e-05/0.5611, allocations: 15.98 kB / 1.21 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.5612, allocations: 35.84 kB / 1.21 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.5633, allocations: 1.384 MB / 1.211 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.5634, allocations: 0 / 1.211 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.237e-06/0.5634, allocations: 0 / 1.211 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.5634, allocations: 0 / 1.211 GB, free: 7.086 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.001183/0.5646, allocations: 499.2 kB / 1.212 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.427e-05/0.5647, allocations: 12.03 kB / 1.212 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003696/0.565, allocations: 28.83 kB / 1.212 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.5652, allocations: 168.3 kB / 1.212 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.831e-05/0.5653, allocations: 34.19 kB / 1.212 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.5653, allocations: 11.94 kB / 1.212 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.5657, allocations: 114.9 kB / 1.212 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.5657, allocations: 0 / 1.212 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.5657, allocations: 4 kB / 1.212 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.5657, allocations: 4 kB / 1.212 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.566, allocations: 115.9 kB / 1.212 GB, free: 6.02 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.0005619/0.5666, allocations: 380 kB / 1.213 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.5669, allocations: 126.5 kB / 1.213 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.954e-05/0.567, allocations: 52.84 kB / 1.213 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01111/0.5781, allocations: 4.21 MB / 1.217 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.5782, allocations: 30.56 kB / 1.217 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 2.786e-06/0.5782, allocations: 0 / 1.217 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005459/0.5787, allocations: 168.6 kB / 1.217 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.5788, allocations: 51.41 kB / 1.217 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.024e-05/0.5789, allocations: 109.8 kB / 1.217 GB, free: 496 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.5789, allocations: 25.7 kB / 1.217 GB, free: 464 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.251e-05/0.579, allocations: 88.28 kB / 1.217 GB, free: 372 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.579, allocations: 47.3 kB / 1.217 GB, free: 324 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/0.5791, allocations: 29.7 kB / 1.218 GB, free: 288 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5792, allocations: 318.8 kB / 1.218 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.783e-05/0.5792, allocations: 23.98 kB / 1.218 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.796e-05/0.5793, allocations: 27.98 kB / 1.218 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.5794, allocations: 72.84 kB / 1.218 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5794, allocations: 0 / 1.218 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001818/0.5796, allocations: 116.1 kB / 1.218 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.5796, allocations: 4 kB / 1.218 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.5797, allocations: 7.938 kB / 1.218 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.5797, allocations: 4 kB / 1.218 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.5798, allocations: 23.98 kB / 1.218 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.5798, allocations: 0 / 1.218 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.683e-05/0.5799, allocations: 7.938 kB / 1.218 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.5799, allocations: 0 / 1.218 GB, free: 15.67 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.748e-05/0.58, allocations: 117.8 kB / 1.218 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.5801, allocations: 15.89 kB / 1.218 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004581/0.5805, allocations: 367.7 kB / 1.219 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.5805, allocations: 3.984 kB / 1.219 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.5806, allocations: 0 / 1.219 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5806, allocations: 7.938 kB / 1.219 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.5809, allocations: 285.3 kB / 1.219 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.5809, allocations: 0 / 1.219 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.581, allocations: 19.98 kB / 1.219 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.581, allocations: 3.938 kB / 1.219 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.581, allocations: 7.984 kB / 1.219 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.581, allocations: 0 / 1.219 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.581, allocations: 0 / 1.219 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.5814, allocations: 327 kB / 1.219 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.58e-05/0.5815, allocations: 116.8 kB / 1.219 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.5815, allocations: 0 / 1.219 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.5817, allocations: 8 kB / 1.219 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.5817, allocations: 7.984 kB / 1.219 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.5817, allocations: 11.88 kB / 1.219 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.031e-05/0.5818, allocations: 83.27 kB / 1.219 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5818, allocations: 0 / 1.219 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008914/0.5827, allocations: 299.9 kB / 1.22 GB, free: 13.93 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.001448/0.5841, allocations: 391.2 kB / 1.22 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002736/0.5844, allocations: 135.9 kB / 1.22 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5844, allocations: 0 / 1.22 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.5846, allocations: 113.6 kB / 1.22 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.5849, allocations: 23.98 kB / 1.22 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005868/0.5855, allocations: 376.5 kB / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.5858, allocations: 0.7166 MB / 1.221 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001267/0.586, allocations: 40.31 kB / 1.221 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.586, allocations: 11.44 kB / 1.221 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of SimCode: time 8.12e-07/0.586, allocations: 4 kB / 1.221 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of Templates: time 0.01652/0.6025, allocations: 9.814 MB / 1.231 GB, free: 2.262 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)