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.009672/0.009672, allocations: 98.31 kB / 15.73 MB, free: 6.492 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.002348/0.002348, allocations: 201 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.212/2.212, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.148/1.148, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002808/0.002808, allocations: 59.5 kB / 0.5809 GB, free: 1.285 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2576, allocations: 80.2 MB / 0.6592 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.003987/0.2617, allocations: 1.284 MB / 0.6605 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.2632, allocations: 459.1 kB / 0.6609 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.912e-05/0.2632, allocations: 0 / 0.6609 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.2634, allocations: 7.938 kB / 0.6609 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.239e-05/0.2635, allocations: 7.969 kB / 0.6609 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.2639, allocations: 35.91 kB / 0.661 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.264, allocations: 23.91 kB / 0.661 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.346e-05/0.2641, allocations: 4 kB / 0.661 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.45e-05/0.2641, allocations: 8 kB / 0.661 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.761e-05/0.2642, allocations: 15.86 kB / 0.661 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.2643, allocations: 0 / 0.661 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.2645, allocations: 39.95 kB / 0.6611 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.338e-05/0.2646, allocations: 11.98 kB / 0.6611 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/0.2646, allocations: 27.86 kB / 0.6611 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.2649, allocations: 61.38 kB / 0.6612 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2649, allocations: 0 / 0.6612 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2649, allocations: 4 kB / 0.6612 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.2649, allocations: 0 / 0.6612 GB, free: 12.16 MB / 0.4981 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.0006463/0.2656, allocations: 347.3 kB / 0.6615 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.2656, allocations: 8.031 kB / 0.6615 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.805e-05/0.2657, allocations: 34.69 kB / 0.6615 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.2657, allocations: 8.891 kB / 0.6615 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.266, allocations: 168.4 kB / 0.6617 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.2661, allocations: 8.125 kB / 0.6617 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.2661, allocations: 0 / 0.6617 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.2662, allocations: 43.42 kB / 0.6618 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2663, allocations: 0 / 0.6618 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.2663, allocations: 0 / 0.6618 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.2663, allocations: 3.984 kB / 0.6618 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.722e-05/0.2663, allocations: 15.92 kB / 0.6618 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.2666, allocations: 178.5 kB / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.882e-05/0.2667, allocations: 37.16 kB / 0.662 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.997e-05/0.2668, allocations: 25.7 kB / 0.662 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.2668, allocations: 4 kB / 0.662 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.2669, allocations: 42.5 kB / 0.662 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.2669, allocations: 0 / 0.662 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000217/0.2671, allocations: 53.58 kB / 0.6621 GB, free: 11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.2672, allocations: 77.11 kB / 0.6622 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.2674, allocations: 139.6 kB / 0.6623 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.2675, allocations: 29.7 kB / 0.6623 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.2675, allocations: 88.08 kB / 0.6624 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.2676, allocations: 8.203 kB / 0.6624 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.765e-05/0.2677, allocations: 33.7 kB / 0.6625 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.2679, allocations: 314.8 kB / 0.6628 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.052e-05/0.2679, allocations: 27.98 kB / 0.6628 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.964e-05/0.268, allocations: 23.98 kB / 0.6628 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.816e-05/0.2681, allocations: 48.03 kB / 0.6629 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.2681, allocations: 3.938 kB / 0.6629 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002136/0.2683, allocations: 93.67 kB / 0.6629 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.2684, allocations: 9.875 kB / 0.663 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.2684, allocations: 4 kB / 0.663 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.2684, allocations: 0 / 0.663 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.36e-05/0.2685, allocations: 4 kB / 0.663 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.2685, allocations: 0 / 0.663 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.2686, allocations: 11.89 kB / 0.663 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.2686, allocations: 4 kB / 0.663 GB, free: 10.04 MB / 0.4981 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.000125/0.2687, allocations: 118.4 kB / 0.6631 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.2688, allocations: 7.953 kB / 0.6631 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.2688, allocations: 3.531 kB / 0.6631 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2688, allocations: 8 kB / 0.6631 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2688, allocations: 0 / 0.6631 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2688, allocations: 0 / 0.6631 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.2691, allocations: 169.5 kB / 0.6633 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.2691, allocations: 3.984 kB / 0.6633 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.685e-05/0.2691, allocations: 7.938 kB / 0.6633 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2691, allocations: 0 / 0.6633 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.2691, allocations: 0 / 0.6633 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.2691, allocations: 4 kB / 0.6633 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2691, allocations: 0 / 0.6633 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.2693, allocations: 77.88 kB / 0.6634 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.2694, allocations: 85.06 kB / 0.6634 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.2694, allocations: 0 / 0.6634 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.927e-05/0.2694, allocations: 0 / 0.6634 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.2695, allocations: 4 kB / 0.6634 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.2695, allocations: 3.938 kB / 0.6634 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000113/0.2696, allocations: 111.2 kB / 0.6636 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2696, allocations: 7.938 kB / 0.6636 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004045/0.27, allocations: 12 kB / 0.6636 GB, free: 9.324 MB / 0.4981 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.0006922/0.2707, allocations: 0.6217 MB / 0.6642 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.271, allocations: 93.64 kB / 0.6643 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.271, allocations: 0 / 0.6643 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.866e-05/0.271, allocations: 4 kB / 0.6643 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.2713, allocations: 4 kB / 0.6643 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.2732, allocations: 1.31 MB / 0.6656 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.2737, allocations: 0.6807 MB / 0.6662 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.702e-05/0.2737, allocations: 4.062 kB / 0.6662 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.2738, allocations: 23.42 kB / 0.6662 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.2738, allocations: 0 / 0.6662 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.3009, allocations: 1.696 MB / 0.6679 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.32, allocations: 4.562 kB / 0.6679 GB, free: 4.941 MB / 0.4981 GB (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)