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.004199/0.004199, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001018/0.001018, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.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.9292/0.9292, allocations: 143 MB / 433.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.89 kB / 0.595 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.366, allocations: 82.03 MB / 0.6751 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.1404/0.5065, allocations: 135.6 MB / 0.8076 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008857/0.5154, allocations: 7.923 MB / 0.8153 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.5155, allocations: 0 / 0.8153 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.5157, allocations: 23.83 kB / 0.8153 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.906e-05/0.5157, allocations: 19.84 kB / 0.8153 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00355/0.5193, allocations: 1.463 MB / 0.8168 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.5194, allocations: 71.7 kB / 0.8168 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.5195, allocations: 11.95 kB / 0.8169 GB, free: 4.816 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.5196, allocations: 55.77 kB / 0.8169 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.364e-05/0.5197, allocations: 31.91 kB / 0.8169 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.5197, allocations: 3.938 kB / 0.8169 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004175/0.5239, allocations: 2.704 MB / 0.8196 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.5239, allocations: 11.92 kB / 0.8196 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.524, allocations: 39.84 kB / 0.8196 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.5261, allocations: 1.373 MB / 0.821 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5261, allocations: 0 / 0.821 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5262, allocations: 4 kB / 0.821 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.5262, allocations: 0 / 0.821 GB, free: 0.5898 MB / 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.001147/0.5273, allocations: 0.4984 MB / 0.8215 GB, free: 44 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.5274, allocations: 12.03 kB / 0.8215 GB, free: 32 kB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.649e-05/0.5274, allocations: 38.69 kB / 0.8215 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003902/0.5278, allocations: 28.86 kB / 0.8215 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.528, allocations: 164.3 kB / 0.8217 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.341e-05/0.5281, allocations: 38.02 kB / 0.8217 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.5281, allocations: 8 kB / 0.8217 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.5285, allocations: 121.6 kB / 0.8219 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.5285, allocations: 0 / 0.8219 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.5285, allocations: 0 / 0.8219 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.5285, allocations: 7.938 kB / 0.8219 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002827/0.5288, allocations: 123.8 kB / 0.822 GB, free: 15.45 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.0004938/0.5293, allocations: 380.7 kB / 0.8223 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.5296, allocations: 126.6 kB / 0.8225 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.002e-05/0.5297, allocations: 52.83 kB / 0.8225 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01159/0.5413, allocations: 4.234 MB / 0.8266 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.5413, allocations: 34.56 kB / 0.8267 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.5413, allocations: 0 / 0.8267 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0005166/0.5419, allocations: 161.6 kB / 0.8268 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.5419, allocations: 51.41 kB / 0.8269 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.07e-05/0.542, allocations: 105.8 kB / 0.827 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.542, allocations: 37.7 kB / 0.827 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.5421, allocations: 80.14 kB / 0.8271 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.5421, allocations: 39.64 kB / 0.8271 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.5422, allocations: 29.7 kB / 0.8272 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.5423, allocations: 318.8 kB / 0.8275 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.894e-05/0.5424, allocations: 27.92 kB / 0.8275 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.628e-05/0.5424, allocations: 27.98 kB / 0.8275 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.5425, allocations: 68.84 kB / 0.8276 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5425, allocations: 4 kB / 0.8276 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001773/0.5427, allocations: 113.7 kB / 0.8277 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.5428, allocations: 8 kB / 0.8277 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.5428, allocations: 0 / 0.8277 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.5428, allocations: 3.984 kB / 0.8277 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.5429, allocations: 23.92 kB / 0.8277 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.5429, allocations: 0 / 0.8277 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.392e-05/0.543, allocations: 19.83 kB / 0.8278 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.543, allocations: 0 / 0.8278 GB, free: 9.082 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 7.963e-05/0.5431, allocations: 125.8 kB / 0.8279 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.5432, allocations: 4 kB / 0.8279 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004516/0.5436, allocations: 368.7 kB / 0.8282 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.5436, allocations: 11.98 kB / 0.8282 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5437, allocations: 0 / 0.8282 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.5437, allocations: 3.938 kB / 0.8282 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.5439, allocations: 277.4 kB / 0.8285 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5439, allocations: 0 / 0.8285 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.679e-05/0.544, allocations: 19.98 kB / 0.8285 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.5441, allocations: 0 / 0.8285 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.5441, allocations: 15.98 kB / 0.8285 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.5441, allocations: 3.938 kB / 0.8285 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5441, allocations: 0 / 0.8285 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.5444, allocations: 334.9 kB / 0.8289 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.212e-05/0.5445, allocations: 108.9 kB / 0.829 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.5446, allocations: 4 kB / 0.829 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.5447, allocations: 4 kB / 0.829 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.5447, allocations: 11.92 kB / 0.829 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.5448, allocations: 15.98 kB / 0.829 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.819e-05/0.5448, allocations: 79.28 kB / 0.8291 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5448, allocations: 0 / 0.8291 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000829/0.5456, allocations: 299.7 kB / 0.8294 GB, free: 7.328 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.00201/0.5477, allocations: 1.153 MB / 0.8305 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.5479, allocations: 128 kB / 0.8306 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5479, allocations: 0 / 0.8306 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.548, allocations: 115.9 kB / 0.8307 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.5484, allocations: 12.62 kB / 0.8307 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008831/0.5492, allocations: 448.5 kB / 0.8312 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.5495, allocations: 0.7172 MB / 0.8319 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.5496, allocations: 32.45 kB / 0.8319 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.821e-05/0.5497, allocations: 39.42 kB / 0.8319 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.5497, allocations: 0 / 0.8319 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03064/0.5803, allocations: 11.64 MB / 0.8433 GB, free: 9.066 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.486/8.066, allocations: 10.81 kB / 0.8433 GB, free: 9.059 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 & 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)