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.001517/0.001517, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 197 kB / 16.64 MB, free: 6.438 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.34/1.34, allocations: 222.9 MB / 240.3 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002211/0.002211, allocations: 282.8 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.914/0.914, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 107.5 kB / 0.5956 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1508, allocations: 86.97 MB / 0.6805 GB, free: 460 kB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002579/0.1534, allocations: 1.237 MB / 0.6817 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.1549, allocations: 0.8852 MB / 0.6826 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.155, allocations: 0 / 0.6826 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.155, allocations: 0 / 0.6826 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.1551, allocations: 31.89 kB / 0.6826 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008445/0.156, allocations: 243.7 kB / 0.6828 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.341e-05/0.1561, allocations: 27.95 kB / 0.6829 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.1561, allocations: 0 / 0.6829 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.733e-05/0.1562, allocations: 15.98 kB / 0.6829 GB, free: 14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.1563, allocations: 55.81 kB / 0.6829 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.1564, allocations: 0 / 0.6829 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004411/0.1568, allocations: 283.6 kB / 0.6832 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.1569, allocations: 19.98 kB / 0.6832 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.1569, allocations: 19.81 kB / 0.6832 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.1572, allocations: 239.4 kB / 0.6835 GB, free: 13.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1572, allocations: 0 / 0.6835 GB, free: 13.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1573, allocations: 0 / 0.6835 GB, free: 13.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1573, allocations: 0 / 0.6835 GB, free: 13.39 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.0004113/0.1577, allocations: 387.2 kB / 0.6838 GB, free: 12.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1577, allocations: 12.02 kB / 0.6838 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.369e-05/0.1578, allocations: 30.75 kB / 0.6839 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.1578, allocations: 12.84 kB / 0.6839 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.1579, allocations: 176.2 kB / 0.6841 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.158, allocations: 384 / 0.6841 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.158, allocations: 384 / 0.6841 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.1581, allocations: 69.73 kB / 0.6841 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1581, allocations: 0 / 0.6841 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1581, allocations: 0 / 0.6841 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/0.1582, allocations: 11.98 kB / 0.6841 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.973e-05/0.1582, allocations: 31.98 kB / 0.6842 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002005/0.1584, allocations: 169.7 kB / 0.6843 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.999e-05/0.1585, allocations: 54.55 kB / 0.6844 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.63e-05/0.1585, allocations: 41.39 kB / 0.6844 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.1586, allocations: 0 / 0.6844 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.1586, allocations: 38.5 kB / 0.6845 GB, free: 12.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.1586, allocations: 0 / 0.6845 GB, free: 12.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002073/0.1588, allocations: 133.6 kB / 0.6846 GB, free: 12.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.1589, allocations: 59.44 kB / 0.6846 GB, free: 12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.958e-05/0.159, allocations: 133.8 kB / 0.6848 GB, free: 11.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.159, allocations: 25.7 kB / 0.6848 GB, free: 11.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.159, allocations: 84.14 kB / 0.6849 GB, free: 11.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.1591, allocations: 35.45 kB / 0.6849 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.1591, allocations: 17.72 kB / 0.6849 GB, free: 11.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.802e-05/0.1592, allocations: 318.8 kB / 0.6852 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.263e-05/0.1593, allocations: 31.98 kB / 0.6853 GB, free: 11.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.039e-05/0.1593, allocations: 28 kB / 0.6853 GB, free: 11.31 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.531e-05/0.1594, allocations: 73.14 kB / 0.6853 GB, free: 11.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1594, allocations: 3.938 kB / 0.6854 GB, free: 11.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001167/0.1595, allocations: 101.5 kB / 0.6854 GB, free: 11.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1595, allocations: 11.94 kB / 0.6855 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1595, allocations: 0 / 0.6855 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1596, allocations: 3.984 kB / 0.6855 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.913e-06/0.1596, allocations: 4 kB / 0.6855 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1596, allocations: 0 / 0.6855 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.578e-05/0.1596, allocations: 0 / 0.6855 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.1596, allocations: 4.062 kB / 0.6855 GB, free: 11.1 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 8.036e-05/0.1597, allocations: 122.5 kB / 0.6856 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.1597, allocations: 11.84 kB / 0.6856 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.601e-05/0.1597, allocations: 8.375 kB / 0.6856 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/0.1598, allocations: 11.98 kB / 0.6856 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1598, allocations: 0 / 0.6856 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1598, allocations: 0 / 0.6856 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.1599, allocations: 173.6 kB / 0.6858 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1599, allocations: 3.984 kB / 0.6858 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.074e-06/0.16, allocations: 11.88 kB / 0.6858 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.16, allocations: 4 kB / 0.6858 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-06/0.16, allocations: 0 / 0.6858 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.16, allocations: 0 / 0.6858 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.16, allocations: 0 / 0.6858 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.1601, allocations: 129 kB / 0.6859 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.1602, allocations: 84.95 kB / 0.686 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.1602, allocations: 0 / 0.686 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.281e-05/0.1602, allocations: 4 kB / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.1602, allocations: 8.016 kB / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1602, allocations: 0 / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.881e-05/0.1603, allocations: 103.3 kB / 0.6861 GB, free: 10.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1603, allocations: 0 / 0.6861 GB, free: 10.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000317/0.1606, allocations: 71.92 kB / 0.6862 GB, free: 10.27 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.0005904/0.1612, allocations: 0.7411 MB / 0.6869 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.1613, allocations: 59.97 kB / 0.687 GB, free: 9.445 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1614, allocations: 0 / 0.687 GB, free: 9.445 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.232e-05/0.1614, allocations: 39.92 kB / 0.687 GB, free: 9.406 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.1615, allocations: 8 kB / 0.687 GB, free: 9.398 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005442/0.1621, allocations: 253.9 kB / 0.6873 GB, free: 9.109 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.1623, allocations: 0.6964 MB / 0.6879 GB, free: 8.387 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.807e-05/0.1624, allocations: 9.969 kB / 0.6879 GB, free: 8.379 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.1624, allocations: 19.44 kB / 0.688 GB, free: 8.359 MB / 494.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1624, allocations: 3.938 kB / 0.688 GB, free: 8.355 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.1828, allocations: 2.85 MB / 0.6908 GB, free: 5.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.298/7.481, allocations: 6.406 kB / 0.6908 GB, free: 5.727 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)