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.01047/0.01047, allocations: 98.52 kB / 15.73 MB, free: 6.055 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.002602/0.002602, allocations: 196 kB / 16.68 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7807/0.7807, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 58.25 kB / 0.5809 GB, free: 24.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1403, allocations: 80.21 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001621/0.142, allocations: 0.5434 MB / 0.6598 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008812/0.1429, allocations: 0.777 MB / 0.6605 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.727e-05/0.1429, allocations: 0 / 0.6605 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.225e-05/0.1429, allocations: 0 / 0.6605 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.965e-06/0.143, allocations: 0 / 0.6605 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.1432, allocations: 31.84 kB / 0.6605 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.484e-05/0.1433, allocations: 0 / 0.6605 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.1433, allocations: 8 kB / 0.6605 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.233e-05/0.1433, allocations: 0 / 0.6605 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.1435, allocations: 19.98 kB / 0.6606 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.585e-06/0.1435, allocations: 0 / 0.6606 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.667e-06/0.1435, allocations: 0 / 0.6606 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.849e-06/0.1435, allocations: 7.984 kB / 0.6606 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.948e-05/0.1435, allocations: 0 / 0.6606 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.058e-05/0.1436, allocations: 3.125 kB / 0.6606 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1436, allocations: 0 / 0.6606 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1436, allocations: 4 kB / 0.6606 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.1436, allocations: 3.938 kB / 0.6606 GB, free: 9.387 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002364/0.1438, allocations: 307.5 kB / 0.6609 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1439, allocations: 12.06 kB / 0.6609 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.924e-05/0.1439, allocations: 30.75 kB / 0.6609 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.871e-05/0.144, allocations: 4.938 kB / 0.6609 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.337e-05/0.144, allocations: 160.4 kB / 0.6611 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.144, allocations: 384 / 0.6611 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-06/0.1441, allocations: 8.125 kB / 0.6611 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.536e-05/0.1441, allocations: 33.64 kB / 0.6611 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1442, allocations: 0 / 0.6611 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.1442, allocations: 3.938 kB / 0.6611 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1442, allocations: 0 / 0.6611 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.696e-05/0.1442, allocations: 7.969 kB / 0.6611 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002554/0.1445, allocations: 383.5 kB / 0.6615 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.723e-05/0.1445, allocations: 165.1 kB / 0.6617 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.1446, allocations: 84.08 kB / 0.6617 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.1446, allocations: 75.28 kB / 0.6618 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.1446, allocations: 113.9 kB / 0.6619 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.1446, allocations: 0 / 0.6619 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.439e-05/0.1447, allocations: 29.69 kB / 0.6619 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.1448, allocations: 126.7 kB / 0.6621 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.52e-05/0.1448, allocations: 93.86 kB / 0.6622 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.1449, allocations: 29.7 kB / 0.6622 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.815e-05/0.1449, allocations: 84.38 kB / 0.6623 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.1449, allocations: 128 / 0.6623 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.1449, allocations: 13.72 kB / 0.6623 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.482e-05/0.145, allocations: 314.8 kB / 0.6626 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.145, allocations: 7.938 kB / 0.6626 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.538e-06/0.145, allocations: 0 / 0.6626 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.3e-05/0.1451, allocations: 12.84 kB / 0.6626 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1451, allocations: 0 / 0.6626 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.355e-05/0.1452, allocations: 33.7 kB / 0.6626 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1452, allocations: 10.28 kB / 0.6626 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1452, allocations: 0 / 0.6626 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1452, allocations: 0 / 0.6626 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.852e-05/0.1453, allocations: 4 kB / 0.6626 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.1453, allocations: 0 / 0.6626 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.358e-05/0.1453, allocations: 7.938 kB / 0.6626 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.1453, allocations: 0 / 0.6626 GB, free: 7.039 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: 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 7.605e-05/0.1454, allocations: 189.9 kB / 0.6628 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.1454, allocations: 113 kB / 0.6629 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/0.1455, allocations: 108.1 kB / 0.663 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.546e-05/0.1456, allocations: 184.1 kB / 0.6632 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.586e-05/0.1456, allocations: 176.3 kB / 0.6634 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.951e-05/0.1457, allocations: 184.2 kB / 0.6636 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.1459, allocations: 405.2 kB / 0.6639 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.937e-05/0.1459, allocations: 108.9 kB / 0.664 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.8e-05/0.1459, allocations: 104.9 kB / 0.6641 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.743e-05/0.146, allocations: 184.2 kB / 0.6643 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.157e-05/0.146, allocations: 184.2 kB / 0.6645 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-05/0.1461, allocations: 176.3 kB / 0.6647 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.983e-05/0.1461, allocations: 180.3 kB / 0.6648 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.1463, allocations: 311.9 kB / 0.6651 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.1463, allocations: 190.1 kB / 0.6653 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.1464, allocations: 176.3 kB / 0.6655 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.4e-05/0.1464, allocations: 105 kB / 0.6656 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.1465, allocations: 184.2 kB / 0.6658 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.1465, allocations: 109 kB / 0.6659 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.545e-05/0.1466, allocations: 75.28 kB / 0.6659 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1466, allocations: 0 / 0.6659 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002123/0.1468, allocations: 0 / 0.6659 GB, free: 3.438 MB / 0.4981 GB 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.0003177/0.1471, allocations: 0.8166 MB / 0.6667 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.768e-05/0.1472, allocations: 4 kB / 0.6667 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1472, allocations: 0 / 0.6667 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.1472, allocations: 0 / 0.6667 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.1475, allocations: 459.7 kB / 0.6672 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.1478, allocations: 181.9 kB / 0.6674 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/0.148, allocations: 0.6768 MB / 0.668 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.021e-05/0.148, allocations: 0 / 0.668 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.553e-05/0.148, allocations: 7.438 kB / 0.668 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.148, allocations: 0 / 0.668 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.1645, allocations: 0.9448 MB / 0.6689 GB, free: 464 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.289/7.454, allocations: 4.875 kB / 0.6689 GB, free: 460 kB / 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)