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.001322/0.001322, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001674/0.001674, allocations: 188.7 kB / 16.13 MB, free: 6.66 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.286/1.286, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001979/0.001979, allocations: 290.3 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8851/0.8851, allocations: 169.2 MB / 0.4977 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 93.95 kB / 0.5946 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1528, allocations: 86.98 MB / 0.6796 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002118/0.1549, allocations: 1.301 MB / 0.6809 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.1562, allocations: 0.9161 MB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.349e-05/0.1563, allocations: 0 / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.1563, allocations: 3.984 kB / 0.6818 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.1564, allocations: 27.95 kB / 0.6818 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005389/0.157, allocations: 194.4 kB / 0.682 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.593e-05/0.157, allocations: 39.94 kB / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.209e-05/0.1571, allocations: 4 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.743e-05/0.1571, allocations: 11.98 kB / 0.682 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.1572, allocations: 55.94 kB / 0.6821 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.766e-06/0.1572, allocations: 0 / 0.6821 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003627/0.1576, allocations: 275.6 kB / 0.6823 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.648e-05/0.1577, allocations: 19.91 kB / 0.6824 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.1577, allocations: 23.8 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.158, allocations: 243.7 kB / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.158, allocations: 0 / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.158, allocations: 0 / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.158, allocations: 0 / 0.6826 GB, free: 13.98 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.0003457/0.1584, allocations: 391.3 kB / 0.683 GB, free: 13.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1584, allocations: 12.03 kB / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.731e-05/0.1584, allocations: 34.73 kB / 0.683 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.48e-05/0.1585, allocations: 12.84 kB / 0.683 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.1586, allocations: 168.3 kB / 0.6832 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.655e-06/0.1586, allocations: 384 / 0.6832 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-06/0.1586, allocations: 384 / 0.6832 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.792e-05/0.1587, allocations: 65.69 kB / 0.6833 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.1587, allocations: 3.984 kB / 0.6833 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-06/0.1587, allocations: 4 kB / 0.6833 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/0.1587, allocations: 15.98 kB / 0.6833 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.974e-05/0.1588, allocations: 27.98 kB / 0.6833 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.159, allocations: 169.6 kB / 0.6835 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.267e-05/0.159, allocations: 50.56 kB / 0.6835 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/0.1591, allocations: 41 kB / 0.6836 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.39e-06/0.1591, allocations: 4 kB / 0.6836 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.1591, allocations: 34.5 kB / 0.6836 GB, free: 12.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.1591, allocations: 4 kB / 0.6836 GB, free: 12.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0001772/0.1593, allocations: 133.5 kB / 0.6837 GB, free: 12.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.1593, allocations: 51.41 kB / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.243e-05/0.1594, allocations: 129.8 kB / 0.6839 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.1594, allocations: 29.64 kB / 0.6839 GB, free: 12.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.1595, allocations: 88.14 kB / 0.684 GB, free: 12.33 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.1595, allocations: 39.44 kB / 0.6841 GB, free: 12.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.1596, allocations: 13.72 kB / 0.6841 GB, free: 12.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1597, allocations: 326.9 kB / 0.6844 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.825e-05/0.1597, allocations: 27.98 kB / 0.6844 GB, free: 11.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.32e-05/0.1597, allocations: 24 kB / 0.6844 GB, free: 11.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.289e-05/0.1598, allocations: 73.2 kB / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1598, allocations: 0 / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001045/0.1599, allocations: 105.4 kB / 0.6846 GB, free: 11.71 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.1599, allocations: 4 kB / 0.6846 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1599, allocations: 0 / 0.6846 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.116e-06/0.1599, allocations: 0 / 0.6846 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.954e-06/0.16, allocations: 12.05 kB / 0.6846 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.16, allocations: 0 / 0.6846 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.394e-05/0.16, allocations: 0 / 0.6846 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.16, allocations: 0 / 0.6846 GB, free: 11.69 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 6.869e-05/0.1601, allocations: 126.5 kB / 0.6847 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.1601, allocations: 11.84 kB / 0.6847 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.068e-05/0.1601, allocations: 4.375 kB / 0.6847 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.658e-05/0.1601, allocations: 15.98 kB / 0.6848 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1601, allocations: 3.938 kB / 0.6848 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.1601, allocations: 4 kB / 0.6848 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.1603, allocations: 169.6 kB / 0.6849 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1603, allocations: 3.984 kB / 0.6849 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.633e-06/0.1603, allocations: 3.938 kB / 0.6849 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.1603, allocations: 0 / 0.6849 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.1603, allocations: 4 kB / 0.6849 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.1603, allocations: 0 / 0.6849 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1603, allocations: 4 kB / 0.6849 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.1604, allocations: 125 kB / 0.6851 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.1605, allocations: 92.98 kB / 0.6852 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.1605, allocations: 0 / 0.6852 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.061e-05/0.1605, allocations: 0 / 0.6852 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.204e-05/0.1605, allocations: 3.984 kB / 0.6852 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.1605, allocations: 4 kB / 0.6852 GB, free: 11.03 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.186e-05/0.1606, allocations: 107.6 kB / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1606, allocations: 0 / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.1609, allocations: 71.98 kB / 0.6853 GB, free: 10.86 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.0005366/0.1614, allocations: 0.741 MB / 0.6861 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.949e-05/0.1615, allocations: 67.97 kB / 0.6861 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1615, allocations: 0 / 0.6861 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.121e-05/0.1616, allocations: 35.98 kB / 0.6862 GB, free: 9.984 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.1617, allocations: 4 kB / 0.6862 GB, free: 9.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004465/0.1621, allocations: 278.8 kB / 0.6864 GB, free: 9.668 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.1624, allocations: 0.6926 MB / 0.6871 GB, free: 8.949 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.646e-05/0.1624, allocations: 13.95 kB / 0.6871 GB, free: 8.938 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.1625, allocations: 15.44 kB / 0.6871 GB, free: 8.922 MB / 494.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1625, allocations: 0 / 0.6871 GB, free: 8.922 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01067/0.1732, allocations: 2.702 MB / 0.6898 GB, free: 6.438 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/0.1734, allocations: 295.5 kB / 0.6901 GB, free: 6.062 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/1.826, allocations: 6.875 kB / 0.6901 GB, free: 6.059 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)