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.001001/0.001005, allocations: 115.2 kB / 16.37 MB, free: 6.434 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.001048/0.001048, allocations: 197.1 kB / 17.31 MB, free: 5.777 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.255/1.255, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002121/0.002121, allocations: 295.9 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9187/0.9187, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 94.02 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1627, allocations: 86.97 MB / 0.6816 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.3891/0.5518, allocations: 135.6 MB / 0.814 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008278/0.5601, allocations: 7.922 MB / 0.8217 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.924e-05/0.5602, allocations: 0 / 0.8217 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.5603, allocations: 19.84 kB / 0.8218 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.962e-05/0.5604, allocations: 23.83 kB / 0.8218 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003182/0.5636, allocations: 1.47 MB / 0.8232 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.5637, allocations: 71.66 kB / 0.8233 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.39e-05/0.5638, allocations: 7.938 kB / 0.8233 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.5639, allocations: 47.83 kB / 0.8233 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.239e-05/0.564, allocations: 39.83 kB / 0.8234 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.564, allocations: 4 kB / 0.8234 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003859/0.5679, allocations: 2.704 MB / 0.826 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.14e-05/0.5679, allocations: 7.984 kB / 0.826 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.568, allocations: 31.86 kB / 0.8261 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001746/0.5697, allocations: 1.383 MB / 0.8274 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.5697, allocations: 3.938 kB / 0.8274 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5698, allocations: 4 kB / 0.8274 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.5698, allocations: 0 / 0.8274 GB, free: 9.305 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.0009208/0.5707, allocations: 499.7 kB / 0.8279 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.5707, allocations: 12.03 kB / 0.8279 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003623/0.5711, allocations: 24.83 kB / 0.8279 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.5712, allocations: 172.3 kB / 0.8281 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.531e-05/0.5713, allocations: 30.45 kB / 0.8281 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.5713, allocations: 11.94 kB / 0.8281 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.5716, allocations: 121.5 kB / 0.8282 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.5717, allocations: 4 kB / 0.8282 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.5717, allocations: 0 / 0.8282 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.5717, allocations: 0 / 0.8282 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.572, allocations: 115.9 kB / 0.8284 GB, free: 8.238 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.0004466/0.5724, allocations: 384 kB / 0.8287 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.5727, allocations: 126.6 kB / 0.8288 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.988e-05/0.5728, allocations: 52.83 kB / 0.8289 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01046/0.5832, allocations: 4.226 MB / 0.833 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.5833, allocations: 34.56 kB / 0.8331 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 2.524e-06/0.5833, allocations: 3.984 kB / 0.8331 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0004453/0.5837, allocations: 161.5 kB / 0.8332 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.5838, allocations: 55.41 kB / 0.8333 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.182e-05/0.5838, allocations: 101.8 kB / 0.8334 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.5839, allocations: 25.7 kB / 0.8334 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/0.5839, allocations: 84.14 kB / 0.8335 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.584, allocations: 59.36 kB / 0.8335 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.584, allocations: 29.7 kB / 0.8336 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.322e-05/0.5841, allocations: 318.7 kB / 0.8339 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.5842, allocations: 27.98 kB / 0.8339 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.26e-05/0.5842, allocations: 24.86 kB / 0.8339 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.5843, allocations: 72.22 kB / 0.834 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5843, allocations: 4 kB / 0.834 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001752/0.5845, allocations: 105.7 kB / 0.8341 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.5845, allocations: 4 kB / 0.8341 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.5845, allocations: 0 / 0.8341 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.5846, allocations: 0 / 0.8341 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.5847, allocations: 31.92 kB / 0.8341 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.5847, allocations: 0 / 0.8341 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.5847, allocations: 6.656 kB / 0.8341 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.5848, allocations: 9.188 kB / 0.8341 GB, free: 1.871 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.328e-05/0.5848, allocations: 113.8 kB / 0.8342 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.5849, allocations: 11.91 kB / 0.8343 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003998/0.5853, allocations: 371.9 kB / 0.8346 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.5853, allocations: 7.984 kB / 0.8346 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.5853, allocations: 0 / 0.8346 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.5853, allocations: 0 / 0.8346 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.5856, allocations: 285.3 kB / 0.8349 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.5856, allocations: 4 kB / 0.8349 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.204e-05/0.5857, allocations: 19.98 kB / 0.8349 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.5857, allocations: 0 / 0.8349 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.5857, allocations: 3.984 kB / 0.8349 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.5857, allocations: 8 kB / 0.8349 GB, free: 1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5857, allocations: 0.7031 kB / 0.8349 GB, free: 1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.5861, allocations: 336.2 kB / 0.8352 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.055e-05/0.5861, allocations: 96.84 kB / 0.8353 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.5862, allocations: 11.98 kB / 0.8353 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.5863, allocations: 0 / 0.8353 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.5863, allocations: 15.98 kB / 0.8354 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.5863, allocations: 0 / 0.8354 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.382e-05/0.5864, allocations: 91.2 kB / 0.8354 GB, free: 436 kB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5864, allocations: 0 / 0.8354 GB, free: 436 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006773/0.5871, allocations: 307.9 kB / 0.8357 GB, free: 128 kB / 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.001147/0.5882, allocations: 394.1 kB / 0.8361 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002078/0.5884, allocations: 127.8 kB / 0.8362 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5885, allocations: 0 / 0.8362 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.5886, allocations: 115.9 kB / 0.8363 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.5889, allocations: 16.84 kB / 0.8364 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004577/0.5893, allocations: 314.2 kB / 0.8367 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.5896, allocations: 0.7166 MB / 0.8374 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.711e-05/0.5897, allocations: 32.34 kB / 0.8374 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/0.5897, allocations: 23.42 kB / 0.8374 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of SimCode: time 2.675e-06/0.5898, allocations: 0 / 0.8374 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of Templates: time 0.01338/0.6031, allocations: 9.782 MB / 0.847 GB, free: 4.578 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)