Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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.001764/0.001764, 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.00181/0.00181, allocations: 197.4 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.444/1.444, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002556/0.002556, allocations: 287 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.103/1.103, allocations: 178.6 MB / 0.5073 GB, free: 4.578 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002729/0.002729, allocations: 105 kB / 0.6066 GB, free: 24.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.16, allocations: 89.14 MB / 0.6936 GB, free: 4.184 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001745/0.1618, allocations: 0.5289 MB / 0.6942 GB, free: 3.664 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009331/0.1627, allocations: 0.7878 MB / 0.6949 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.515e-05/0.1628, allocations: 0 / 0.6949 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.879e-06/0.1628, allocations: 0 / 0.6949 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.098e-06/0.1628, allocations: 4 kB / 0.6949 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.163, allocations: 15.92 kB / 0.6949 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.427e-05/0.1631, allocations: 7.984 kB / 0.695 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.1631, allocations: 0 / 0.695 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.165e-05/0.1631, allocations: 0 / 0.695 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.1632, allocations: 22.2 kB / 0.695 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.552e-06/0.1633, allocations: 0 / 0.695 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.302e-06/0.1633, allocations: 0 / 0.695 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.394e-06/0.1633, allocations: 4.594 kB / 0.695 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.259e-05/0.1633, allocations: 0 / 0.695 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.873e-05/0.1633, allocations: 11.98 kB / 0.695 GB, free: 2.805 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1633, allocations: 0 / 0.695 GB, free: 2.805 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1633, allocations: 0 / 0.695 GB, free: 2.805 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1634, allocations: 0 / 0.695 GB, free: 2.805 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002886/0.1637, allocations: 311.5 kB / 0.6953 GB, free: 2.449 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1637, allocations: 12.03 kB / 0.6953 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.181e-05/0.1637, allocations: 34.75 kB / 0.6953 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.535e-05/0.1638, allocations: 0.9375 kB / 0.6953 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.1639, allocations: 164.3 kB / 0.6955 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-06/0.1639, allocations: 384 / 0.6955 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.1639, allocations: 4.375 kB / 0.6955 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.254e-05/0.164, allocations: 30.27 kB / 0.6955 GB, free: 2.156 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.164, allocations: 3.938 kB / 0.6955 GB, free: 2.152 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.164, allocations: 3.984 kB / 0.6955 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.164, allocations: 0 / 0.6955 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.682e-05/0.164, allocations: 3.938 kB / 0.6955 GB, free: 2.145 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.1643, allocations: 377.5 kB / 0.6959 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.846e-05/0.1644, allocations: 173.1 kB / 0.6961 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.837e-05/0.1645, allocations: 80.14 kB / 0.6961 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.193e-05/0.1645, allocations: 79.31 kB / 0.6962 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.266e-05/0.1646, allocations: 113.8 kB / 0.6963 GB, free: 1.266 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.1646, allocations: 0 / 0.6963 GB, free: 1.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.032e-05/0.1647, allocations: 37.69 kB / 0.6964 GB, free: 1.223 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.1647, allocations: 126.7 kB / 0.6965 GB, free: 1.086 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.194e-05/0.1648, allocations: 93.86 kB / 0.6966 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.1648, allocations: 25.7 kB / 0.6966 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.1649, allocations: 84.05 kB / 0.6967 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.1649, allocations: 0 / 0.6967 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.1649, allocations: 9.719 kB / 0.6967 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1651, allocations: 323 kB / 0.697 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.271e-06/0.1651, allocations: 0 / 0.697 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.1651, allocations: 3.984 kB / 0.697 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.474e-05/0.1651, allocations: 12.8 kB / 0.697 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.1651, allocations: 7.938 kB / 0.697 GB, free: 0.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.089e-05/0.1652, allocations: 29.7 kB / 0.697 GB, free: 476 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.1652, allocations: 4 kB / 0.697 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.1653, allocations: 0 / 0.697 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.1653, allocations: 4.094 kB / 0.697 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.78e-05/0.1653, allocations: 4 kB / 0.6971 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1653, allocations: 0 / 0.6971 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.487e-06/0.1653, allocations: 4.219 kB / 0.6971 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-06/0.1653, allocations: 0 / 0.6971 GB, free: 460 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001072/0.1655, allocations: 201.6 kB / 0.6972 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.96e-05/0.1655, allocations: 104.9 kB / 0.6973 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/0.1656, allocations: 104.1 kB / 0.6974 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.793e-05/0.1657, allocations: 180.3 kB / 0.6976 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001151/0.1658, allocations: 184.2 kB / 0.6978 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.829e-05/0.1659, allocations: 180.2 kB / 0.698 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.1662, allocations: 409.1 kB / 0.6984 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.25e-05/0.1662, allocations: 101 kB / 0.6985 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.772e-05/0.1663, allocations: 112.9 kB / 0.6986 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.587e-05/0.1663, allocations: 184.2 kB / 0.6987 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.65e-05/0.1664, allocations: 176.3 kB / 0.6989 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.439e-05/0.1665, allocations: 180.2 kB / 0.6991 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.116e-05/0.1666, allocations: 184.3 kB / 0.6993 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.1668, allocations: 311.9 kB / 0.6996 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.911e-05/0.1668, allocations: 182.1 kB / 0.6997 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.238e-05/0.1669, allocations: 184.2 kB / 0.6999 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.167, allocations: 101 kB / 0.7 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.82e-05/0.1671, allocations: 188.2 kB / 0.7002 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.331e-05/0.1672, allocations: 105 kB / 0.7003 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.611e-05/0.1672, allocations: 75.28 kB / 0.7003 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1672, allocations: 0 / 0.7003 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000214/0.1674, allocations: 0 / 0.7003 GB, free: 12.86 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0004801/0.1679, allocations: 0.8212 MB / 0.7012 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.758e-05/0.168, allocations: 4 kB / 0.7012 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.168, allocations: 0 / 0.7012 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.168, allocations: 0 / 0.7012 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.1684, allocations: 461.4 kB / 0.7016 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.1687, allocations: 174.1 kB / 0.7018 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.169, allocations: 0.6729 MB / 0.7024 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.678e-06/0.169, allocations: 0 / 0.7024 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.169, allocations: 7.438 kB / 0.7024 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.169, allocations: 3.938 kB / 0.7024 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.1909, allocations: 0.9454 MB / 0.7034 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.69, allocations: 15.5 kB / 0.7034 GB, free: 9.852 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)