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.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.005965/0.005965, allocations: 97.27 kB / 15.73 MB, free: 6.047 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.001522/0.001522, allocations: 196.2 kB / 16.68 MB, free: 5.973 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.033/1.033, allocations: 143.3 MB / 433.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 60.09 kB / 0.5953 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3677, allocations: 82.03 MB / 0.6754 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.16/0.5277, allocations: 135.6 MB / 0.8078 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01051/0.5383, allocations: 7.919 MB / 0.8155 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.222e-05/0.5384, allocations: 4 kB / 0.8155 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.5386, allocations: 23.83 kB / 0.8156 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.848e-05/0.5387, allocations: 15.84 kB / 0.8156 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00377/0.5424, allocations: 1.459 MB / 0.817 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.5426, allocations: 79.64 kB / 0.8171 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.5427, allocations: 11.95 kB / 0.8171 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.5428, allocations: 51.77 kB / 0.8171 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 9.904e-05/0.5429, allocations: 35.91 kB / 0.8172 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.5429, allocations: 0 / 0.8172 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00494/0.5479, allocations: 2.7 MB / 0.8198 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.825e-05/0.5479, allocations: 19.86 kB / 0.8198 GB, free: 1.734 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.548, allocations: 27.86 kB / 0.8199 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0026/0.5506, allocations: 1.385 MB / 0.8212 GB, free: 328 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.5506, allocations: 0 / 0.8212 GB, free: 328 kB / 0.6387 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5506, allocations: 0 / 0.8212 GB, free: 328 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.5506, allocations: 4 kB / 0.8212 GB, free: 324 kB / 0.6387 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.001194/0.5518, allocations: 0.4984 MB / 0.8217 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.5519, allocations: 12.03 kB / 0.8217 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.12e-05/0.552, allocations: 38.73 kB / 0.8217 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003843/0.5523, allocations: 28.88 kB / 0.8218 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.5525, allocations: 164.3 kB / 0.8219 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.757e-05/0.5526, allocations: 34.02 kB / 0.822 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.5526, allocations: 12 kB / 0.822 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.553, allocations: 123.9 kB / 0.8221 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.553, allocations: 0 / 0.8221 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.5531, allocations: 0 / 0.8221 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.5531, allocations: 4 kB / 0.8221 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003769/0.5535, allocations: 115.9 kB / 0.8222 GB, free: 15.19 MB / 0.6544 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.0005459/0.554, allocations: 376.7 kB / 0.8226 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.5543, allocations: 138.4 kB / 0.8227 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.298e-05/0.5544, allocations: 52.83 kB / 0.8227 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01223/0.5666, allocations: 4.234 MB / 0.8269 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.5667, allocations: 34.56 kB / 0.8269 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 2.174e-06/0.5667, allocations: 0 / 0.8269 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0006181/0.5674, allocations: 169.6 kB / 0.8271 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.5674, allocations: 55.34 kB / 0.8271 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.682e-05/0.5675, allocations: 101.8 kB / 0.8272 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.5675, allocations: 33.7 kB / 0.8273 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.5676, allocations: 84.12 kB / 0.8273 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.125e-05/0.5677, allocations: 43.64 kB / 0.8274 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.574e-05/0.5677, allocations: 25.72 kB / 0.8274 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5679, allocations: 318.8 kB / 0.8277 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.255e-05/0.5679, allocations: 23.98 kB / 0.8277 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.955e-05/0.568, allocations: 27.98 kB / 0.8278 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.5681, allocations: 60.86 kB / 0.8278 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5681, allocations: 0 / 0.8278 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002062/0.5683, allocations: 121.3 kB / 0.8279 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.5684, allocations: 4 kB / 0.8279 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5684, allocations: 4 kB / 0.8279 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.5684, allocations: 0 / 0.8279 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.5685, allocations: 23.98 kB / 0.828 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.5685, allocations: 3.938 kB / 0.828 GB, free: 8.836 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.965e-05/0.5686, allocations: 19.81 kB / 0.828 GB, free: 8.816 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.5686, allocations: 0 / 0.828 GB, free: 8.816 MB / 0.6544 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 0.0001081/0.5687, allocations: 117.8 kB / 0.8281 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.5688, allocations: 4 kB / 0.8281 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005091/0.5693, allocations: 384.6 kB / 0.8285 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.5693, allocations: 0 / 0.8285 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5693, allocations: 4 kB / 0.8285 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.5693, allocations: 7.922 kB / 0.8285 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.5697, allocations: 281.4 kB / 0.8287 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5697, allocations: 0 / 0.8287 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.5698, allocations: 19.98 kB / 0.8288 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.5698, allocations: 0 / 0.8288 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.5698, allocations: 4 kB / 0.8288 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.5698, allocations: 4 kB / 0.8288 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5698, allocations: 3.938 kB / 0.8288 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.5702, allocations: 335 kB / 0.8291 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.776e-05/0.5703, allocations: 108.9 kB / 0.8292 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.5704, allocations: 0 / 0.8292 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.5705, allocations: 11.98 kB / 0.8292 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.5705, allocations: 11.92 kB / 0.8292 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.5706, allocations: 8 kB / 0.8292 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.893e-05/0.5706, allocations: 79.28 kB / 0.8293 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5706, allocations: 0 / 0.8293 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001003/0.5716, allocations: 299.7 kB / 0.8296 GB, free: 7.066 MB / 0.6544 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.00227/0.5739, allocations: 1.153 MB / 0.8307 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002769/0.5742, allocations: 135.9 kB / 0.8308 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5742, allocations: 3.938 kB / 0.8309 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.5744, allocations: 112 kB / 0.831 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.5747, allocations: 19.86 kB / 0.831 GB, free: 5.617 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.5759, allocations: 433.6 kB / 0.8314 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.5763, allocations: 0.721 MB / 0.8321 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001239/0.5764, allocations: 28.28 kB / 0.8321 GB, free: 4.375 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.505e-05/0.5765, allocations: 39.42 kB / 0.8322 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of SimCode: time 3.81e-07/0.5765, allocations: 0 / 0.8322 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03812/0.6146, allocations: 11.65 MB / 0.8435 GB, free: 8.797 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.414/9.029, allocations: 10.12 kB / 0.8435 GB, free: 8.789 MB / 0.67 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/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)