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.008599/0.0086, allocations: 96.7 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.001878/0.001878, allocations: 193.3 kB / 16.67 MB, free: 5.969 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.408/1.408, 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/IDEAS 3.0.0/package.mo): time 0.744/0.744, allocations: 132.2 MB / 422.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.91 kB / 0.5809 GB, free: 7.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4215, allocations: 80.2 MB / 0.6592 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002105/0.4236, allocations: 1.276 MB / 0.6605 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006508/0.4243, allocations: 458.1 kB / 0.6609 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.892e-05/0.4243, allocations: 0 / 0.6609 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.947e-05/0.4244, allocations: 4.734 kB / 0.6609 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.765e-05/0.4245, allocations: 4.438 kB / 0.6609 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.4247, allocations: 35.59 kB / 0.661 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.947e-05/0.4248, allocations: 17.59 kB / 0.661 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.4248, allocations: 6.766 kB / 0.661 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.854e-05/0.4249, allocations: 12.02 kB / 0.661 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.389e-05/0.4249, allocations: 14.77 kB / 0.661 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.425, allocations: 4 kB / 0.661 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.4251, allocations: 48.25 kB / 0.6611 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.531e-05/0.4251, allocations: 16.77 kB / 0.6611 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.4252, allocations: 10.75 kB / 0.6611 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.4253, allocations: 58.81 kB / 0.6611 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4253, allocations: 0 / 0.6611 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4253, allocations: 3.938 kB / 0.6611 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.4253, allocations: 0 / 0.6611 GB, free: 8.609 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.000296/0.4256, allocations: 353.2 kB / 0.6615 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.4257, allocations: 9.219 kB / 0.6615 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.229e-05/0.4257, allocations: 44.5 kB / 0.6615 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.45e-05/0.4257, allocations: 7.188 kB / 0.6615 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.4259, allocations: 165.8 kB / 0.6617 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.4259, allocations: 4.125 kB / 0.6617 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.4259, allocations: 2.344 kB / 0.6617 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.44e-05/0.426, allocations: 45.52 kB / 0.6617 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.426, allocations: 0.75 kB / 0.6617 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.426, allocations: 0 / 0.6617 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.426, allocations: 4.938 kB / 0.6618 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.356e-05/0.426, allocations: 10.27 kB / 0.6618 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/0.4262, allocations: 175.3 kB / 0.6619 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.466e-05/0.4262, allocations: 39.39 kB / 0.662 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.4263, allocations: 22.44 kB / 0.662 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.4263, allocations: 7.984 kB / 0.662 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.4263, allocations: 36.36 kB / 0.662 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.4263, allocations: 3.938 kB / 0.662 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001278/0.4264, allocations: 49.91 kB / 0.6621 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.4265, allocations: 79.3 kB / 0.6622 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.614e-05/0.4265, allocations: 137.6 kB / 0.6623 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.333e-06/0.4266, allocations: 31.33 kB / 0.6623 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.299e-05/0.4266, allocations: 94.58 kB / 0.6624 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.4266, allocations: 5.797 kB / 0.6624 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.4266, allocations: 25.3 kB / 0.6624 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.334e-05/0.4267, allocations: 318.8 kB / 0.6627 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.149e-05/0.4267, allocations: 24.12 kB / 0.6628 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.854e-05/0.4268, allocations: 27.03 kB / 0.6628 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.016e-05/0.4268, allocations: 48.8 kB / 0.6628 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.4268, allocations: 7.938 kB / 0.6628 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001086/0.427, allocations: 91.61 kB / 0.6629 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.427, allocations: 5.25 kB / 0.6629 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.427, allocations: 1.75 kB / 0.6629 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.427, allocations: 1.469 kB / 0.6629 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.323e-05/0.4271, allocations: 3.312 kB / 0.6629 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.4271, allocations: 0 / 0.6629 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.956e-05/0.4271, allocations: 14.94 kB / 0.663 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.4271, allocations: 1.531 kB / 0.663 GB, free: 6.781 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 5.211e-05/0.4272, allocations: 124.3 kB / 0.6631 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.4272, allocations: 6.969 kB / 0.6631 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.789e-05/0.4272, allocations: 8.078 kB / 0.6631 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.4272, allocations: 1.281 kB / 0.6631 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4272, allocations: 1.969 kB / 0.6631 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4272, allocations: 0 / 0.6631 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.517e-05/0.4273, allocations: 161.8 kB / 0.6633 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.4273, allocations: 2.016 kB / 0.6633 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.792e-05/0.4273, allocations: 6.281 kB / 0.6633 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4273, allocations: 1.953 kB / 0.6633 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.4273, allocations: 8 kB / 0.6633 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4274, allocations: 1.734 kB / 0.6633 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4274, allocations: 1.188 kB / 0.6633 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.838e-05/0.4274, allocations: 76.03 kB / 0.6633 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.4274, allocations: 84.3 kB / 0.6634 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.4275, allocations: 4.5 kB / 0.6634 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.698e-05/0.4275, allocations: 5.5 kB / 0.6634 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/0.4275, allocations: 2.5 kB / 0.6634 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.4275, allocations: 1.188 kB / 0.6634 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.247e-05/0.4276, allocations: 102.1 kB / 0.6635 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4276, allocations: 0 / 0.6635 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002068/0.4278, allocations: 24.23 kB / 0.6636 GB, free: 6.152 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.0002549/0.428, allocations: 0.6273 MB / 0.6642 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.4282, allocations: 91.69 kB / 0.6643 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4282, allocations: 1.25 kB / 0.6643 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-05/0.4282, allocations: 4.406 kB / 0.6643 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.4284, allocations: 3.328 kB / 0.6643 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008859/0.4292, allocations: 1.311 MB / 0.6655 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.4294, allocations: 0.685 MB / 0.6662 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.854e-05/0.4294, allocations: 2.078 kB / 0.6662 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.4294, allocations: 14.09 kB / 0.6662 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.4294, allocations: 0 / 0.6662 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/0.4486, allocations: 1.704 MB / 0.6679 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.352/7.8, allocations: 5.062 kB / 0.6679 GB, free: 2.828 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)