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.005035/0.005035, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.001315/0.001315, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002411/0.002411, allocations: 298.9 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.139/1.139, allocations: 178.5 MB / 0.5074 GB, free: 12.63 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002585/0.002585, allocations: 91.84 kB / 0.6943 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3712, allocations: 89.13 MB / 0.7814 GB, free: 1.184 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001818/0.373, allocations: 1.242 MB / 0.7826 GB, free: 216 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.3744, allocations: 0.885 MB / 0.7835 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.208e-05/0.3745, allocations: 1.25 kB / 0.7835 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.916e-05/0.3745, allocations: 0 / 0.7835 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.3746, allocations: 35.47 kB / 0.7835 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007414/0.3754, allocations: 249 kB / 0.7837 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.674e-05/0.3754, allocations: 25.09 kB / 0.7838 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.548e-05/0.3755, allocations: 1.406 kB / 0.7838 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.305e-05/0.3755, allocations: 18.38 kB / 0.7838 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.3757, allocations: 51.31 kB / 0.7838 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.849e-06/0.3757, allocations: 0 / 0.7838 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000438/0.3761, allocations: 285.4 kB / 0.7841 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.99e-05/0.3762, allocations: 20.73 kB / 0.7841 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.3762, allocations: 17.12 kB / 0.7841 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.3766, allocations: 245.1 kB / 0.7844 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3766, allocations: 0 / 0.7844 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3766, allocations: 0 / 0.7844 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3766, allocations: 1.438 kB / 0.7844 GB, free: 15.01 MB / 0.5606 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.0004213/0.377, allocations: 391.8 kB / 0.7847 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.377, allocations: 10.28 kB / 0.7847 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.411e-05/0.3771, allocations: 34.69 kB / 0.7848 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.272e-05/0.3771, allocations: 7.391 kB / 0.7848 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.3773, allocations: 179.9 kB / 0.785 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.3773, allocations: 5.797 kB / 0.785 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-06/0.3773, allocations: 384 / 0.785 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.3774, allocations: 64.72 kB / 0.785 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3774, allocations: 0 / 0.785 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.3774, allocations: 0 / 0.785 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.3775, allocations: 9.406 kB / 0.785 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.61e-05/0.3775, allocations: 29.33 kB / 0.7851 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002044/0.3777, allocations: 170.2 kB / 0.7852 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.635e-05/0.3778, allocations: 57.19 kB / 0.7853 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.039e-05/0.3778, allocations: 38.41 kB / 0.7853 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.3778, allocations: 1 kB / 0.7853 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.3779, allocations: 39.44 kB / 0.7854 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.3779, allocations: 0 / 0.7854 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0002004/0.3781, allocations: 130.5 kB / 0.7855 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.3781, allocations: 52.5 kB / 0.7855 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.3783, allocations: 134.9 kB / 0.7857 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.3783, allocations: 25.98 kB / 0.7857 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.3783, allocations: 86.42 kB / 0.7858 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.3784, allocations: 35.09 kB / 0.7858 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.3784, allocations: 22.77 kB / 0.7858 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3785, allocations: 317.8 kB / 0.7861 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.258e-05/0.3786, allocations: 28.3 kB / 0.7861 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.546e-05/0.3786, allocations: 29.11 kB / 0.7862 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.157e-05/0.3787, allocations: 77.83 kB / 0.7863 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3787, allocations: 1.469 kB / 0.7863 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001122/0.3788, allocations: 97.34 kB / 0.7863 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3788, allocations: 4.688 kB / 0.7863 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3789, allocations: 5.125 kB / 0.7864 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.3789, allocations: 0 / 0.7864 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.3789, allocations: 1.188 kB / 0.7864 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.3789, allocations: 0 / 0.7864 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.11e-05/0.3789, allocations: 13.14 kB / 0.7864 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.3789, allocations: 6.484 kB / 0.7864 GB, free: 13.14 MB / 0.5606 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 8.695e-05/0.379, allocations: 131.6 kB / 0.7865 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.379, allocations: 6.5 kB / 0.7865 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.282e-05/0.379, allocations: 6.875 kB / 0.7865 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.3791, allocations: 14.14 kB / 0.7865 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3791, allocations: 0 / 0.7865 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.3791, allocations: 0 / 0.7865 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.3792, allocations: 173.8 kB / 0.7867 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3793, allocations: 1.188 kB / 0.7867 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.575e-06/0.3793, allocations: 3.938 kB / 0.7867 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.3793, allocations: 4 kB / 0.7867 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.3793, allocations: 1.406 kB / 0.7867 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.3793, allocations: 3.938 kB / 0.7867 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3793, allocations: 1.156 kB / 0.7867 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.3794, allocations: 127.2 kB / 0.7868 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.3795, allocations: 91.17 kB / 0.7869 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.3795, allocations: 0 / 0.7869 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.273e-05/0.3795, allocations: 5.172 kB / 0.7869 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.928e-06/0.3795, allocations: 5.125 kB / 0.7869 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.3795, allocations: 2.344 kB / 0.7869 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.669e-05/0.3796, allocations: 103.9 kB / 0.787 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3796, allocations: 0 / 0.787 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002971/0.3799, allocations: 73.61 kB / 0.7871 GB, free: 12.47 MB / 0.5606 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.0006383/0.3806, allocations: 0.7472 MB / 0.7878 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001093/0.3807, allocations: 59.11 kB / 0.7879 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3807, allocations: 1.062 kB / 0.7879 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.587e-05/0.3807, allocations: 35.83 kB / 0.7879 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.3809, allocations: 4.906 kB / 0.7879 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.3814, allocations: 253.6 kB / 0.7882 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.3817, allocations: 0.6976 MB / 0.7888 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.3817, allocations: 7.703 kB / 0.7889 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.3818, allocations: 17.91 kB / 0.7889 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.3818, allocations: 0 / 0.7889 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.4046, allocations: 2.859 MB / 0.7917 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/8.116, allocations: 7.5 kB / 0.7917 GB, free: 9.434 MB / 0.5606 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)