Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",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.001769/0.001769, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 193.6 kB / 16.53 MB, free: 6.664 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.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.975/0.975, allocations: 143.1 MB / 433.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 75.88 kB / 0.5143 GB, free: 11.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1597, allocations: 82.02 MB / 0.5944 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.2831/0.4428, allocations: 12.95 MB / 0.607 GB, free: 36.81 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002158/0.445, allocations: 2.678 MB / 0.6097 GB, free: 36.24 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.4451, allocations: 2.844 kB / 0.6097 GB, free: 36.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.4454, allocations: 41.8 kB / 0.6097 GB, free: 36.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.4458, allocations: 96.48 kB / 0.6098 GB, free: 36.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.4469, allocations: 0.4947 MB / 0.6103 GB, free: 36.11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.4471, allocations: 235.4 kB / 0.6105 GB, free: 36.1 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.4472, allocations: 12.62 kB / 0.6105 GB, free: 36.1 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006777/0.454, allocations: 3.585 MB / 0.614 GB, free: 35.22 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.4541, allocations: 87.39 kB / 0.6141 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.4541, allocations: 8.719 kB / 0.6141 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.4562, allocations: 1.07 MB / 0.6152 GB, free: 34.99 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.407e-05/0.4563, allocations: 30.3 kB / 0.6152 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.064e-05/0.4564, allocations: 81.61 kB / 0.6153 GB, free: 34.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005347/0.4569, allocations: 376.8 kB / 0.6156 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4569, allocations: 0 / 0.6156 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4569, allocations: 0 / 0.6156 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.4569, allocations: 4 kB / 0.6156 GB, free: 34.87 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006238/0.4576, allocations: 0.4956 MB / 0.6161 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.4576, allocations: 14.88 kB / 0.6161 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.445e-05/0.4577, allocations: 49.8 kB / 0.6162 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.4578, allocations: 24.38 kB / 0.6162 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.458, allocations: 225.5 kB / 0.6164 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.458, allocations: 9.953 kB / 0.6164 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.458, allocations: 19.09 kB / 0.6164 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.4583, allocations: 246.5 kB / 0.6167 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.4584, allocations: 2.75 kB / 0.6167 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.4584, allocations: 6.812 kB / 0.6167 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.4584, allocations: 5.688 kB / 0.6167 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003844/0.4588, allocations: 434 kB / 0.6171 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008284/0.4596, allocations: 0.9639 MB / 0.618 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.4599, allocations: 171.8 kB / 0.6182 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.395e-05/0.46, allocations: 61.84 kB / 0.6183 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008552/0.4608, allocations: 1.829 MB / 0.62 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.4609, allocations: 37.09 kB / 0.6201 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/0.4609, allocations: 4.703 kB / 0.6201 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000302/0.4612, allocations: 153.1 kB / 0.6202 GB, free: 31.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.4612, allocations: 55.34 kB / 0.6203 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.4613, allocations: 171.8 kB / 0.6204 GB, free: 31.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.4614, allocations: 32.45 kB / 0.6205 GB, free: 31.03 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.4614, allocations: 140 kB / 0.6206 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.4614, allocations: 47.05 kB / 0.6207 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.4615, allocations: 55.62 kB / 0.6207 GB, free: 30.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.399e-05/0.4615, allocations: 328.1 kB / 0.621 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.879e-05/0.4616, allocations: 35.48 kB / 0.6211 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.18e-05/0.4617, allocations: 141.8 kB / 0.6212 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.4619, allocations: 203 kB / 0.6214 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4619, allocations: 2.875 kB / 0.6214 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002753/0.4622, allocations: 211.3 kB / 0.6216 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.4622, allocations: 9.562 kB / 0.6216 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.4622, allocations: 7.344 kB / 0.6216 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4622, allocations: 9 kB / 0.6216 GB, free: 30.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.4624, allocations: 59.94 kB / 0.6217 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.4624, allocations: 9.406 kB / 0.6217 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.802e-05/0.4625, allocations: 24 kB / 0.6217 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.4625, allocations: 12.06 kB / 0.6217 GB, free: 30.17 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001011/0.4626, allocations: 138.7 kB / 0.6218 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.4627, allocations: 12.31 kB / 0.6219 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.463, allocations: 166 kB / 0.622 GB, free: 29.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.463, allocations: 7.125 kB / 0.622 GB, free: 29.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.463, allocations: 0 / 0.622 GB, free: 29.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.463, allocations: 0.9375 kB / 0.622 GB, free: 29.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.4632, allocations: 214.5 kB / 0.6222 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4632, allocations: 0 / 0.6222 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.47e-05/0.4633, allocations: 24.41 kB / 0.6223 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4633, allocations: 0 / 0.6223 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.4633, allocations: 6 kB / 0.6223 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4633, allocations: 4.562 kB / 0.6223 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4633, allocations: 0 / 0.6223 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.4635, allocations: 226.8 kB / 0.6225 GB, free: 29.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/0.4636, allocations: 118.1 kB / 0.6226 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.4636, allocations: 0 / 0.6226 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.4638, allocations: 19.44 kB / 0.6226 GB, free: 29.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.4639, allocations: 10.36 kB / 0.6226 GB, free: 29.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.4639, allocations: 15.7 kB / 0.6226 GB, free: 29.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.919e-05/0.4639, allocations: 118.9 kB / 0.6227 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4639, allocations: 4 kB / 0.6228 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003684/0.4643, allocations: 81.89 kB / 0.6228 GB, free: 29.44 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0004972/0.4648, allocations: 0.8441 MB / 0.6237 GB, free: 28.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.465, allocations: 132.2 kB / 0.6238 GB, free: 28.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4651, allocations: 4.312 kB / 0.6238 GB, free: 28.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.65e-05/0.4651, allocations: 42.95 kB / 0.6238 GB, free: 28.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.4655, allocations: 62.75 kB / 0.6239 GB, free: 28.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.4671, allocations: 2.036 MB / 0.6259 GB, free: 27.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.4673, allocations: 0.7134 MB / 0.6266 GB, free: 26.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001739/0.4674, allocations: 47.09 kB / 0.6266 GB, free: 26.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.4675, allocations: 48.52 kB / 0.6267 GB, free: 26.4 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.4675, allocations: 0 / 0.6267 GB, free: 26.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/0.488, allocations: 5.556 MB / 0.6321 GB, free: 25.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.525/8.013, allocations: 6.031 kB / 0.6321 GB, free: 25.68 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT_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_Specialized_Water_Examples_WaterProperties_pT.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)