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.001229/0.001229, allocations: 105 kB / 16.27 MB, free: 6.41 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.001272/0.001273, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.227/1.227, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 296.4 kB / 291.3 MB, free: 14.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8999/0.8999, allocations: 169.3 MB / 0.4988 GB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 103.2 kB / 0.5959 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1438, allocations: 86.98 MB / 0.6808 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.3917/0.5355, allocations: 135.6 MB / 0.8132 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0084/0.5439, allocations: 7.925 MB / 0.821 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.135e-05/0.544, allocations: 0 / 0.821 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.5442, allocations: 27.83 kB / 0.821 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.59e-05/0.5443, allocations: 23.84 kB / 0.821 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003223/0.5475, allocations: 1.459 MB / 0.8224 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.5476, allocations: 83.56 kB / 0.8225 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.804e-05/0.5477, allocations: 8 kB / 0.8225 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.5478, allocations: 39.84 kB / 0.8226 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.16e-05/0.5478, allocations: 27.91 kB / 0.8226 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.5479, allocations: 4 kB / 0.8226 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003953/0.5518, allocations: 2.657 MB / 0.8252 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.767e-05/0.5519, allocations: 15.97 kB / 0.8252 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.5519, allocations: 27.86 kB / 0.8252 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00195/0.5539, allocations: 1.38 MB / 0.8266 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5539, allocations: 3.984 kB / 0.8266 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5539, allocations: 0 / 0.8266 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.5539, allocations: 0 / 0.8266 GB, free: 9.797 MB / 0.5919 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.0009555/0.5549, allocations: 491.8 kB / 0.827 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.5549, allocations: 11.97 kB / 0.8271 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000384/0.5553, allocations: 32.81 kB / 0.8271 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.5554, allocations: 168.3 kB / 0.8273 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/0.5555, allocations: 34.39 kB / 0.8273 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.5555, allocations: 11.94 kB / 0.8273 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.5559, allocations: 122.2 kB / 0.8274 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.5559, allocations: 0 / 0.8274 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.5559, allocations: 0 / 0.8274 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.5559, allocations: 4 kB / 0.8274 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.5562, allocations: 119.8 kB / 0.8275 GB, free: 8.73 MB / 0.5919 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.0004508/0.5567, allocations: 384 kB / 0.8279 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.5569, allocations: 125.6 kB / 0.828 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.33e-05/0.557, allocations: 57.77 kB / 0.8281 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01124/0.5682, allocations: 4.203 MB / 0.8322 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.5683, allocations: 38.55 kB / 0.8322 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.914e-06/0.5683, allocations: 0 / 0.8322 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0005077/0.5688, allocations: 161.5 kB / 0.8324 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.5689, allocations: 55.41 kB / 0.8324 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.433e-05/0.5689, allocations: 97.94 kB / 0.8325 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.569, allocations: 33.7 kB / 0.8325 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.569, allocations: 88.12 kB / 0.8326 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.5691, allocations: 47.44 kB / 0.8327 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.5691, allocations: 21.72 kB / 0.8327 GB, free: 3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.5692, allocations: 322.8 kB / 0.833 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.665e-05/0.5693, allocations: 27.98 kB / 0.833 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.494e-05/0.5693, allocations: 23.98 kB / 0.8331 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.5694, allocations: 72.11 kB / 0.8331 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.5695, allocations: 7.938 kB / 0.8331 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001838/0.5696, allocations: 101.7 kB / 0.8332 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.5697, allocations: 4 kB / 0.8332 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5697, allocations: 3.984 kB / 0.8332 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.5697, allocations: 11.97 kB / 0.8332 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.5698, allocations: 20 kB / 0.8333 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.5698, allocations: 0 / 0.8333 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.973e-05/0.5699, allocations: 7.891 kB / 0.8333 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.5699, allocations: 7.938 kB / 0.8333 GB, free: 2.387 MB / 0.5919 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 7.711e-05/0.57, allocations: 117.8 kB / 0.8334 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.57, allocations: 7.906 kB / 0.8334 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004327/0.5705, allocations: 371.8 kB / 0.8338 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.5705, allocations: 0 / 0.8338 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5705, allocations: 3.984 kB / 0.8338 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5705, allocations: 4 kB / 0.8338 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.5708, allocations: 285.3 kB / 0.834 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5708, allocations: 0 / 0.834 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.603e-05/0.5709, allocations: 23.98 kB / 0.8341 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.5709, allocations: 0 / 0.8341 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.5709, allocations: 0 / 0.8341 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.5709, allocations: 10.31 kB / 0.8341 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5709, allocations: 0 / 0.8341 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.5713, allocations: 340.2 kB / 0.8344 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.85e-05/0.5714, allocations: 100.8 kB / 0.8345 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.5714, allocations: 8 kB / 0.8345 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.5716, allocations: 3.984 kB / 0.8345 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.5716, allocations: 15.98 kB / 0.8345 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.5716, allocations: 4 kB / 0.8345 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.5716, allocations: 79.22 kB / 0.8346 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.5716, allocations: 0 / 0.8346 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00079/0.5724, allocations: 307.9 kB / 0.8349 GB, free: 0.6523 MB / 0.5919 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.001265/0.5737, allocations: 406.8 kB / 0.8353 GB, free: 248 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.574, allocations: 139 kB / 0.8354 GB, free: 112 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.574, allocations: 3.938 kB / 0.8354 GB, free: 108 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.5741, allocations: 104 kB / 0.8355 GB, free: 4 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.5744, allocations: 20.75 kB / 0.8355 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004984/0.5749, allocations: 343.2 kB / 0.8359 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.5752, allocations: 0.7205 MB / 0.8366 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.5752, allocations: 15.44 kB / 0.8366 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.5753, allocations: 0 / 0.8366 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of Templates: time 0.009527/0.5848, allocations: 6.752 MB / 0.8432 GB, free: 8.098 MB / 0.6075 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)