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.007127/0.007127, allocations: 99.34 kB / 15.73 MB, free: 6.035 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.001857/0.001857, allocations: 195.8 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002478/0.002478, allocations: 290.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.012/1.012, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002711/0.002711, allocations: 100.2 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1577, allocations: 86.97 MB / 0.7659 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002276/0.16, allocations: 1.281 MB / 0.7672 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008123/0.1608, allocations: 446.9 kB / 0.7676 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.322e-05/0.1609, allocations: 3.938 kB / 0.7676 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.099e-05/0.161, allocations: 7.984 kB / 0.7676 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.077e-05/0.161, allocations: 0 / 0.7676 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.1613, allocations: 35.89 kB / 0.7677 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.756e-05/0.1614, allocations: 19.92 kB / 0.7677 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.1614, allocations: 7.984 kB / 0.7677 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.317e-05/0.1615, allocations: 15.92 kB / 0.7677 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.059e-05/0.1616, allocations: 11.94 kB / 0.7677 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.417e-06/0.1616, allocations: 0 / 0.7677 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.1617, allocations: 47.94 kB / 0.7678 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.1618, allocations: 11.98 kB / 0.7678 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.1618, allocations: 15.88 kB / 0.7678 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.162, allocations: 69.73 kB / 0.7679 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.162, allocations: 0 / 0.7679 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.162, allocations: 0 / 0.7679 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.162, allocations: 0 / 0.7679 GB, free: 6.926 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.000428/0.1624, allocations: 359.2 kB / 0.7682 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1625, allocations: 12.03 kB / 0.7682 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.648e-05/0.1625, allocations: 30.75 kB / 0.7682 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.545e-05/0.1625, allocations: 4.938 kB / 0.7683 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.1627, allocations: 168.3 kB / 0.7684 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.1627, allocations: 384 / 0.7684 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.1628, allocations: 4.375 kB / 0.7684 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.1629, allocations: 55.53 kB / 0.7685 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1629, allocations: 0 / 0.7685 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.1629, allocations: 3.938 kB / 0.7685 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1629, allocations: 0 / 0.7685 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.495e-05/0.1629, allocations: 7.984 kB / 0.7685 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.1631, allocations: 175 kB / 0.7686 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.229e-05/0.1632, allocations: 41.09 kB / 0.7687 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.193e-05/0.1633, allocations: 25.83 kB / 0.7687 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.1633, allocations: 0 / 0.7687 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.1633, allocations: 38.5 kB / 0.7687 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.1633, allocations: 3.938 kB / 0.7688 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001522/0.1635, allocations: 49.77 kB / 0.7688 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.1636, allocations: 85.17 kB / 0.7689 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.1637, allocations: 133.8 kB / 0.769 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1637, allocations: 25.7 kB / 0.769 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.429e-05/0.1638, allocations: 100 kB / 0.7691 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.1638, allocations: 7.891 kB / 0.7691 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.1638, allocations: 25.72 kB / 0.7692 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.164, allocations: 318.8 kB / 0.7695 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.667e-05/0.164, allocations: 27.98 kB / 0.7695 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.721e-05/0.1641, allocations: 31.94 kB / 0.7695 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.222e-05/0.1642, allocations: 47.33 kB / 0.7696 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1642, allocations: 0 / 0.7696 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001362/0.1643, allocations: 93.58 kB / 0.7697 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1643, allocations: 4 kB / 0.7697 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.1644, allocations: 7.984 kB / 0.7697 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1644, allocations: 0 / 0.7697 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.542e-05/0.1644, allocations: 0 / 0.7697 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1644, allocations: 4 kB / 0.7697 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.1645, allocations: 11.89 kB / 0.7697 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1645, allocations: 0 / 0.7697 GB, free: 4.805 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 0.0001027/0.1646, allocations: 122.4 kB / 0.7698 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.1646, allocations: 7.922 kB / 0.7698 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.1646, allocations: 3.531 kB / 0.7698 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1647, allocations: 0 / 0.7698 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.1647, allocations: 4 kB / 0.7698 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1647, allocations: 0 / 0.7698 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.1648, allocations: 165.6 kB / 0.77 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1648, allocations: 4 kB / 0.77 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.109e-05/0.1649, allocations: 7.938 kB / 0.77 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1649, allocations: 0 / 0.77 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.1649, allocations: 0 / 0.77 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1649, allocations: 0 / 0.77 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1649, allocations: 0 / 0.77 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.716e-05/0.165, allocations: 73.98 kB / 0.7701 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.1651, allocations: 101 kB / 0.7702 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.1651, allocations: 0 / 0.7702 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.704e-05/0.1651, allocations: 0 / 0.7702 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/0.1651, allocations: 0 / 0.7702 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.1651, allocations: 4 kB / 0.7702 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.043e-05/0.1652, allocations: 101.1 kB / 0.7703 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1652, allocations: 3.938 kB / 0.7703 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000211/0.1654, allocations: 23.94 kB / 0.7703 GB, free: 4.098 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.0004603/0.1659, allocations: 0.6288 MB / 0.7709 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001603/0.1661, allocations: 89.61 kB / 0.771 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1661, allocations: 0 / 0.771 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.278e-05/0.1661, allocations: 4 kB / 0.771 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.1663, allocations: 8.141 kB / 0.771 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.1675, allocations: 1.313 MB / 0.7723 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.1678, allocations: 0.6884 MB / 0.7729 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.323e-05/0.1678, allocations: 4 kB / 0.7729 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.1679, allocations: 15.44 kB / 0.773 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.1679, allocations: 0 / 0.773 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3016/0.4695, allocations: 1.725 MB / 0.7746 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/8.255, allocations: 3.906 kB / 0.7747 GB, free: 14.32 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)