Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",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.006841/0.006841, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001125/0.001124, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 290.7 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8929/0.8929, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 95.86 kB / 0.681 GB, free: 7.441 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3591, allocations: 86.98 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002018/0.3611, allocations: 1.24 MB / 0.7672 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.3624, allocations: 0.8831 MB / 0.768 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.03e-05/0.3624, allocations: 0 / 0.768 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.502e-05/0.3625, allocations: 4 kB / 0.768 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.539e-05/0.3626, allocations: 27.95 kB / 0.7681 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006893/0.3633, allocations: 253.3 kB / 0.7683 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.843e-05/0.3633, allocations: 31.91 kB / 0.7683 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.333e-05/0.3634, allocations: 0 / 0.7683 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.625e-05/0.3634, allocations: 19.97 kB / 0.7683 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.3636, allocations: 47.94 kB / 0.7684 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.3636, allocations: 0 / 0.7684 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003777/0.3639, allocations: 283.6 kB / 0.7687 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.744e-05/0.364, allocations: 23.92 kB / 0.7687 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.364, allocations: 15.86 kB / 0.7687 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.3643, allocations: 240.4 kB / 0.7689 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3643, allocations: 0 / 0.7689 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3643, allocations: 0 / 0.7689 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.3643, allocations: 0 / 0.7689 GB, free: 0.7969 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003445/0.3647, allocations: 394.8 kB / 0.7693 GB, free: 372 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.3647, allocations: 12.03 kB / 0.7693 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.959e-05/0.3648, allocations: 30.75 kB / 0.7693 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.313e-05/0.3648, allocations: 12.83 kB / 0.7694 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.3649, allocations: 180.3 kB / 0.7695 GB, free: 88 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.3649, allocations: 384 / 0.7695 GB, free: 88 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-06/0.365, allocations: 384 / 0.7695 GB, free: 88 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.3651, allocations: 65.75 kB / 0.7696 GB, free: 16 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.3651, allocations: 0 / 0.7696 GB, free: 16 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-06/0.3651, allocations: 0 / 0.7696 GB, free: 16 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/0.3651, allocations: 11.98 kB / 0.7696 GB, free: 4 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.574e-05/0.3652, allocations: 24.05 kB / 0.7696 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.3654, allocations: 173.6 kB / 0.7698 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.667e-05/0.3654, allocations: 54.75 kB / 0.7698 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.3655, allocations: 44.81 kB / 0.7699 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-06/0.3655, allocations: 0 / 0.7699 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.3655, allocations: 34.5 kB / 0.7699 GB, free: 15.61 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.3655, allocations: 0 / 0.7699 GB, free: 15.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0001846/0.3657, allocations: 129.8 kB / 0.77 GB, free: 15.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.3657, allocations: 55.39 kB / 0.7701 GB, free: 15.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.039e-05/0.3658, allocations: 133.9 kB / 0.7702 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.3658, allocations: 29.64 kB / 0.7703 GB, free: 15.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.3659, allocations: 88.12 kB / 0.7703 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.3659, allocations: 35.69 kB / 0.7704 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.366, allocations: 17.7 kB / 0.7704 GB, free: 15.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.133e-05/0.366, allocations: 318.8 kB / 0.7707 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.779e-05/0.3661, allocations: 27.98 kB / 0.7707 GB, free: 14.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.632e-05/0.3661, allocations: 31.98 kB / 0.7707 GB, free: 14.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.479e-05/0.3662, allocations: 72.86 kB / 0.7708 GB, free: 14.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.3662, allocations: 3.938 kB / 0.7708 GB, free: 14.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.779e-05/0.3663, allocations: 97.56 kB / 0.7709 GB, free: 14.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.3663, allocations: 4 kB / 0.7709 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3663, allocations: 4 kB / 0.7709 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.3663, allocations: 3.938 kB / 0.7709 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.3663, allocations: 0 / 0.7709 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.3664, allocations: 0 / 0.7709 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.729e-05/0.3664, allocations: 3.938 kB / 0.7709 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.3664, allocations: 4 kB / 0.7709 GB, free: 14.51 MB / 0.545 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 6.242e-05/0.3665, allocations: 121.9 kB / 0.771 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.3665, allocations: 15.89 kB / 0.7711 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.395e-05/0.3665, allocations: 12.3 kB / 0.7711 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.3665, allocations: 12 kB / 0.7711 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3665, allocations: 0 / 0.7711 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3665, allocations: 0 / 0.7711 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.3667, allocations: 173.6 kB / 0.7713 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3667, allocations: 96 / 0.7713 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.553e-06/0.3667, allocations: 7.875 kB / 0.7713 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3667, allocations: 11.98 kB / 0.7713 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.3667, allocations: 0 / 0.7713 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.3667, allocations: 0 / 0.7713 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3667, allocations: 0 / 0.7713 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.3668, allocations: 129 kB / 0.7714 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-05/0.3669, allocations: 92.94 kB / 0.7715 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.3669, allocations: 0 / 0.7715 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.123e-05/0.3669, allocations: 0 / 0.7715 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.3669, allocations: 8.031 kB / 0.7715 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.3669, allocations: 4 kB / 0.7715 GB, free: 13.83 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.039e-05/0.367, allocations: 103.2 kB / 0.7716 GB, free: 13.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.367, allocations: 0 / 0.7716 GB, free: 13.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002706/0.3673, allocations: 67.88 kB / 0.7717 GB, free: 13.66 MB / 0.545 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0005189/0.3678, allocations: 0.7418 MB / 0.7724 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.3679, allocations: 67.92 kB / 0.7724 GB, free: 12.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3679, allocations: 0 / 0.7724 GB, free: 12.83 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.096e-05/0.3679, allocations: 35.98 kB / 0.7725 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.3681, allocations: 4 kB / 0.7725 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/0.3685, allocations: 259.6 kB / 0.7727 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.3687, allocations: 0.6962 MB / 0.7734 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.276e-05/0.3688, allocations: 11.36 kB / 0.7734 GB, free: 11.76 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.3688, allocations: 25.59 kB / 0.7734 GB, free: 11.74 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.3688, allocations: 0 / 0.7734 GB, free: 11.74 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/0.3868, allocations: 2.849 MB / 0.7762 GB, free: 9.109 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.184/7.571, allocations: 6.688 kB / 0.7762 GB, free: 9.105 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)