Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001258/0.001258, allocations: 177.3 kB / 15.95 MB, free: 216 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.343/1.343, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9573/0.9573, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003017, allocations: 12 kB / 0.5158 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.142, allocations: 83.39 MB / 0.5973 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.3637/0.5057, allocations: 114.4 MB / 0.709 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008368/0.5141, allocations: 6.914 MB / 0.7158 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.474e-05/0.5142, allocations: 4 kB / 0.7158 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.5143, allocations: 17.78 kB / 0.7158 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.422e-05/0.5144, allocations: 21.45 kB / 0.7158 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003884/0.5183, allocations: 1.106 MB / 0.7169 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.5184, allocations: 56.64 kB / 0.7169 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.5184, allocations: 2.938 kB / 0.7169 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.5186, allocations: 41.94 kB / 0.717 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.694e-05/0.5187, allocations: 31.72 kB / 0.717 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.5187, allocations: 6.906 kB / 0.717 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005178/0.5239, allocations: 2.553 MB / 0.7195 GB, free: 9.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.062e-05/0.5239, allocations: 15.22 kB / 0.7195 GB, free: 9.512 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.342e-05/0.524, allocations: 32.48 kB / 0.7196 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.5257, allocations: 0.9135 MB / 0.7204 GB, free: 9.344 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.5258, allocations: 0 / 0.7204 GB, free: 9.344 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5258, allocations: 0 / 0.7204 GB, free: 9.344 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.247e-06/0.5258, allocations: 1.406 kB / 0.7204 GB, free: 9.344 MB / 0.545 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.001304/0.5271, allocations: 486.6 kB / 0.7209 GB, free: 8.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.5271, allocations: 13.28 kB / 0.7209 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003982/0.5275, allocations: 24.56 kB / 0.7209 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.5277, allocations: 170.6 kB / 0.7211 GB, free: 8.719 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.779e-05/0.5277, allocations: 38.88 kB / 0.7211 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.5278, allocations: 4.75 kB / 0.7212 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.5281, allocations: 117.7 kB / 0.7213 GB, free: 8.625 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.5281, allocations: 1.344 kB / 0.7213 GB, free: 8.625 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.5282, allocations: 2.766 kB / 0.7213 GB, free: 8.625 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.5282, allocations: 0.9688 kB / 0.7213 GB, free: 8.625 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/0.5285, allocations: 121.4 kB / 0.7214 GB, free: 8.594 MB / 0.545 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.0004658/0.529, allocations: 385.2 kB / 0.7218 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.5292, allocations: 123.2 kB / 0.7219 GB, free: 8.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01258/0.5418, allocations: 4.25 MB / 0.726 GB, free: 6.262 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.5419, allocations: 37.42 kB / 0.7261 GB, free: 6.219 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.5419, allocations: 4 kB / 0.7261 GB, free: 6.215 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005155/0.5424, allocations: 168.4 kB / 0.7262 GB, free: 6.137 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.5425, allocations: 52.78 kB / 0.7263 GB, free: 6.074 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.439e-05/0.5426, allocations: 101.1 kB / 0.7264 GB, free: 5.973 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.5426, allocations: 31.27 kB / 0.7264 GB, free: 5.938 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.5426, allocations: 80.84 kB / 0.7265 GB, free: 5.855 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.5427, allocations: 49.66 kB / 0.7265 GB, free: 5.816 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.5427, allocations: 4 kB / 0.7265 GB, free: 5.812 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.5428, allocations: 317.6 kB / 0.7268 GB, free: 5.496 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.48e-05/0.5429, allocations: 25.66 kB / 0.7269 GB, free: 5.488 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.275e-05/0.5429, allocations: 27.62 kB / 0.7269 GB, free: 5.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.296e-05/0.543, allocations: 26.88 kB / 0.7269 GB, free: 5.469 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.543, allocations: 0 / 0.7269 GB, free: 5.469 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001743/0.5431, allocations: 116.8 kB / 0.727 GB, free: 5.402 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.5432, allocations: 4.125 kB / 0.727 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.5432, allocations: 1.938 kB / 0.727 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.5432, allocations: 0 / 0.727 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.5433, allocations: 21.72 kB / 0.727 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.5433, allocations: 6.219 kB / 0.727 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.741e-05/0.5434, allocations: 8.172 kB / 0.7271 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.5434, allocations: 7.266 kB / 0.7271 GB, free: 5.391 MB / 0.545 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 8.747e-05/0.5435, allocations: 117.3 kB / 0.7272 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.5436, allocations: 8.438 kB / 0.7272 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004419/0.544, allocations: 365 kB / 0.7275 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.544, allocations: 5.375 kB / 0.7275 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.5441, allocations: 3.953 kB / 0.7275 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.5441, allocations: 3.047 kB / 0.7275 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.5444, allocations: 291.5 kB / 0.7278 GB, free: 4.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5444, allocations: 3.938 kB / 0.7278 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.5445, allocations: 24.19 kB / 0.7278 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5445, allocations: 2.5 kB / 0.7278 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.5445, allocations: 3.062 kB / 0.7279 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.5445, allocations: 5.375 kB / 0.7279 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5445, allocations: 0 / 0.7279 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.5449, allocations: 326.3 kB / 0.7282 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.88e-05/0.5449, allocations: 105.8 kB / 0.7283 GB, free: 4.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.545, allocations: 2.047 kB / 0.7283 GB, free: 4.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.5451, allocations: 9.609 kB / 0.7283 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.5452, allocations: 9.188 kB / 0.7283 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.5452, allocations: 21.31 kB / 0.7283 GB, free: 4.457 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.571e-05/0.5452, allocations: 83.94 kB / 0.7284 GB, free: 4.375 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5452, allocations: 0 / 0.7284 GB, free: 4.375 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001477/0.5467, allocations: 297.1 kB / 0.7287 GB, free: 4.09 MB / 0.545 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.001325/0.5481, allocations: 399.7 kB / 0.7291 GB, free: 3.711 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.5483, allocations: 123.4 kB / 0.7292 GB, free: 3.605 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5483, allocations: 0 / 0.7292 GB, free: 3.605 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.5484, allocations: 109.4 kB / 0.7293 GB, free: 3.508 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.5487, allocations: 22.66 kB / 0.7293 GB, free: 3.488 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/0.5492, allocations: 391.1 kB / 0.7297 GB, free: 3.129 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.5495, allocations: 0.7177 MB / 0.7304 GB, free: 2.402 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001101/0.5496, allocations: 32.02 kB / 0.7304 GB, free: 2.383 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.5496, allocations: 16.89 kB / 0.7304 GB, free: 2.367 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.5496, allocations: 0 / 0.7304 GB, free: 2.367 MB / 0.545 GB Notification: Performance of Templates: time 0.01482/0.5644, allocations: 10.01 MB / 0.7402 GB, free: 8.961 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) Environment - environmentSimulation: