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.001221/0.001221, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001327/0.001327, allocations: 192 kB / 16.25 MB, free: 6.629 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.299/1.299, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001959/0.001959, allocations: 282.8 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9192/0.9192, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002759/0.002759, allocations: 95.06 kB / 0.5948 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1482, allocations: 86.97 MB / 0.6798 GB, free: 0.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002255/0.1505, allocations: 1.311 MB / 0.681 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.1518, allocations: 0.8819 MB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.532e-05/0.1518, allocations: 0 / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.522e-05/0.1519, allocations: 7.984 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.935e-05/0.152, allocations: 31.95 kB / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007231/0.1527, allocations: 223.9 kB / 0.6822 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.946e-05/0.1528, allocations: 23.97 kB / 0.6822 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.561e-05/0.1529, allocations: 3.984 kB / 0.6822 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.039e-05/0.1529, allocations: 15.98 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.153, allocations: 59.88 kB / 0.6823 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.536e-06/0.153, allocations: 0 / 0.6823 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003764/0.1534, allocations: 279.6 kB / 0.6825 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.1535, allocations: 11.98 kB / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.1535, allocations: 19.81 kB / 0.6826 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.1538, allocations: 247.4 kB / 0.6828 GB, free: 13.81 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1538, allocations: 0 / 0.6828 GB, free: 13.81 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1538, allocations: 8 kB / 0.6828 GB, free: 13.8 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1539, allocations: 0 / 0.6828 GB, free: 13.8 MB / 494.1 MB 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.000363/0.1542, allocations: 379.2 kB / 0.6832 GB, free: 13.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1543, allocations: 8.031 kB / 0.6832 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.629e-05/0.1543, allocations: 38.75 kB / 0.6832 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.232e-05/0.1543, allocations: 4.844 kB / 0.6832 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.1544, allocations: 176.2 kB / 0.6834 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.1545, allocations: 384 / 0.6834 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.1545, allocations: 4.375 kB / 0.6834 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.1546, allocations: 65.75 kB / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1546, allocations: 0 / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.1546, allocations: 0 / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/0.1546, allocations: 15.94 kB / 0.6835 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.323e-05/0.1547, allocations: 27.98 kB / 0.6835 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002005/0.1549, allocations: 169.7 kB / 0.6836 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.294e-05/0.155, allocations: 54.59 kB / 0.6837 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.327e-05/0.155, allocations: 32.89 kB / 0.6837 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.455e-06/0.155, allocations: 7.984 kB / 0.6837 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.155, allocations: 38.5 kB / 0.6838 GB, free: 12.63 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 2.335e-06/0.1551, allocations: 0 / 0.6838 GB, free: 12.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0001839/0.1552, allocations: 137.5 kB / 0.6839 GB, free: 12.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.1553, allocations: 51.41 kB / 0.684 GB, free: 12.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.495e-05/0.1554, allocations: 129.8 kB / 0.6841 GB, free: 12.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.1554, allocations: 25.7 kB / 0.6841 GB, free: 12.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.1554, allocations: 88.14 kB / 0.6842 GB, free: 12.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.1555, allocations: 39.48 kB / 0.6842 GB, free: 12.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.1555, allocations: 17.7 kB / 0.6842 GB, free: 12.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1556, allocations: 318.8 kB / 0.6845 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.93e-05/0.1557, allocations: 27.98 kB / 0.6846 GB, free: 11.76 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.607e-05/0.1557, allocations: 27.98 kB / 0.6846 GB, free: 11.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.413e-05/0.1558, allocations: 72.77 kB / 0.6847 GB, free: 11.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1558, allocations: 4 kB / 0.6847 GB, free: 11.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001035/0.1559, allocations: 101.8 kB / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1559, allocations: 8.062 kB / 0.6848 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1559, allocations: 0 / 0.6848 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.1559, allocations: 0 / 0.6848 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-07/0.1559, allocations: 0 / 0.6848 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1559, allocations: 0 / 0.6848 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.639e-05/0.156, allocations: 4 kB / 0.6848 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.156, allocations: 0 / 0.6848 GB, free: 11.54 MB / 494.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 (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 7.083e-05/0.156, allocations: 126.4 kB / 0.6849 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.1561, allocations: 7.844 kB / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.538e-05/0.1561, allocations: 16.38 kB / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.1561, allocations: 11.98 kB / 0.6849 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.1561, allocations: 4 kB / 0.6849 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.1561, allocations: 0 / 0.6849 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.1562, allocations: 173.6 kB / 0.6851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.1563, allocations: 4 kB / 0.6851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.754e-06/0.1563, allocations: 3.938 kB / 0.6851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1563, allocations: 0 / 0.6851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.1563, allocations: 0 / 0.6851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.1563, allocations: 0 / 0.6851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1563, allocations: 4 kB / 0.6851 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.1564, allocations: 128.9 kB / 0.6852 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.1565, allocations: 96.92 kB / 0.6853 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.1565, allocations: 3.984 kB / 0.6853 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.379e-05/0.1565, allocations: 0 / 0.6853 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.1565, allocations: 4 kB / 0.6853 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.1565, allocations: 4 kB / 0.6853 GB, free: 10.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.268e-05/0.1566, allocations: 103.6 kB / 0.6854 GB, free: 10.76 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1566, allocations: 0 / 0.6854 GB, free: 10.76 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.1569, allocations: 72.02 kB / 0.6855 GB, free: 10.69 MB / 494.1 MB 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.0005447/0.1574, allocations: 0.741 MB / 0.6862 GB, free: 9.922 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.1575, allocations: 63.98 kB / 0.6863 GB, free: 9.859 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1575, allocations: 0 / 0.6863 GB, free: 9.859 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.166e-05/0.1576, allocations: 40.08 kB / 0.6863 GB, free: 9.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.1577, allocations: 0 / 0.6863 GB, free: 9.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004544/0.1582, allocations: 279.8 kB / 0.6866 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.1584, allocations: 0.6924 MB / 0.6873 GB, free: 8.785 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.608e-05/0.1585, allocations: 8.062 kB / 0.6873 GB, free: 8.777 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.1585, allocations: 11.44 kB / 0.6873 GB, free: 8.766 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1585, allocations: 4 kB / 0.6873 GB, free: 8.762 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01154/0.1701, allocations: 2.747 MB / 0.69 GB, free: 6.258 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/0.1703, allocations: 296.8 kB / 0.6903 GB, free: 5.879 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/1.895, allocations: 0 / 0.6903 GB, free: 5.879 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)