Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007015/0.007015, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.00166/0.00166, allocations: 192 kB / 16.67 MB, free: 5.969 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002031/0.002031, allocations: 289.7 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9222/0.9222, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 91.86 kB / 0.6814 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4126, allocations: 86.98 MB / 0.7664 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1328/0.5455, allocations: 135.6 MB / 0.8988 GB, free: 11.83 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008261/0.5538, allocations: 7.919 MB / 0.9065 GB, free: 3.875 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.196e-05/0.5539, allocations: 7.938 kB / 0.9065 GB, free: 3.867 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.5541, allocations: 23.89 kB / 0.9065 GB, free: 3.844 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 4.811e-05/0.5542, allocations: 15.84 kB / 0.9065 GB, free: 3.828 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003474/0.5577, allocations: 1.461 MB / 0.908 GB, free: 2.371 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.5578, allocations: 75.64 kB / 0.908 GB, free: 2.297 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.5579, allocations: 8 kB / 0.908 GB, free: 2.289 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.558, allocations: 47.83 kB / 0.9081 GB, free: 2.242 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 8.653e-05/0.5581, allocations: 31.91 kB / 0.9081 GB, free: 2.211 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.5581, allocations: 3.938 kB / 0.9081 GB, free: 2.207 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004219/0.5623, allocations: 2.704 MB / 0.9108 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 2.691e-05/0.5624, allocations: 19.86 kB / 0.9108 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 4.653e-05/0.5624, allocations: 35.84 kB / 0.9108 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001908/0.5644, allocations: 1.378 MB / 0.9122 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5644, allocations: 0 / 0.9122 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5644, allocations: 0 / 0.9122 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.5644, allocations: 4 kB / 0.9122 GB, free: 14.07 MB / 0.6856 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.001033/0.5654, allocations: 0.5022 MB / 0.9127 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.5655, allocations: 8.031 kB / 0.9127 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000373/0.5659, allocations: 28.88 kB / 0.9127 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.566, allocations: 164.3 kB / 0.9129 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.79e-05/0.5661, allocations: 38.25 kB / 0.9129 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.5661, allocations: 7.938 kB / 0.9129 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/0.5665, allocations: 124.8 kB / 0.913 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5665, allocations: 0 / 0.913 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.5665, allocations: 7.938 kB / 0.913 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.5666, allocations: 4 kB / 0.913 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.5669, allocations: 111.9 kB / 0.9131 GB, free: 12.98 MB / 0.6856 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.0005043/0.5674, allocations: 388 kB / 0.9135 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.5676, allocations: 122.6 kB / 0.9136 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.434e-05/0.5677, allocations: 56.84 kB / 0.9137 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01081/0.5785, allocations: 4.226 MB / 0.9178 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.5786, allocations: 34.55 kB / 0.9178 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.5786, allocations: 0 / 0.9178 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0005256/0.5792, allocations: 171.9 kB / 0.918 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.5792, allocations: 51.41 kB / 0.918 GB, free: 7.535 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.524e-05/0.5793, allocations: 105.8 kB / 0.9182 GB, free: 7.422 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.5793, allocations: 25.7 kB / 0.9182 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.5793, allocations: 92.12 kB / 0.9183 GB, free: 7.297 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.5794, allocations: 39.64 kB / 0.9183 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.5794, allocations: 25.72 kB / 0.9183 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.5796, allocations: 326.8 kB / 0.9186 GB, free: 6.898 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.774e-05/0.5796, allocations: 23.98 kB / 0.9187 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.626e-05/0.5797, allocations: 27.98 kB / 0.9187 GB, free: 6.848 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.5798, allocations: 63.23 kB / 0.9187 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5798, allocations: 0 / 0.9187 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001773/0.58, allocations: 117.6 kB / 0.9189 GB, free: 6.664 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.58, allocations: 8 kB / 0.9189 GB, free: 6.656 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.58, allocations: 0 / 0.9189 GB, free: 6.656 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.58, allocations: 3.984 kB / 0.9189 GB, free: 6.652 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.5802, allocations: 16 kB / 0.9189 GB, free: 6.637 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.5802, allocations: 11.92 kB / 0.9189 GB, free: 6.625 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.295e-05/0.5802, allocations: 19.75 kB / 0.9189 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.5803, allocations: 8 kB / 0.9189 GB, free: 6.598 MB / 0.6856 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.198e-05/0.5803, allocations: 116.2 kB / 0.919 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.5804, allocations: 8 kB / 0.919 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004426/0.5808, allocations: 364.3 kB / 0.9194 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.5809, allocations: 8 kB / 0.9194 GB, free: 6.102 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.5809, allocations: 3.984 kB / 0.9194 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5809, allocations: 3.938 kB / 0.9194 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.5811, allocations: 277.2 kB / 0.9197 GB, free: 5.773 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5812, allocations: 0 / 0.9197 GB, free: 5.773 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.291e-05/0.5813, allocations: 23.92 kB / 0.9197 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.5813, allocations: 4 kB / 0.9197 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.5813, allocations: 8 kB / 0.9197 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5813, allocations: 4 kB / 0.9197 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5813, allocations: 0 / 0.9197 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.5816, allocations: 332.5 kB / 0.92 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.313e-05/0.5817, allocations: 104.9 kB / 0.9201 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.5817, allocations: 0 / 0.9201 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.5819, allocations: 11.98 kB / 0.9201 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.5819, allocations: 7.984 kB / 0.9201 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.5819, allocations: 11.94 kB / 0.9202 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.315e-05/0.5819, allocations: 83.28 kB / 0.9202 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.413e-06/0.582, allocations: 0 / 0.9202 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008193/0.5828, allocations: 303.6 kB / 0.9205 GB, free: 4.863 MB / 0.6856 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.001182/0.584, allocations: 399 kB / 0.9209 GB, free: 4.461 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.5842, allocations: 135.8 kB / 0.921 GB, free: 4.328 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5842, allocations: 0 / 0.921 GB, free: 4.328 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.5843, allocations: 104 kB / 0.9211 GB, free: 4.227 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.5846, allocations: 23.98 kB / 0.9212 GB, free: 4.203 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.5851, allocations: 312.3 kB / 0.9215 GB, free: 3.875 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.5853, allocations: 0.7088 MB / 0.9221 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001045/0.5854, allocations: 36.28 kB / 0.9222 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.5855, allocations: 15.44 kB / 0.9222 GB, free: 3.086 MB / 0.6856 GB Notification: Performance of SimCode: time 3.1e-07/0.5855, allocations: 0 / 0.9222 GB, free: 3.086 MB / 0.6856 GB Notification: Performance of Templates: time 0.01269/0.5982, allocations: 9.802 MB / 0.9318 GB, free: 9.281 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)