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.000978/0.0009781, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001199/0.001199, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001771/0.001772, allocations: 263.1 kB / 291.3 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9278/0.9278, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.0004239, allocations: 14.59 kB / 0.598 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1362, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.3915/0.5277, allocations: 122.7 MB / 0.8043 GB, free: 1.617 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006858/0.5346, allocations: 7.477 MB / 0.8116 GB, free: 1.121 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.5347, allocations: 2.891 kB / 0.8116 GB, free: 1.121 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.5348, allocations: 27.19 kB / 0.8116 GB, free: 1.109 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.321e-05/0.5349, allocations: 14.27 kB / 0.8117 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.5374, allocations: 1.123 MB / 0.8127 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.528e-05/0.5375, allocations: 64.2 kB / 0.8128 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.5375, allocations: 5.594 kB / 0.8128 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.993e-05/0.5376, allocations: 43.69 kB / 0.8129 GB, free: 0.957 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.08e-05/0.5377, allocations: 32.02 kB / 0.8129 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.5377, allocations: 3.156 kB / 0.8129 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003684/0.5414, allocations: 2.518 MB / 0.8153 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.5414, allocations: 18.7 kB / 0.8154 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.884e-05/0.5415, allocations: 34.95 kB / 0.8154 GB, free: 16.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000872/0.5424, allocations: 0.9115 MB / 0.8163 GB, free: 16.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.5424, allocations: 0 / 0.8163 GB, free: 16.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5424, allocations: 1.031 kB / 0.8163 GB, free: 16.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.5424, allocations: 0 / 0.8163 GB, free: 16.41 MB / 0.5606 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.0008032/0.5432, allocations: 489.6 kB / 0.8168 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.5433, allocations: 9.188 kB / 0.8168 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003303/0.5436, allocations: 26.08 kB / 0.8168 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.5437, allocations: 171.8 kB / 0.817 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.078e-05/0.5438, allocations: 34.19 kB / 0.817 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.5438, allocations: 6.688 kB / 0.817 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.5442, allocations: 115 kB / 0.8171 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.5442, allocations: 3.953 kB / 0.8171 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.5442, allocations: 4.094 kB / 0.8171 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.5442, allocations: 2.281 kB / 0.8171 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.5445, allocations: 121.4 kB / 0.8172 GB, free: 15.65 MB / 0.5606 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.0004293/0.5449, allocations: 378.6 kB / 0.8176 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.5451, allocations: 132.7 kB / 0.8177 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.021e-05/0.5452, allocations: 48.66 kB / 0.8178 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009982/0.5552, allocations: 4.25 MB / 0.8219 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.5553, allocations: 35.94 kB / 0.8219 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.5553, allocations: 4 kB / 0.822 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0004365/0.5557, allocations: 163.2 kB / 0.8221 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.5558, allocations: 54.09 kB / 0.8222 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.684e-05/0.5558, allocations: 100.5 kB / 0.8223 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.5559, allocations: 35.19 kB / 0.8223 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.5559, allocations: 85.33 kB / 0.8224 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.5559, allocations: 44.06 kB / 0.8224 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.556, allocations: 0 / 0.8224 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.5561, allocations: 324.5 kB / 0.8227 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-05/0.5561, allocations: 23.2 kB / 0.8227 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.971e-05/0.5562, allocations: 24.56 kB / 0.8228 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.919e-05/0.5562, allocations: 35.83 kB / 0.8228 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.5562, allocations: 0 / 0.8228 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001708/0.5564, allocations: 111.1 kB / 0.8229 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.5564, allocations: 5.938 kB / 0.8229 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.5564, allocations: 0 / 0.8229 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.5565, allocations: 1.531 kB / 0.8229 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.5566, allocations: 23.83 kB / 0.8229 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.5566, allocations: 4 kB / 0.8229 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.42e-05/0.5566, allocations: 5.406 kB / 0.8229 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.5567, allocations: 7.344 kB / 0.823 GB, free: 11.79 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.895e-05/0.5567, allocations: 118.4 kB / 0.8231 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.5568, allocations: 7.047 kB / 0.8231 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004182/0.5572, allocations: 378.5 kB / 0.8234 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.5572, allocations: 10.14 kB / 0.8234 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5572, allocations: 1.938 kB / 0.8234 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5573, allocations: 0 / 0.8234 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.5575, allocations: 280.6 kB / 0.8237 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.5575, allocations: 0 / 0.8237 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.886e-05/0.5576, allocations: 26.02 kB / 0.8237 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.5576, allocations: 3.953 kB / 0.8237 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.5576, allocations: 1.25 kB / 0.8237 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5577, allocations: 5.281 kB / 0.8237 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5577, allocations: 3.984 kB / 0.8238 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.558, allocations: 325.9 kB / 0.8241 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.558, allocations: 101.1 kB / 0.8242 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.5581, allocations: 11.25 kB / 0.8242 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.5582, allocations: 9 kB / 0.8242 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.5582, allocations: 8.859 kB / 0.8242 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.5582, allocations: 10.36 kB / 0.8242 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.371e-05/0.5583, allocations: 84.08 kB / 0.8243 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5583, allocations: 0 / 0.8243 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007384/0.559, allocations: 308 kB / 0.8246 GB, free: 10.91 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001115/0.5602, allocations: 398.9 kB / 0.825 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001781/0.5603, allocations: 121.9 kB / 0.8251 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5604, allocations: 0 / 0.8251 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.5605, allocations: 107.9 kB / 0.8252 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.5608, allocations: 20.8 kB / 0.8252 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.5612, allocations: 390.3 kB / 0.8256 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.5615, allocations: 0.7185 MB / 0.8263 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001031/0.5616, allocations: 34.27 kB / 0.8263 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.5616, allocations: 15.22 kB / 0.8263 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.5616, allocations: 0 / 0.8263 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of Templates: time 0.01273/0.5744, allocations: 9.989 MB / 0.8361 GB, free: 4.531 MB / 0.5606 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)