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: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 99.39 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.00104/0.00104, 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.424/1.424, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.027/1.027, allocations: 143.3 MB / 434.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003459, allocations: 8 kB / 0.5159 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1998, allocations: 83.41 MB / 0.5973 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.5156/0.7154, allocations: 114.4 MB / 0.7091 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01033/0.7258, allocations: 6.912 MB / 0.7158 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.186e-05/0.7259, allocations: 0 / 0.7158 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.7262, allocations: 23.38 kB / 0.7159 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.56e-05/0.7262, allocations: 21.09 kB / 0.7159 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006349/0.7326, allocations: 1.116 MB / 0.717 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000214/0.7328, allocations: 49.77 kB / 0.717 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.286e-05/0.7329, allocations: 9.141 kB / 0.717 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002235/0.7331, allocations: 49.67 kB / 0.7171 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.7333, allocations: 28.12 kB / 0.7171 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.7333, allocations: 2.875 kB / 0.7171 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007538/0.7409, allocations: 2.552 MB / 0.7196 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.162e-05/0.7409, allocations: 19.88 kB / 0.7196 GB, free: 9.473 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.602e-05/0.741, allocations: 32.2 kB / 0.7196 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.7434, allocations: 0.9101 MB / 0.7205 GB, free: 9.312 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.7434, allocations: 0.6562 kB / 0.7205 GB, free: 9.312 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7434, allocations: 0 / 0.7205 GB, free: 9.312 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.7434, allocations: 4 kB / 0.7205 GB, free: 9.309 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.001318/0.7447, allocations: 485 kB / 0.721 GB, free: 8.895 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.7448, allocations: 9.547 kB / 0.721 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.7448, allocations: 38.92 kB / 0.721 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003913/0.7452, allocations: 24.33 kB / 0.7211 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.7453, allocations: 173.4 kB / 0.7212 GB, free: 8.645 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.029e-05/0.7454, allocations: 33.77 kB / 0.7213 GB, free: 8.609 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.7454, allocations: 8.188 kB / 0.7213 GB, free: 8.605 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.7458, allocations: 119.1 kB / 0.7214 GB, free: 8.551 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.7458, allocations: 1.031 kB / 0.7214 GB, free: 8.551 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.7458, allocations: 1.156 kB / 0.7214 GB, free: 8.551 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.7458, allocations: 1.094 kB / 0.7214 GB, free: 8.551 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.7462, allocations: 122.6 kB / 0.7215 GB, free: 8.52 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.0004733/0.7466, allocations: 384.7 kB / 0.7219 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.7469, allocations: 127.5 kB / 0.722 GB, free: 8.082 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01368/0.7606, allocations: 4.25 MB / 0.7261 GB, free: 6.184 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.7607, allocations: 32.72 kB / 0.7262 GB, free: 6.145 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 2.434e-06/0.7607, allocations: 0 / 0.7262 GB, free: 6.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005751/0.7613, allocations: 173 kB / 0.7263 GB, free: 6.062 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.7614, allocations: 54 kB / 0.7264 GB, free: 6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.665e-05/0.7614, allocations: 96.45 kB / 0.7265 GB, free: 5.902 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.7615, allocations: 33.7 kB / 0.7265 GB, free: 5.863 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.7615, allocations: 86.64 kB / 0.7266 GB, free: 5.777 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.7616, allocations: 47.62 kB / 0.7266 GB, free: 5.738 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.7616, allocations: 1.438 kB / 0.7266 GB, free: 5.738 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.7617, allocations: 318.6 kB / 0.7269 GB, free: 5.422 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.658e-05/0.7618, allocations: 28.66 kB / 0.727 GB, free: 5.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.39e-05/0.7618, allocations: 21.08 kB / 0.727 GB, free: 5.406 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.082e-05/0.7619, allocations: 31.86 kB / 0.727 GB, free: 5.391 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.7619, allocations: 0 / 0.727 GB, free: 5.391 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001918/0.7621, allocations: 114.7 kB / 0.7271 GB, free: 5.324 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.7621, allocations: 6.125 kB / 0.7271 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.7621, allocations: 0.6094 kB / 0.7271 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.7621, allocations: 3.688 kB / 0.7271 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.7623, allocations: 24.53 kB / 0.7272 GB, free: 5.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.7623, allocations: 1.375 kB / 0.7272 GB, free: 5.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.922e-05/0.7624, allocations: 6.266 kB / 0.7272 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.7624, allocations: 3.641 kB / 0.7272 GB, free: 5.316 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.783e-05/0.7625, allocations: 116.5 kB / 0.7273 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.7625, allocations: 12.92 kB / 0.7273 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004953/0.763, allocations: 360 kB / 0.7276 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.763, allocations: 9.797 kB / 0.7277 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.7631, allocations: 3.953 kB / 0.7277 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.7631, allocations: 1.172 kB / 0.7277 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.7634, allocations: 289.3 kB / 0.7279 GB, free: 4.738 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.7634, allocations: 1.375 kB / 0.7279 GB, free: 4.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.7635, allocations: 24.28 kB / 0.728 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.7635, allocations: 5.359 kB / 0.728 GB, free: 4.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.7635, allocations: 6.547 kB / 0.728 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.7635, allocations: 0.7031 kB / 0.728 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7635, allocations: 1.375 kB / 0.728 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.7639, allocations: 321 kB / 0.7283 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.764, allocations: 110.7 kB / 0.7284 GB, free: 4.402 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.7641, allocations: 2.969 kB / 0.7284 GB, free: 4.402 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.7642, allocations: 10.69 kB / 0.7284 GB, free: 4.398 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.7643, allocations: 11.5 kB / 0.7284 GB, free: 4.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.7643, allocations: 5.797 kB / 0.7284 GB, free: 4.395 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.668e-05/0.7644, allocations: 84.86 kB / 0.7285 GB, free: 4.312 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7644, allocations: 0 / 0.7285 GB, free: 4.312 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002557/0.7669, allocations: 300.7 kB / 0.7288 GB, free: 4.023 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.002572/0.7695, allocations: 1.16 MB / 0.7299 GB, free: 2.879 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002731/0.7698, allocations: 129 kB / 0.73 GB, free: 2.766 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.7698, allocations: 0 / 0.73 GB, free: 2.766 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.7699, allocations: 108.5 kB / 0.7301 GB, free: 2.668 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.7702, allocations: 20.11 kB / 0.7302 GB, free: 2.652 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.7713, allocations: 0.5005 MB / 0.7307 GB, free: 2.168 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.7716, allocations: 0.7175 MB / 0.7314 GB, free: 1.441 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001254/0.7717, allocations: 33.83 kB / 0.7314 GB, free: 1.426 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.332e-05/0.7718, allocations: 39.75 kB / 0.7314 GB, free: 1.391 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.7718, allocations: 0 / 0.7314 GB, free: 1.391 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03217/0.804, allocations: 11.66 MB / 0.7428 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/0.8042, allocations: 193.6 kB / 0.743 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.791, allocations: 0 / 0.743 GB, free: 6.133 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamSaturationConsistencyCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) Environment - environmentSimulation: