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.001279/0.001279, allocations: 104.5 kB / 15.98 MB, free: 6.344 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.001283/0.001283, allocations: 194.6 kB / 16.91 MB, free: 6.188 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.28/1.28, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6872/0.6872, allocations: 115.3 MB / 406.1 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 63.91 kB / 493.2 MB, free: 0.5977 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3689, allocations: 76.18 MB / 0.5561 GB, free: 36.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002681/0.3717, allocations: 1.333 MB / 0.5574 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007924/0.3725, allocations: 440.5 kB / 0.5578 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.135e-05/0.3725, allocations: 6.688 kB / 0.5578 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.739e-05/0.3727, allocations: 0.7969 kB / 0.5578 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.676e-05/0.3727, allocations: 3.109 kB / 0.5578 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.373, allocations: 34.52 kB / 0.5578 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.226e-05/0.3731, allocations: 26.77 kB / 0.5579 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.26e-05/0.3731, allocations: 8.078 kB / 0.5579 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.088e-05/0.3732, allocations: 7.906 kB / 0.5579 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.704e-05/0.3733, allocations: 17 kB / 0.5579 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.3733, allocations: 0 / 0.5579 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.3734, allocations: 44.25 kB / 0.5579 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.071e-05/0.3735, allocations: 13.12 kB / 0.5579 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.3735, allocations: 19.84 kB / 0.558 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.3737, allocations: 56.97 kB / 0.558 GB, free: 35.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3737, allocations: 0 / 0.558 GB, free: 35.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.3737, allocations: 1.25 kB / 0.558 GB, free: 35.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.3737, allocations: 0 / 0.558 GB, free: 35.15 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.0003804/0.3741, allocations: 348.1 kB / 0.5584 GB, free: 34.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.3741, allocations: 15.03 kB / 0.5584 GB, free: 34.78 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.581e-05/0.3742, allocations: 31.55 kB / 0.5584 GB, free: 34.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.502e-05/0.3742, allocations: 7.75 kB / 0.5584 GB, free: 34.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.3743, allocations: 171.4 kB / 0.5586 GB, free: 34.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.3744, allocations: 5.078 kB / 0.5586 GB, free: 34.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.3744, allocations: 1.625 kB / 0.5586 GB, free: 34.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.3745, allocations: 54.89 kB / 0.5586 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3745, allocations: 1.438 kB / 0.5586 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.3745, allocations: 0 / 0.5586 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3745, allocations: 4.234 kB / 0.5586 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.222e-05/0.3745, allocations: 7.469 kB / 0.5586 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.3747, allocations: 178.9 kB / 0.5588 GB, free: 34.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.435e-05/0.3748, allocations: 39.23 kB / 0.5588 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.591e-05/0.3748, allocations: 21.14 kB / 0.5589 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.3748, allocations: 1.062 kB / 0.5589 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.3748, allocations: 38.88 kB / 0.5589 GB, free: 34.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3749, allocations: 0 / 0.5589 GB, free: 34.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001497/0.375, allocations: 53.09 kB / 0.559 GB, free: 34.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.375, allocations: 79.17 kB / 0.559 GB, free: 34.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.3752, allocations: 140.2 kB / 0.5592 GB, free: 33.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.3752, allocations: 29.64 kB / 0.5592 GB, free: 33.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/0.3752, allocations: 85.27 kB / 0.5593 GB, free: 33.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.3752, allocations: 9.125 kB / 0.5593 GB, free: 33.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.3753, allocations: 30.03 kB / 0.5593 GB, free: 33.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.617e-05/0.3754, allocations: 316.4 kB / 0.5596 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.486e-05/0.3754, allocations: 28.56 kB / 0.5596 GB, free: 33.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.278e-05/0.3754, allocations: 21.45 kB / 0.5597 GB, free: 33.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.44e-05/0.3755, allocations: 48.39 kB / 0.5597 GB, free: 33.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3755, allocations: 0 / 0.5597 GB, free: 33.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001302/0.3757, allocations: 102 kB / 0.5598 GB, free: 33.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3757, allocations: 5.984 kB / 0.5598 GB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.3757, allocations: 1.281 kB / 0.5598 GB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3757, allocations: 3.938 kB / 0.5598 GB, free: 33.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.006e-05/0.3758, allocations: 2.656 kB / 0.5598 GB, free: 33.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3758, allocations: 2.188 kB / 0.5598 GB, free: 33.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/0.3758, allocations: 13.28 kB / 0.5598 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.3758, allocations: 1.906 kB / 0.5598 GB, free: 33.34 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 7.441e-05/0.3759, allocations: 120 kB / 0.5599 GB, free: 33.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.3759, allocations: 5.188 kB / 0.56 GB, free: 33.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.388e-05/0.376, allocations: 5.172 kB / 0.56 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.376, allocations: 2.625 kB / 0.56 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.376, allocations: 1.5 kB / 0.56 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.376, allocations: 0 / 0.56 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.747e-05/0.3761, allocations: 167.4 kB / 0.5601 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3761, allocations: 1.406 kB / 0.5601 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.878e-05/0.3761, allocations: 7.375 kB / 0.5601 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.3761, allocations: 1 kB / 0.5601 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.3761, allocations: 1.531 kB / 0.5601 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3762, allocations: 1.188 kB / 0.5601 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3762, allocations: 0.9062 kB / 0.5601 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.112e-05/0.3762, allocations: 75.75 kB / 0.5602 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/0.3763, allocations: 88.42 kB / 0.5603 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.3763, allocations: 5.156 kB / 0.5603 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.782e-05/0.3763, allocations: 2.047 kB / 0.5603 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.3763, allocations: 1.922 kB / 0.5603 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.3763, allocations: 2.406 kB / 0.5603 GB, free: 32.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5e-05/0.3764, allocations: 106.4 kB / 0.5604 GB, free: 32.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3764, allocations: 0.625 kB / 0.5604 GB, free: 32.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002257/0.3766, allocations: 15.3 kB / 0.5604 GB, free: 32.75 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.0003607/0.377, allocations: 0.6239 MB / 0.561 GB, free: 32.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.3772, allocations: 91 kB / 0.5611 GB, free: 32.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3772, allocations: 1.094 kB / 0.5611 GB, free: 32.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.541e-05/0.3772, allocations: 11.02 kB / 0.5611 GB, free: 32.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.3774, allocations: 8.547 kB / 0.5611 GB, free: 32.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.3784, allocations: 1.32 MB / 0.5624 GB, free: 30.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.3786, allocations: 0.6857 MB / 0.5631 GB, free: 30.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.135e-05/0.3786, allocations: 1.938 kB / 0.5631 GB, free: 30.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.3786, allocations: 17.38 kB / 0.5631 GB, free: 30.19 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3786, allocations: 0.5625 kB / 0.5631 GB, free: 30.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01332/0.392, allocations: 1.592 MB / 0.5647 GB, free: 30.02 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/0.3923, allocations: 270.7 kB / 0.5649 GB, free: 29.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/2.122, allocations: 1 kB / 0.5649 GB, free: 29.66 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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)