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.0009004/0.0009006, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.005953/0.005953, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.471/1.471, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.958/2.958, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003784, allocations: 8.031 kB / 0.9158 GB, free: 33.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4091, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1623/0.5714, allocations: 131.7 MB / 1.203 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.5817, allocations: 8.394 MB / 1.211 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.206e-05/0.5819, allocations: 0 / 1.211 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.5821, allocations: 19.89 kB / 1.211 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.341e-05/0.5822, allocations: 19.86 kB / 1.211 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004141/0.5863, allocations: 1.144 MB / 1.212 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.5865, allocations: 75.59 kB / 1.212 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.556e-05/0.5865, allocations: 4 kB / 1.212 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.5867, allocations: 47.89 kB / 1.212 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.5868, allocations: 35.78 kB / 1.212 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.5868, allocations: 4 kB / 1.212 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004417/0.5912, allocations: 2.653 MB / 1.215 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.152e-05/0.5913, allocations: 15.97 kB / 1.215 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.5914, allocations: 53.56 kB / 1.215 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00192/0.5933, allocations: 1.372 MB / 1.216 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.5933, allocations: 4 kB / 1.216 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5933, allocations: 0 / 1.216 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.5933, allocations: 0 / 1.216 GB, free: 5.477 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.0009831/0.5943, allocations: 491.2 kB / 1.217 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.5944, allocations: 8.031 kB / 1.217 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003527/0.5947, allocations: 28.81 kB / 1.217 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.5949, allocations: 168.3 kB / 1.217 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.69e-05/0.595, allocations: 30.27 kB / 1.217 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.595, allocations: 11.94 kB / 1.217 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003667/0.5954, allocations: 117.6 kB / 1.217 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.5954, allocations: 3.938 kB / 1.217 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.5954, allocations: 8 kB / 1.217 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.5954, allocations: 4 kB / 1.217 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.5957, allocations: 115.8 kB / 1.217 GB, free: 4.414 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.0005407/0.5962, allocations: 376 kB / 1.218 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.5965, allocations: 122.6 kB / 1.218 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.073e-05/0.5966, allocations: 60.83 kB / 1.218 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0111/0.6077, allocations: 4.249 MB / 1.222 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.6078, allocations: 34.56 kB / 1.222 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 2.665e-06/0.6078, allocations: 0 / 1.222 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005591/0.6084, allocations: 165.5 kB / 1.222 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.6084, allocations: 55.41 kB / 1.222 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.016e-05/0.6085, allocations: 101.8 kB / 1.222 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.6085, allocations: 29.64 kB / 1.222 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.6086, allocations: 84.14 kB / 1.222 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.6086, allocations: 55.42 kB / 1.222 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.6087, allocations: 17.72 kB / 1.222 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.6088, allocations: 318.8 kB / 1.223 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-05/0.6089, allocations: 23.98 kB / 1.223 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.525e-05/0.6089, allocations: 24 kB / 1.223 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.609, allocations: 76.41 kB / 1.223 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.6091, allocations: 0 / 1.223 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001826/0.6092, allocations: 109.6 kB / 1.223 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.6093, allocations: 4 kB / 1.223 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.6093, allocations: 4.188 kB / 1.223 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.6093, allocations: 0 / 1.223 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.6094, allocations: 23.98 kB / 1.223 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.6095, allocations: 4 kB / 1.223 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.033e-05/0.6095, allocations: 7.922 kB / 1.223 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.6095, allocations: 11.92 kB / 1.223 GB, free: 14.03 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.264e-05/0.6096, allocations: 109.8 kB / 1.223 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.6097, allocations: 7.906 kB / 1.223 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004643/0.6102, allocations: 383.9 kB / 1.223 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.6102, allocations: 4 kB / 1.223 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6102, allocations: 0 / 1.223 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.6102, allocations: 7.922 kB / 1.223 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.6105, allocations: 281.3 kB / 1.224 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.6105, allocations: 0 / 1.224 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.16e-05/0.6106, allocations: 35.86 kB / 1.224 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.6106, allocations: 0 / 1.224 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.6106, allocations: 0 / 1.224 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6107, allocations: 0 / 1.224 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.6107, allocations: 4 kB / 1.224 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/0.611, allocations: 329.8 kB / 1.224 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.169e-05/0.6111, allocations: 112.8 kB / 1.224 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.6111, allocations: 0 / 1.224 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.6112, allocations: 15.98 kB / 1.224 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.6113, allocations: 11.94 kB / 1.224 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.6113, allocations: 7.922 kB / 1.224 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.758e-05/0.6113, allocations: 87.22 kB / 1.224 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6113, allocations: 0 / 1.224 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009869/0.6123, allocations: 295.9 kB / 1.225 GB, free: 12.27 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.001185/0.6135, allocations: 391 kB / 1.225 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.6138, allocations: 127.9 kB / 1.225 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6138, allocations: 4 kB / 1.225 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.6139, allocations: 107.9 kB / 1.225 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.6142, allocations: 19.98 kB / 1.225 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.6148, allocations: 379.9 kB / 1.226 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.615, allocations: 0.713 MB / 1.226 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001076/0.6152, allocations: 36.47 kB / 1.226 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.6152, allocations: 23.36 kB / 1.226 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.6152, allocations: 0 / 1.226 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of Templates: time 0.01421/0.6294, allocations: 9.729 MB / 1.236 GB, free: 0.6992 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)