Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.AggregationCellTimes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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.00487/0.00487, allocations: 99.34 kB / 15.73 MB, free: 6.039 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.001275/0.001275, allocations: 196 kB / 16.67 MB, free: 5.961 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002479/0.002479, allocations: 286.5 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.031/1.031, allocations: 178.6 MB / 0.5074 GB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002648/0.002648, allocations: 98.34 kB / 0.6943 GB, free: 3.582 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.4317, allocations: 89.14 MB / 0.7814 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002578/0.4343, allocations: 1.285 MB / 0.7826 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008418/0.4351, allocations: 456.4 kB / 0.7831 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.222e-05/0.4352, allocations: 1.062 kB / 0.7831 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.596e-05/0.4353, allocations: 0.5625 kB / 0.7831 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-05/0.4354, allocations: 8.125 kB / 0.7831 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.4356, allocations: 31.03 kB / 0.7831 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.114e-05/0.4358, allocations: 22.16 kB / 0.7831 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.4358, allocations: 3.391 kB / 0.7831 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.895e-05/0.4358, allocations: 10.75 kB / 0.7831 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.986e-05/0.4359, allocations: 15.62 kB / 0.7832 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.718e-06/0.4359, allocations: 1.125 kB / 0.7832 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.4361, allocations: 39.52 kB / 0.7832 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.242e-05/0.4361, allocations: 16.08 kB / 0.7832 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.4362, allocations: 23.72 kB / 0.7832 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.4363, allocations: 53.36 kB / 0.7833 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.4363, allocations: 3.938 kB / 0.7833 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4363, allocations: 5.312 kB / 0.7833 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.4363, allocations: 0 / 0.7833 GB, free: 12.57 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004254/0.4368, allocations: 360.2 kB / 0.7836 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.4368, allocations: 10.84 kB / 0.7836 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.4369, allocations: 30.75 kB / 0.7837 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.4369, allocations: 3.078 kB / 0.7837 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.4371, allocations: 178.9 kB / 0.7838 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.4371, allocations: 384 / 0.7838 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.4371, allocations: 1.531 kB / 0.7838 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.4372, allocations: 54.31 kB / 0.7839 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.4372, allocations: 0 / 0.7839 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.4372, allocations: 0.5156 kB / 0.7839 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.4372, allocations: 1.469 kB / 0.7839 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.369e-05/0.4373, allocations: 5.719 kB / 0.7839 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001965/0.4375, allocations: 171.7 kB / 0.7841 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.002e-05/0.4375, allocations: 43.2 kB / 0.7841 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.775e-05/0.4376, allocations: 21.78 kB / 0.7841 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.4376, allocations: 1.312 kB / 0.7841 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.4376, allocations: 36.28 kB / 0.7842 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4376, allocations: 0 / 0.7842 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001411/0.4378, allocations: 53.8 kB / 0.7842 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.4378, allocations: 83 kB / 0.7843 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.438, allocations: 137.3 kB / 0.7844 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.438, allocations: 25.7 kB / 0.7845 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.4381, allocations: 92.52 kB / 0.7845 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.4381, allocations: 5.797 kB / 0.7845 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.4381, allocations: 25.91 kB / 0.7846 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.4383, allocations: 318.4 kB / 0.7849 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.952e-05/0.4383, allocations: 27.22 kB / 0.7849 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.488e-05/0.4384, allocations: 28.09 kB / 0.7849 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.568e-05/0.4384, allocations: 50.03 kB / 0.785 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4384, allocations: 0 / 0.785 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000139/0.4386, allocations: 97.41 kB / 0.7851 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.4386, allocations: 5.875 kB / 0.7851 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.4386, allocations: 1.344 kB / 0.7851 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.4386, allocations: 0 / 0.7851 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.623e-05/0.4387, allocations: 4.281 kB / 0.7851 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.4387, allocations: 0 / 0.7851 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.41e-05/0.4388, allocations: 14.23 kB / 0.7851 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.4388, allocations: 9.062 kB / 0.7851 GB, free: 10.74 MB / 0.5606 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.237e-05/0.4389, allocations: 112.6 kB / 0.7852 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.4389, allocations: 7.016 kB / 0.7852 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.167e-05/0.4389, allocations: 12.08 kB / 0.7852 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.4389, allocations: 1.031 kB / 0.7852 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4389, allocations: 1.859 kB / 0.7852 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4389, allocations: 0 / 0.7852 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.4391, allocations: 162.2 kB / 0.7854 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4391, allocations: 2.172 kB / 0.7854 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.229e-05/0.4391, allocations: 10.16 kB / 0.7854 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4391, allocations: 2.016 kB / 0.7854 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.4391, allocations: 0 / 0.7854 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4391, allocations: 1.469 kB / 0.7854 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4391, allocations: 0.5625 kB / 0.7854 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.771e-05/0.4392, allocations: 76.97 kB / 0.7855 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.4393, allocations: 92.12 kB / 0.7856 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.4393, allocations: 1.891 kB / 0.7856 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.646e-05/0.4393, allocations: 0 / 0.7856 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.4393, allocations: 6.203 kB / 0.7856 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.4394, allocations: 1.25 kB / 0.7856 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.626e-05/0.4394, allocations: 101.5 kB / 0.7857 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4394, allocations: 0 / 0.7857 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002226/0.4397, allocations: 19.58 kB / 0.7857 GB, free: 10.13 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004705/0.4401, allocations: 0.6419 MB / 0.7863 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001551/0.4403, allocations: 87 kB / 0.7864 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.4403, allocations: 0 / 0.7864 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-05/0.4403, allocations: 8.984 kB / 0.7864 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.4405, allocations: 14.12 kB / 0.7864 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.4417, allocations: 1.311 MB / 0.7877 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.442, allocations: 0.6858 MB / 0.7884 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.131e-05/0.4421, allocations: 1.641 kB / 0.7884 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.4421, allocations: 13.78 kB / 0.7884 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.4421, allocations: 0 / 0.7884 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.4643, allocations: 1.715 MB / 0.7901 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/8.119, allocations: 25.25 kB / 0.7901 GB, free: 7.203 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_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_AggregationCellTimes.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)