Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IDEAS_IDEAS_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.001082/0.001082, 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.001144/0.001144, allocations: 193.9 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7551/0.7551, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 56.66 kB / 0.5019 GB, free: 8.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1572, allocations: 80.2 MB / 0.5802 GB, free: 8.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001791/0.159, allocations: 0.5387 MB / 0.5808 GB, free: 8.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008252/0.1599, allocations: 0.7767 MB / 0.5815 GB, free: 7.312 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.398e-05/0.1599, allocations: 0 / 0.5815 GB, free: 7.312 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.518e-06/0.1599, allocations: 0 / 0.5815 GB, free: 7.312 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.967e-06/0.1599, allocations: 0 / 0.5815 GB, free: 7.312 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.1602, allocations: 19.92 kB / 0.5815 GB, free: 7.293 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.724e-05/0.1602, allocations: 7.984 kB / 0.5815 GB, free: 7.285 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.1603, allocations: 3.984 kB / 0.5816 GB, free: 7.281 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.415e-05/0.1603, allocations: 4 kB / 0.5816 GB, free: 7.277 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.1604, allocations: 19.92 kB / 0.5816 GB, free: 7.258 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.893e-06/0.1604, allocations: 4 kB / 0.5816 GB, free: 7.254 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.927e-06/0.1605, allocations: 0 / 0.5816 GB, free: 7.254 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.07e-05/0.1605, allocations: 0 / 0.5816 GB, free: 7.254 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.611e-05/0.1605, allocations: 7.938 kB / 0.5816 GB, free: 7.246 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.205e-05/0.1605, allocations: 3.984 kB / 0.5816 GB, free: 7.242 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1605, allocations: 0 / 0.5816 GB, free: 7.242 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1605, allocations: 0 / 0.5816 GB, free: 7.242 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1606, allocations: 0 / 0.5816 GB, free: 7.242 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.0002677/0.1608, allocations: 307.6 kB / 0.5819 GB, free: 6.895 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1609, allocations: 8.031 kB / 0.5819 GB, free: 6.887 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.238e-05/0.1609, allocations: 34.73 kB / 0.5819 GB, free: 6.844 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.804e-05/0.1609, allocations: 0.9375 kB / 0.5819 GB, free: 6.844 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.094e-05/0.161, allocations: 168.4 kB / 0.5821 GB, free: 6.641 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.161, allocations: 4.375 kB / 0.5821 GB, free: 6.637 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.016e-06/0.1611, allocations: 384 / 0.5821 GB, free: 6.637 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.978e-05/0.1611, allocations: 37.58 kB / 0.5821 GB, free: 6.594 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1612, allocations: 0 / 0.5821 GB, free: 6.594 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-06/0.1612, allocations: 0 / 0.5821 GB, free: 6.594 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1612, allocations: 4 kB / 0.5821 GB, free: 6.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.449e-05/0.1612, allocations: 0 / 0.5821 GB, free: 6.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.1615, allocations: 383.5 kB / 0.5825 GB, free: 6.164 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.41e-05/0.1616, allocations: 173.1 kB / 0.5827 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/0.1616, allocations: 80.14 kB / 0.5827 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.1616, allocations: 75.28 kB / 0.5828 GB, free: 5.828 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.1617, allocations: 105.8 kB / 0.5829 GB, free: 5.715 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.124e-06/0.1617, allocations: 4 kB / 0.5829 GB, free: 5.711 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.976e-05/0.1617, allocations: 29.64 kB / 0.5829 GB, free: 5.676 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.1618, allocations: 130.7 kB / 0.5831 GB, free: 5.535 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.85e-05/0.1619, allocations: 97.84 kB / 0.5832 GB, free: 5.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.1619, allocations: 25.7 kB / 0.5832 GB, free: 5.398 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.081e-05/0.1619, allocations: 84.05 kB / 0.5833 GB, free: 5.312 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.1619, allocations: 0 / 0.5833 GB, free: 5.312 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.162, allocations: 13.72 kB / 0.5833 GB, free: 5.293 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1621, allocations: 322.8 kB / 0.5836 GB, free: 4.969 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-06/0.1621, allocations: 0 / 0.5836 GB, free: 4.969 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.336e-06/0.1621, allocations: 0 / 0.5836 GB, free: 4.969 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.657e-05/0.1621, allocations: 12.86 kB / 0.5836 GB, free: 4.953 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1621, allocations: 0 / 0.5836 GB, free: 4.953 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.876e-05/0.1622, allocations: 29.7 kB / 0.5836 GB, free: 4.918 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1623, allocations: 11.98 kB / 0.5836 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1623, allocations: 0 / 0.5836 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1623, allocations: 4.094 kB / 0.5836 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.855e-05/0.1623, allocations: 0 / 0.5836 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.1624, allocations: 0 / 0.5836 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.969e-06/0.1624, allocations: 3.938 kB / 0.5836 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1624, allocations: 7.938 kB / 0.5837 GB, free: 4.891 MB / 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.0001179/0.1625, allocations: 185.7 kB / 0.5838 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.1626, allocations: 102.8 kB / 0.5839 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.699e-05/0.1626, allocations: 116.1 kB / 0.584 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.36e-05/0.1627, allocations: 188.2 kB / 0.5842 GB, free: 4.277 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-05/0.1627, allocations: 176.3 kB / 0.5844 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.194e-05/0.1628, allocations: 180.2 kB / 0.5846 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.163, allocations: 405.2 kB / 0.5849 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.383e-05/0.1631, allocations: 109 kB / 0.585 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.1631, allocations: 108.9 kB / 0.5852 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.205e-05/0.1632, allocations: 176.3 kB / 0.5853 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.99e-05/0.1632, allocations: 184.2 kB / 0.5855 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.537e-05/0.1633, allocations: 176.3 kB / 0.5857 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.096e-05/0.1633, allocations: 180.2 kB / 0.5858 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.1634, allocations: 312 kB / 0.5861 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/0.1635, allocations: 182 kB / 0.5863 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.868e-05/0.1636, allocations: 184.3 kB / 0.5865 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.89e-05/0.1637, allocations: 108.9 kB / 0.5866 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.1637, allocations: 184.2 kB / 0.5868 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.1638, allocations: 105 kB / 0.5869 GB, free: 1.375 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.615e-05/0.1638, allocations: 75.28 kB / 0.5869 GB, free: 1.301 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1638, allocations: 4 kB / 0.5869 GB, free: 1.297 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002003/0.164, allocations: 0 / 0.5869 GB, free: 1.297 MB / 494.1 MB 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.0003589/0.1644, allocations: 0.8172 MB / 0.5877 GB, free: 464 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.97e-05/0.1644, allocations: 0 / 0.5877 GB, free: 464 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1644, allocations: 0 / 0.5877 GB, free: 464 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.1645, allocations: 0 / 0.5877 GB, free: 464 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.1648, allocations: 459.9 kB / 0.5882 GB, free: 0 / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.1651, allocations: 194 kB / 0.5884 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.1653, allocations: 0.6729 MB / 0.589 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.244e-05/0.1654, allocations: 0 / 0.589 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.759e-05/0.1654, allocations: 7.438 kB / 0.589 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1654, allocations: 0 / 0.589 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.1803, allocations: 0.9285 MB / 0.5899 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.069/7.249, allocations: 3.875 kB / 0.5899 GB, free: 14.32 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)