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.001348/0.001348, allocations: 114.4 kB / 16.37 MB, free: 6.012 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.001407/0.001407, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.248/1.248, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00198/0.00198, allocations: 285.8 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8876/0.8876, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 94.94 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1476, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.4018/0.5495, allocations: 135.6 MB / 0.814 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007823/0.5573, allocations: 7.918 MB / 0.8217 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.5574, allocations: 3.938 kB / 0.8217 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.5576, allocations: 27.81 kB / 0.8218 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.134e-05/0.5577, allocations: 23.84 kB / 0.8218 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00294/0.5606, allocations: 1.464 MB / 0.8232 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.5607, allocations: 71.7 kB / 0.8233 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.481e-05/0.5608, allocations: 4 kB / 0.8233 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.5609, allocations: 51.77 kB / 0.8233 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.185e-05/0.561, allocations: 31.84 kB / 0.8234 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.561, allocations: 4 kB / 0.8234 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003641/0.5646, allocations: 2.704 MB / 0.826 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/0.5647, allocations: 15.92 kB / 0.826 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.5647, allocations: 39.84 kB / 0.8261 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.5662, allocations: 1.375 MB / 0.8274 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5662, allocations: 0 / 0.8274 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5662, allocations: 3.938 kB / 0.8274 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.076e-06/0.5662, allocations: 0 / 0.8274 GB, free: 9.238 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.0007794/0.567, allocations: 0.4919 MB / 0.8279 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.5671, allocations: 8.031 kB / 0.8279 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003375/0.5674, allocations: 24.83 kB / 0.8279 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.242e-05/0.5675, allocations: 168.3 kB / 0.8281 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.934e-05/0.5676, allocations: 34.44 kB / 0.8281 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.5676, allocations: 11.94 kB / 0.8281 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.5679, allocations: 113.6 kB / 0.8282 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.5679, allocations: 0 / 0.8282 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.568, allocations: 7.938 kB / 0.8282 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.568, allocations: 0 / 0.8282 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/0.5682, allocations: 120.9 kB / 0.8284 GB, free: 8.172 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.0004016/0.5687, allocations: 380 kB / 0.8287 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.5689, allocations: 124.7 kB / 0.8288 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.005e-05/0.569, allocations: 52.78 kB / 0.8289 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01041/0.5794, allocations: 4.238 MB / 0.833 GB, free: 3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.5794, allocations: 34.55 kB / 0.8331 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 2.665e-06/0.5794, allocations: 3.984 kB / 0.8331 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0004571/0.5799, allocations: 168.5 kB / 0.8332 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.58, allocations: 55.41 kB / 0.8333 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.522e-05/0.58, allocations: 97.86 kB / 0.8334 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.58, allocations: 25.7 kB / 0.8334 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.5801, allocations: 88.12 kB / 0.8335 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.5801, allocations: 47.44 kB / 0.8335 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.5802, allocations: 25.72 kB / 0.8335 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.5803, allocations: 322.8 kB / 0.8339 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.49e-05/0.5803, allocations: 27.92 kB / 0.8339 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-05/0.5804, allocations: 35.92 kB / 0.8339 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.5805, allocations: 68.86 kB / 0.834 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5805, allocations: 0 / 0.834 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001701/0.5807, allocations: 100.9 kB / 0.8341 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.5807, allocations: 4 kB / 0.8341 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.5807, allocations: 7.984 kB / 0.8341 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.5807, allocations: 0 / 0.8341 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.5808, allocations: 23.94 kB / 0.8341 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.5809, allocations: 3.984 kB / 0.8341 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.5809, allocations: 7.906 kB / 0.8341 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.5809, allocations: 7.938 kB / 0.8341 GB, free: 1.801 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 6.708e-05/0.581, allocations: 113.8 kB / 0.8342 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.835e-05/0.581, allocations: 11.91 kB / 0.8343 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004064/0.5815, allocations: 368.6 kB / 0.8346 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.5815, allocations: 3.984 kB / 0.8346 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5815, allocations: 6.688 kB / 0.8346 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5815, allocations: 0 / 0.8346 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.5817, allocations: 285.3 kB / 0.8349 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5818, allocations: 0 / 0.8349 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.517e-05/0.5819, allocations: 23.98 kB / 0.8349 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5819, allocations: 0 / 0.8349 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.5819, allocations: 4 kB / 0.8349 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5819, allocations: 3.938 kB / 0.8349 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.5819, allocations: 0 / 0.8349 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.5822, allocations: 340.2 kB / 0.8352 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.721e-05/0.5823, allocations: 104.8 kB / 0.8353 GB, free: 484 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.5823, allocations: 0 / 0.8353 GB, free: 484 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.5824, allocations: 15.98 kB / 0.8354 GB, free: 468 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.5825, allocations: 7.984 kB / 0.8354 GB, free: 460 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.5825, allocations: 4 kB / 0.8354 GB, free: 456 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.574e-05/0.5825, allocations: 87.22 kB / 0.8355 GB, free: 368 kB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5825, allocations: 0 / 0.8355 GB, free: 368 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006815/0.5832, allocations: 299.9 kB / 0.8357 GB, free: 68 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.001093/0.5843, allocations: 399.2 kB / 0.8361 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.5845, allocations: 127.8 kB / 0.8362 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5845, allocations: 8 kB / 0.8362 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.5847, allocations: 112.6 kB / 0.8364 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.585, allocations: 17.5 kB / 0.8364 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000442/0.5854, allocations: 313.5 kB / 0.8367 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.5856, allocations: 0.7166 MB / 0.8374 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.985e-05/0.5857, allocations: 28.34 kB / 0.8374 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.5858, allocations: 15.44 kB / 0.8374 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.5858, allocations: 0 / 0.8374 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of Templates: time 0.01268/0.5985, allocations: 9.781 MB / 0.847 GB, free: 4.523 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)