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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.005046/0.005046, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001158/0.001158, allocations: 195 kB / 16.68 MB, free: 5.969 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.8196/0.8196, allocations: 143.1 MB / 433.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 68.83 kB / 0.595 GB, free: 12.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1423, allocations: 82.03 MB / 0.6751 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.4685/0.6109, allocations: 135.6 MB / 0.8075 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007911/0.6188, allocations: 7.923 MB / 0.8153 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.499e-05/0.6189, allocations: 0 / 0.8153 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.6191, allocations: 36.95 kB / 0.8153 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.928e-05/0.6192, allocations: 23.73 kB / 0.8153 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003566/0.6228, allocations: 1.46 MB / 0.8168 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.6229, allocations: 83.86 kB / 0.8168 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.654e-05/0.6229, allocations: 6.234 kB / 0.8169 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.6231, allocations: 45.25 kB / 0.8169 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.796e-05/0.6232, allocations: 29.53 kB / 0.8169 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.6232, allocations: 6.203 kB / 0.8169 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003683/0.6269, allocations: 2.71 MB / 0.8196 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.6269, allocations: 14.05 kB / 0.8196 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.627, allocations: 28.52 kB / 0.8196 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.6287, allocations: 1.389 MB / 0.821 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6288, allocations: 3.938 kB / 0.821 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6288, allocations: 0 / 0.821 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.6288, allocations: 4 kB / 0.821 GB, free: 2.414 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.0009868/0.6298, allocations: 0.4899 MB / 0.8215 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.6298, allocations: 10.09 kB / 0.8215 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.485e-05/0.6299, allocations: 37.56 kB / 0.8215 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003699/0.6303, allocations: 29.17 kB / 0.8215 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.6304, allocations: 166.6 kB / 0.8217 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.465e-05/0.6305, allocations: 35.7 kB / 0.8217 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.6305, allocations: 10.19 kB / 0.8217 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.6309, allocations: 125.1 kB / 0.8219 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.6309, allocations: 0 / 0.8219 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.6309, allocations: 6.547 kB / 0.8219 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.6309, allocations: 0 / 0.8219 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.6312, allocations: 118.7 kB / 0.822 GB, free: 1.523 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.0004966/0.6317, allocations: 379.4 kB / 0.8223 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.632, allocations: 128.1 kB / 0.8225 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.941e-05/0.6321, allocations: 56.08 kB / 0.8225 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01056/0.6427, allocations: 4.226 MB / 0.8266 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.6427, allocations: 37.25 kB / 0.8267 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.6427, allocations: 0 / 0.8267 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005443/0.6433, allocations: 164.6 kB / 0.8268 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.6433, allocations: 55.34 kB / 0.8269 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.253e-05/0.6434, allocations: 102.8 kB / 0.827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.6434, allocations: 28.48 kB / 0.827 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.6435, allocations: 84.14 kB / 0.8271 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.6435, allocations: 48.06 kB / 0.8271 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-05/0.6436, allocations: 29.52 kB / 0.8272 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.6437, allocations: 317.7 kB / 0.8275 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.475e-05/0.6438, allocations: 24.27 kB / 0.8275 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.726e-05/0.6438, allocations: 30.08 kB / 0.8275 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.6439, allocations: 68.12 kB / 0.8276 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.6439, allocations: 3.125 kB / 0.8276 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001746/0.6441, allocations: 114.6 kB / 0.8277 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.6441, allocations: 8.406 kB / 0.8277 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.6442, allocations: 3.938 kB / 0.8277 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.6442, allocations: 2.375 kB / 0.8277 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.6443, allocations: 25.42 kB / 0.8277 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.6443, allocations: 0 / 0.8277 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.6444, allocations: 14.58 kB / 0.8278 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.6444, allocations: 2.312 kB / 0.8278 GB, free: 13.31 MB / 0.6075 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.593e-05/0.6445, allocations: 113.2 kB / 0.8279 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.6445, allocations: 12.7 kB / 0.8279 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004145/0.6449, allocations: 366.3 kB / 0.8282 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.645, allocations: 6.797 kB / 0.8282 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.645, allocations: 2.25 kB / 0.8282 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.645, allocations: 3.938 kB / 0.8282 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.6452, allocations: 282.4 kB / 0.8285 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.6453, allocations: 0 / 0.8285 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.87e-05/0.6454, allocations: 19.33 kB / 0.8285 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.6454, allocations: 2.094 kB / 0.8285 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.6454, allocations: 6.359 kB / 0.8285 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.6454, allocations: 4 kB / 0.8285 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6454, allocations: 0 / 0.8285 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.6458, allocations: 338.3 kB / 0.8289 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.926e-05/0.6458, allocations: 108.9 kB / 0.829 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.6459, allocations: 1.125 kB / 0.829 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.646, allocations: 12.66 kB / 0.829 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/0.646, allocations: 8.641 kB / 0.829 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.646, allocations: 14.73 kB / 0.829 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.344e-05/0.6461, allocations: 85.8 kB / 0.8291 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6461, allocations: 0 / 0.8291 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007991/0.6469, allocations: 298.5 kB / 0.8294 GB, free: 12.17 MB / 0.6075 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.001568/0.6485, allocations: 1.151 MB / 0.8305 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.6487, allocations: 126.4 kB / 0.8306 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6487, allocations: 2.25 kB / 0.8306 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.6488, allocations: 113.3 kB / 0.8307 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.6491, allocations: 16.03 kB / 0.8307 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007777/0.6499, allocations: 436.8 kB / 0.8311 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.6502, allocations: 0.7148 MB / 0.8318 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.281e-05/0.6503, allocations: 31.58 kB / 0.8319 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.597e-05/0.6503, allocations: 38.92 kB / 0.8319 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.6503, allocations: 0 / 0.8319 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.6781, allocations: 11.66 MB / 0.8433 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.446/8.124, allocations: 3 kB / 0.8433 GB, free: 1.258 MB / 0.6075 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamSaturationConsistencyCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)