Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.AggregationCellTimes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="IDEAS_IDEAS_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.001163/0.001163, 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.001398/0.001399, allocations: 195 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.288/1.288, 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/IDEAS 3.0.0/package.mo): time 0.7204/0.7204, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.97 kB / 0.5019 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3973, allocations: 80.2 MB / 0.5802 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002253/0.3996, allocations: 1.274 MB / 0.5815 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006497/0.4002, allocations: 451.1 kB / 0.5819 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.854e-05/0.4003, allocations: 0.8438 kB / 0.5819 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.655e-05/0.4004, allocations: 0.7969 kB / 0.5819 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.823e-05/0.4004, allocations: 11.91 kB / 0.5819 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.4007, allocations: 35.42 kB / 0.582 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.783e-05/0.4007, allocations: 30.89 kB / 0.582 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/0.4008, allocations: 6.469 kB / 0.582 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.63e-05/0.4008, allocations: 7.078 kB / 0.582 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.388e-05/0.4009, allocations: 15.23 kB / 0.582 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.4009, allocations: 0.75 kB / 0.582 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.401, allocations: 43.47 kB / 0.582 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/0.4011, allocations: 11.34 kB / 0.5821 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.4011, allocations: 20.38 kB / 0.5821 GB, free: 3.324 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.4012, allocations: 54.38 kB / 0.5821 GB, free: 3.309 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4013, allocations: 3.938 kB / 0.5821 GB, free: 3.305 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4013, allocations: 0.7188 kB / 0.5821 GB, free: 3.305 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.4013, allocations: 0.6562 kB / 0.5821 GB, free: 3.305 MB / 430.1 MB 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.0002883/0.4016, allocations: 360.4 kB / 0.5825 GB, free: 2.926 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.4016, allocations: 10.38 kB / 0.5825 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.133e-05/0.4016, allocations: 31.36 kB / 0.5825 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.316e-05/0.4017, allocations: 3.125 kB / 0.5825 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.875e-05/0.4018, allocations: 170.4 kB / 0.5827 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.4018, allocations: 384 / 0.5827 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.4018, allocations: 9.891 kB / 0.5827 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.32e-05/0.4019, allocations: 49.89 kB / 0.5827 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.4019, allocations: 3.984 kB / 0.5827 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-06/0.4019, allocations: 1.062 kB / 0.5827 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.4019, allocations: 0 / 0.5827 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.228e-05/0.4019, allocations: 6.422 kB / 0.5828 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.4021, allocations: 175.7 kB / 0.5829 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.426e-05/0.4021, allocations: 46.86 kB / 0.583 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.4022, allocations: 22.33 kB / 0.583 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.4022, allocations: 0.9062 kB / 0.583 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.4022, allocations: 36.39 kB / 0.583 GB, free: 2.289 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.4022, allocations: 0 / 0.583 GB, free: 2.289 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001192/0.4023, allocations: 50.53 kB / 0.5831 GB, free: 2.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.4024, allocations: 85.8 kB / 0.5832 GB, free: 2.148 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.92e-05/0.4024, allocations: 137.6 kB / 0.5833 GB, free: 2.039 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.4025, allocations: 25.7 kB / 0.5833 GB, free: 2.008 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.151e-05/0.4025, allocations: 87.66 kB / 0.5834 GB, free: 1.922 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.4025, allocations: 13.45 kB / 0.5834 GB, free: 1.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.4025, allocations: 25.84 kB / 0.5834 GB, free: 1.891 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.039e-05/0.4026, allocations: 315.6 kB / 0.5837 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-05/0.4026, allocations: 30.25 kB / 0.5838 GB, free: 1.566 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.127e-05/0.4027, allocations: 28.56 kB / 0.5838 GB, free: 1.559 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.167e-05/0.4027, allocations: 41.39 kB / 0.5838 GB, free: 1.543 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4027, allocations: 0 / 0.5838 GB, free: 1.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001138/0.4029, allocations: 108.8 kB / 0.5839 GB, free: 1.484 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.4029, allocations: 8.188 kB / 0.5839 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.4029, allocations: 1.531 kB / 0.5839 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.4029, allocations: 0 / 0.5839 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.47e-05/0.403, allocations: 7.906 kB / 0.5839 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.403, allocations: 3.984 kB / 0.584 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.835e-05/0.403, allocations: 10.78 kB / 0.584 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.403, allocations: 0.9688 kB / 0.584 GB, free: 1.469 MB / 430.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: 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 5.273e-05/0.4031, allocations: 122.4 kB / 0.5841 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.4031, allocations: 10.41 kB / 0.5841 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.799e-05/0.4031, allocations: 8.188 kB / 0.5841 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.4031, allocations: 1.094 kB / 0.5841 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4031, allocations: 1.703 kB / 0.5841 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.4031, allocations: 1 kB / 0.5841 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.049e-05/0.4032, allocations: 162 kB / 0.5843 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4032, allocations: 4.609 kB / 0.5843 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.697e-05/0.4032, allocations: 3.344 kB / 0.5843 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.4033, allocations: 1.438 kB / 0.5843 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.4033, allocations: 0.9375 kB / 0.5843 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4033, allocations: 2 kB / 0.5843 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4033, allocations: 0 / 0.5843 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.32e-05/0.4033, allocations: 80.39 kB / 0.5843 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.807e-05/0.4034, allocations: 83.53 kB / 0.5844 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.4034, allocations: 1.469 kB / 0.5844 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.4034, allocations: 1.547 kB / 0.5844 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.4034, allocations: 0.75 kB / 0.5844 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.4034, allocations: 2.188 kB / 0.5844 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.448e-05/0.4035, allocations: 102.9 kB / 0.5845 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4035, allocations: 0 / 0.5845 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.4037, allocations: 15.2 kB / 0.5845 GB, free: 0.8672 MB / 430.1 MB 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.000264/0.404, allocations: 0.6286 MB / 0.5852 GB, free: 256 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.4041, allocations: 88.19 kB / 0.5852 GB, free: 204 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4041, allocations: 0 / 0.5852 GB, free: 204 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.361e-05/0.4042, allocations: 13.22 kB / 0.5853 GB, free: 196 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.4043, allocations: 9.922 kB / 0.5853 GB, free: 192 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.4054, allocations: 1.297 MB / 0.5865 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.4056, allocations: 0.6855 MB / 0.5872 GB, free: 14.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.032e-05/0.4056, allocations: 9.672 kB / 0.5872 GB, free: 14.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.4057, allocations: 13.61 kB / 0.5872 GB, free: 14.31 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4057, allocations: 0 / 0.5872 GB, free: 14.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.4246, allocations: 1.666 MB / 0.5888 GB, free: 13.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.199/7.623, allocations: 2.25 kB / 0.5888 GB, free: 13.98 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)