Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="IBPSA_latest_IBPSA_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.001165/0.001165, allocations: 102.7 kB / 16.27 MB, free: 5.957 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.00117/0.00117, allocations: 190 kB / 17.19 MB, free: 5.594 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.293/1.293, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7445/0.7445, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.91 kB / 0.4912 GB, free: 7.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3433, allocations: 77.92 MB / 0.5673 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002254/0.3456, allocations: 1.275 MB / 0.5686 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006193/0.3463, allocations: 448.6 kB / 0.569 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.3463, allocations: 0 / 0.569 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.705e-05/0.3464, allocations: 1.25 kB / 0.569 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.53e-05/0.3464, allocations: 11.56 kB / 0.569 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.3467, allocations: 36.44 kB / 0.569 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.648e-05/0.3468, allocations: 23.03 kB / 0.5691 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.3468, allocations: 2.641 kB / 0.5691 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.826e-05/0.3468, allocations: 17.09 kB / 0.5691 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.983e-05/0.3469, allocations: 7.641 kB / 0.5691 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.3469, allocations: 3.938 kB / 0.5691 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.347, allocations: 44.2 kB / 0.5691 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.246e-05/0.3471, allocations: 17.11 kB / 0.5691 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.3471, allocations: 16.56 kB / 0.5692 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.3473, allocations: 53.95 kB / 0.5692 GB, free: 31.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3473, allocations: 0.8438 kB / 0.5692 GB, free: 31.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3473, allocations: 0.9688 kB / 0.5692 GB, free: 31.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.3473, allocations: 0 / 0.5692 GB, free: 31.31 MB / 446.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.0002762/0.3476, allocations: 353.1 kB / 0.5696 GB, free: 30.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3476, allocations: 11.69 kB / 0.5696 GB, free: 30.94 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.704e-05/0.3476, allocations: 39.84 kB / 0.5696 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.23e-05/0.3477, allocations: 3.531 kB / 0.5696 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.3478, allocations: 166.8 kB / 0.5698 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.3478, allocations: 1.375 kB / 0.5698 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.3478, allocations: 1.469 kB / 0.5698 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.794e-05/0.3479, allocations: 55.98 kB / 0.5698 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.3479, allocations: 0.6562 kB / 0.5698 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.3479, allocations: 0.7969 kB / 0.5698 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3479, allocations: 1.625 kB / 0.5698 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.123e-05/0.348, allocations: 5.828 kB / 0.5698 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.3481, allocations: 179.7 kB / 0.57 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.061e-05/0.3481, allocations: 38.02 kB / 0.57 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.258e-05/0.3482, allocations: 22.58 kB / 0.5701 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.3482, allocations: 1.344 kB / 0.5701 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.3482, allocations: 41.48 kB / 0.5701 GB, free: 30.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3482, allocations: 1.25 kB / 0.5701 GB, free: 30.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001257/0.3484, allocations: 49.83 kB / 0.5701 GB, free: 30.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.3484, allocations: 79.3 kB / 0.5702 GB, free: 30.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.199e-05/0.3485, allocations: 136.9 kB / 0.5704 GB, free: 30.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.3485, allocations: 26.92 kB / 0.5704 GB, free: 30.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.742e-05/0.3485, allocations: 95.91 kB / 0.5705 GB, free: 29.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.3486, allocations: 5.719 kB / 0.5705 GB, free: 29.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.3486, allocations: 27.25 kB / 0.5705 GB, free: 29.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.722e-05/0.3486, allocations: 319.1 kB / 0.5708 GB, free: 29.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.241e-05/0.3487, allocations: 23.69 kB / 0.5708 GB, free: 29.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.217e-05/0.3487, allocations: 26.8 kB / 0.5709 GB, free: 29.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.907e-05/0.3488, allocations: 46.42 kB / 0.5709 GB, free: 29.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3488, allocations: 0.5 kB / 0.5709 GB, free: 29.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001156/0.3489, allocations: 102.9 kB / 0.571 GB, free: 29.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.3489, allocations: 5.281 kB / 0.571 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.349, allocations: 1.031 kB / 0.571 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.349, allocations: 1.156 kB / 0.571 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.664e-05/0.349, allocations: 8.25 kB / 0.571 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.349, allocations: 1.031 kB / 0.571 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.849e-05/0.3491, allocations: 8.656 kB / 0.571 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.3491, allocations: 10.17 kB / 0.571 GB, free: 29.5 MB / 446.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.886e-05/0.3492, allocations: 119.9 kB / 0.5711 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.3492, allocations: 9.906 kB / 0.5712 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.738e-05/0.3492, allocations: 4.281 kB / 0.5712 GB, free: 29.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3492, allocations: 1.094 kB / 0.5712 GB, free: 29.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3492, allocations: 2.344 kB / 0.5712 GB, free: 29.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3492, allocations: 1.719 kB / 0.5712 GB, free: 29.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.475e-05/0.3493, allocations: 163.5 kB / 0.5713 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3493, allocations: 2.031 kB / 0.5713 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.7e-05/0.3493, allocations: 7.469 kB / 0.5713 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3493, allocations: 5 kB / 0.5713 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.3493, allocations: 5.094 kB / 0.5713 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3493, allocations: 0 / 0.5713 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3494, allocations: 2.594 kB / 0.5713 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.438e-05/0.3494, allocations: 77.56 kB / 0.5714 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.3494, allocations: 83.7 kB / 0.5715 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.3495, allocations: 3.547 kB / 0.5715 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.652e-05/0.3495, allocations: 0 / 0.5715 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.3495, allocations: 1.969 kB / 0.5715 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.3495, allocations: 6.844 kB / 0.5715 GB, free: 28.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.475e-05/0.3496, allocations: 99.7 kB / 0.5716 GB, free: 28.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3496, allocations: 0 / 0.5716 GB, free: 28.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002155/0.3498, allocations: 20.36 kB / 0.5716 GB, free: 28.9 MB / 446.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.0002949/0.3501, allocations: 0.6307 MB / 0.5722 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.3503, allocations: 84.31 kB / 0.5723 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3503, allocations: 0.9375 kB / 0.5723 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.584e-05/0.3503, allocations: 5.547 kB / 0.5723 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.3504, allocations: 6.641 kB / 0.5723 GB, free: 28.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.3515, allocations: 1.316 MB / 0.5736 GB, free: 27.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.3516, allocations: 0.6854 MB / 0.5743 GB, free: 26.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.84e-05/0.3516, allocations: 0.875 kB / 0.5743 GB, free: 26.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.3517, allocations: 15.47 kB / 0.5743 GB, free: 26.36 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3517, allocations: 3.938 kB / 0.5743 GB, free: 26.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.3692, allocations: 1.679 MB / 0.5759 GB, free: 26.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.94/7.309, allocations: 8.906 kB / 0.576 GB, free: 26.04 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)