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.009977/0.009977, allocations: 97.62 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.002154/0.002154, allocations: 198.8 kB / 16.68 MB, free: 5.961 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.206/2.206, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.228/1.228, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002819/0.002819, allocations: 67.86 kB / 0.5809 GB, free: 24.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2436, allocations: 80.21 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.002873/0.2465, allocations: 0.5456 MB / 0.6598 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.248, allocations: 0.7731 MB / 0.6605 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.017e-05/0.2481, allocations: 0 / 0.6605 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.2481, allocations: 0 / 0.6605 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.554e-06/0.2481, allocations: 7.938 kB / 0.6605 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.2484, allocations: 19.91 kB / 0.6605 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.79e-05/0.2485, allocations: 4 kB / 0.6605 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.903e-05/0.2486, allocations: 8 kB / 0.6606 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.593e-05/0.2486, allocations: 0 / 0.6606 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.2487, allocations: 19.98 kB / 0.6606 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.2488, allocations: 3.984 kB / 0.6606 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.609e-06/0.2488, allocations: 0 / 0.6606 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.2488, allocations: 0 / 0.6606 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.012e-05/0.2488, allocations: 0 / 0.6606 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.339e-05/0.2489, allocations: 8 kB / 0.6606 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2489, allocations: 0 / 0.6606 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2489, allocations: 0 / 0.6606 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2489, allocations: 0 / 0.6606 GB, free: 9.348 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.0003574/0.2493, allocations: 303.6 kB / 0.6609 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.2493, allocations: 16.05 kB / 0.6609 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.431e-05/0.2494, allocations: 30.75 kB / 0.6609 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.2494, allocations: 0.9375 kB / 0.6609 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.2496, allocations: 160.4 kB / 0.6611 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.2496, allocations: 384 / 0.6611 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.2496, allocations: 12.12 kB / 0.6611 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.2497, allocations: 37.64 kB / 0.6611 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.2498, allocations: 3.938 kB / 0.6611 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.2498, allocations: 0 / 0.6611 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2498, allocations: 0 / 0.6611 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.981e-05/0.2498, allocations: 0 / 0.6611 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.2502, allocations: 379.5 kB / 0.6615 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.2503, allocations: 177.1 kB / 0.6617 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.321e-05/0.2504, allocations: 80.14 kB / 0.6617 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.852e-05/0.2504, allocations: 79.31 kB / 0.6618 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.29e-05/0.2505, allocations: 105.8 kB / 0.6619 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.744e-06/0.2505, allocations: 0 / 0.6619 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 9.899e-05/0.2506, allocations: 29.7 kB / 0.6619 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.774e-05/0.2508, allocations: 130.7 kB / 0.6621 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.2509, allocations: 101.8 kB / 0.6622 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.2509, allocations: 25.7 kB / 0.6622 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.251, allocations: 88.31 kB / 0.6623 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-06/0.251, allocations: 0 / 0.6623 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.251, allocations: 9.719 kB / 0.6623 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.2512, allocations: 322.9 kB / 0.6626 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.286e-05/0.2513, allocations: 0 / 0.6626 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-06/0.2513, allocations: 0 / 0.6626 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.437e-05/0.2513, allocations: 12.86 kB / 0.6626 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2513, allocations: 0 / 0.6626 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001376/0.2515, allocations: 33.69 kB / 0.6626 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.2515, allocations: 5.562 kB / 0.6626 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2515, allocations: 0 / 0.6626 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.2516, allocations: 96 / 0.6626 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.4e-05/0.2516, allocations: 11.94 kB / 0.6626 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.2517, allocations: 0 / 0.6626 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.921e-05/0.2517, allocations: 3.938 kB / 0.6626 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.2517, allocations: 0 / 0.6626 GB, free: 6.996 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 0.0001575/0.2519, allocations: 189.9 kB / 0.6628 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.504e-05/0.252, allocations: 101 kB / 0.6629 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.033e-05/0.2521, allocations: 112 kB / 0.663 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.389e-05/0.2522, allocations: 184.3 kB / 0.6632 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001109/0.2523, allocations: 184.2 kB / 0.6634 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001063/0.2524, allocations: 180.2 kB / 0.6636 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003572/0.2528, allocations: 405.1 kB / 0.6639 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.347e-05/0.2528, allocations: 108.9 kB / 0.664 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.303e-05/0.2529, allocations: 109 kB / 0.6641 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.869e-05/0.253, allocations: 176.3 kB / 0.6643 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.2532, allocations: 184.2 kB / 0.6645 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.986e-05/0.2533, allocations: 180.2 kB / 0.6647 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001055/0.2534, allocations: 184.2 kB / 0.6648 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.2536, allocations: 308 kB / 0.6651 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.2538, allocations: 190 kB / 0.6653 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.2539, allocations: 180.3 kB / 0.6655 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.254, allocations: 104.9 kB / 0.6656 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.2542, allocations: 184.3 kB / 0.6658 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.669e-05/0.2542, allocations: 105 kB / 0.6659 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.76e-05/0.2543, allocations: 75.28 kB / 0.6659 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.685e-06/0.2543, allocations: 0 / 0.6659 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003999/0.2547, allocations: 7.922 kB / 0.6659 GB, free: 3.391 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.000642/0.2554, allocations: 0.8088 MB / 0.6667 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.053e-05/0.2555, allocations: 4 kB / 0.6667 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2555, allocations: 3.938 kB / 0.6667 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.086e-06/0.2555, allocations: 3.938 kB / 0.6667 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006081/0.2561, allocations: 455.7 kB / 0.6672 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005292/0.2567, allocations: 189.9 kB / 0.6674 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.2571, allocations: 0.669 MB / 0.668 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.646e-05/0.2571, allocations: 0 / 0.668 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.2572, allocations: 7.438 kB / 0.668 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.2572, allocations: 0 / 0.668 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.2877, allocations: 0.9479 MB / 0.6689 GB, free: 420 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.04, allocations: 7.375 kB / 0.669 GB, free: 416 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)