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.007275/0.007275, allocations: 100.9 kB / 15.73 MB, free: 5.992 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.001258/0.001258, allocations: 195.9 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 278.6 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9061/0.9061, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 104.3 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1526, allocations: 86.98 MB / 0.7659 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002402/0.155, allocations: 1.249 MB / 0.7672 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1565, allocations: 0.8817 MB / 0.768 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.759e-05/0.1566, allocations: 3.938 kB / 0.768 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/0.1567, allocations: 0 / 0.768 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.1568, allocations: 35.94 kB / 0.7681 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008248/0.1576, allocations: 247.4 kB / 0.7683 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.308e-05/0.1577, allocations: 27.97 kB / 0.7683 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.65e-05/0.1577, allocations: 0 / 0.7683 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.691e-05/0.1578, allocations: 19.92 kB / 0.7683 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.1579, allocations: 55.94 kB / 0.7684 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.158, allocations: 0 / 0.7684 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004279/0.1584, allocations: 283.5 kB / 0.7687 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.339e-05/0.1584, allocations: 15.92 kB / 0.7687 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.1585, allocations: 19.88 kB / 0.7687 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.1588, allocations: 239.5 kB / 0.7689 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1588, allocations: 0 / 0.7689 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.535e-06/0.1589, allocations: 7.922 kB / 0.7689 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.1589, allocations: 0 / 0.7689 GB, free: 5.816 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.0004247/0.1593, allocations: 395.1 kB / 0.7693 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1593, allocations: 8.031 kB / 0.7693 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.509e-05/0.1594, allocations: 34.75 kB / 0.7693 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.1594, allocations: 4.844 kB / 0.7693 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.1595, allocations: 176.2 kB / 0.7695 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1595, allocations: 4.375 kB / 0.7695 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-06/0.1596, allocations: 384 / 0.7695 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.1597, allocations: 61.8 kB / 0.7696 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1597, allocations: 3.984 kB / 0.7696 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.1597, allocations: 0 / 0.7696 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.334e-05/0.1597, allocations: 16 kB / 0.7696 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.963e-05/0.1598, allocations: 31.92 kB / 0.7696 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.16, allocations: 173.6 kB / 0.7698 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.416e-05/0.1601, allocations: 46.58 kB / 0.7698 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.462e-05/0.1601, allocations: 36.88 kB / 0.7699 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.1602, allocations: 0 / 0.7699 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.1602, allocations: 42.5 kB / 0.7699 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.1602, allocations: 4 kB / 0.7699 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0002133/0.1604, allocations: 129.7 kB / 0.77 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.1605, allocations: 51.41 kB / 0.7701 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.1606, allocations: 129.8 kB / 0.7702 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.1606, allocations: 25.7 kB / 0.7702 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.1607, allocations: 88.14 kB / 0.7703 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.1607, allocations: 31.55 kB / 0.7704 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.1607, allocations: 13.72 kB / 0.7704 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1609, allocations: 326.9 kB / 0.7707 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.057e-05/0.1609, allocations: 27.98 kB / 0.7707 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.1609, allocations: 32.16 kB / 0.7707 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.888e-05/0.161, allocations: 80.84 kB / 0.7708 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.161, allocations: 4 kB / 0.7708 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001035/0.1611, allocations: 97.47 kB / 0.7709 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1611, allocations: 7.984 kB / 0.7709 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.1611, allocations: 0 / 0.7709 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1612, allocations: 0 / 0.7709 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.1612, allocations: 4.062 kB / 0.7709 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1612, allocations: 4 kB / 0.7709 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.307e-05/0.1612, allocations: 3.906 kB / 0.7709 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1612, allocations: 0 / 0.7709 GB, free: 3.531 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 9.638e-05/0.1613, allocations: 126.5 kB / 0.771 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.1613, allocations: 3.938 kB / 0.7711 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.622e-05/0.1614, allocations: 8.375 kB / 0.7711 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.1614, allocations: 15.98 kB / 0.7711 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1614, allocations: 0 / 0.7711 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1614, allocations: 4 kB / 0.7711 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.1616, allocations: 177.5 kB / 0.7712 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1616, allocations: 0 / 0.7712 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-06/0.1616, allocations: 3.938 kB / 0.7713 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1616, allocations: 0 / 0.7713 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.1616, allocations: 0 / 0.7713 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1616, allocations: 4 kB / 0.7713 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1616, allocations: 0 / 0.7713 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.1618, allocations: 132.9 kB / 0.7714 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.1618, allocations: 92.98 kB / 0.7715 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1618, allocations: 3.984 kB / 0.7715 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.133e-05/0.1618, allocations: 0 / 0.7715 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-06/0.1619, allocations: 0 / 0.7715 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.1619, allocations: 4 kB / 0.7715 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001105/0.162, allocations: 99.27 kB / 0.7716 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.162, allocations: 0 / 0.7716 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003257/0.1623, allocations: 71.98 kB / 0.7716 GB, free: 2.703 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.0005929/0.1629, allocations: 0.7372 MB / 0.7724 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.163, allocations: 67.91 kB / 0.7724 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1631, allocations: 0 / 0.7724 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.341e-05/0.1631, allocations: 35.98 kB / 0.7725 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.1632, allocations: 9.688 kB / 0.7725 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.1638, allocations: 255.9 kB / 0.7727 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.164, allocations: 0.7002 MB / 0.7734 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.311e-05/0.1641, allocations: 0 / 0.7734 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.592e-05/0.1641, allocations: 27.42 kB / 0.7734 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.1641, allocations: 0 / 0.7734 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3104/0.4745, allocations: 2.84 MB / 0.7762 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.268/7.743, allocations: 5.875 kB / 0.7762 GB, free: 13.65 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 & /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)