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.00102/0.00102, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.0062/0.0062, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.314/1.314, allocations: 223.2 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001832/0.001832, allocations: 278.4 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9133/0.9133, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004223, allocations: 17.14 kB / 0.5988 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1543, allocations: 88.54 MB / 0.6853 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001213/0.1555, allocations: 0.9689 MB / 0.6862 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.1569, allocations: 0.9008 MB / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.471e-05/0.1569, allocations: 0 / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.56e-05/0.1569, allocations: 0 / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.755e-05/0.157, allocations: 31.89 kB / 0.6871 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.1577, allocations: 196.8 kB / 0.6873 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.304e-05/0.1577, allocations: 32.72 kB / 0.6873 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.613e-05/0.1578, allocations: 0 / 0.6873 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.336e-05/0.1578, allocations: 16.7 kB / 0.6874 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.158, allocations: 53.78 kB / 0.6874 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.158, allocations: 0 / 0.6874 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003943/0.1584, allocations: 280.5 kB / 0.6877 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.1584, allocations: 19.92 kB / 0.6877 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.1585, allocations: 48.86 kB / 0.6877 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.1588, allocations: 247.7 kB / 0.688 GB, free: 12.17 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1588, allocations: 0 / 0.688 GB, free: 12.17 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.1588, allocations: 4 kB / 0.688 GB, free: 12.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.1588, allocations: 0 / 0.688 GB, free: 12.16 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.0003339/0.1592, allocations: 375.3 kB / 0.6883 GB, free: 11.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1592, allocations: 8.031 kB / 0.6883 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.165e-05/0.1592, allocations: 34.75 kB / 0.6884 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.187e-05/0.1593, allocations: 8.844 kB / 0.6884 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.1594, allocations: 176.8 kB / 0.6886 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.1594, allocations: 1 kB / 0.6886 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.1594, allocations: 4.938 kB / 0.6886 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.728e-05/0.1595, allocations: 54.56 kB / 0.6886 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-06/0.1595, allocations: 0 / 0.6886 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.1595, allocations: 1.781 kB / 0.6886 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/0.1596, allocations: 15.98 kB / 0.6886 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.235e-05/0.1596, allocations: 24 kB / 0.6887 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.1598, allocations: 185.5 kB / 0.6888 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.741e-05/0.1599, allocations: 51.31 kB / 0.6889 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.351e-05/0.1599, allocations: 38.06 kB / 0.6889 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-06/0.1599, allocations: 0 / 0.6889 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.16, allocations: 39.06 kB / 0.689 GB, free: 11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 8.61e-07/0.16, allocations: 1.719 kB / 0.689 GB, free: 11 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0001919/0.1602, allocations: 126 kB / 0.6891 GB, free: 10.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.1602, allocations: 59.34 kB / 0.6891 GB, free: 10.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.236e-05/0.1603, allocations: 126.4 kB / 0.6893 GB, free: 10.67 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.1603, allocations: 32.08 kB / 0.6893 GB, free: 10.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.1604, allocations: 96.12 kB / 0.6894 GB, free: 10.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.1604, allocations: 23.56 kB / 0.6894 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.1604, allocations: 13.72 kB / 0.6894 GB, free: 10.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.1605, allocations: 322.8 kB / 0.6897 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.756e-05/0.1606, allocations: 24.64 kB / 0.6897 GB, free: 10.15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.411e-05/0.1606, allocations: 31.98 kB / 0.6898 GB, free: 10.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.367e-05/0.1607, allocations: 74.58 kB / 0.6898 GB, free: 10.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1607, allocations: 0 / 0.6898 GB, free: 10.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000104/0.1608, allocations: 105.5 kB / 0.6899 GB, free: 9.934 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1608, allocations: 4 kB / 0.6899 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.1608, allocations: 6.844 kB / 0.69 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.1608, allocations: 0 / 0.69 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.1608, allocations: 0 / 0.69 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.1609, allocations: 3.984 kB / 0.69 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.702e-05/0.1609, allocations: 3.906 kB / 0.69 GB, free: 9.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1609, allocations: 4 kB / 0.69 GB, free: 9.914 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.183e-05/0.161, allocations: 119.3 kB / 0.6901 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.161, allocations: 7.938 kB / 0.6901 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.23e-05/0.161, allocations: 5.25 kB / 0.6901 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.161, allocations: 19.97 kB / 0.6901 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.161, allocations: 0.625 kB / 0.6901 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.161, allocations: 96 / 0.6901 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.1612, allocations: 190 kB / 0.6903 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1612, allocations: 0 / 0.6903 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-06/0.1612, allocations: 5 kB / 0.6903 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1612, allocations: 4 kB / 0.6903 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.1612, allocations: 1 kB / 0.6903 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1612, allocations: 0 / 0.6903 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1612, allocations: 0 / 0.6903 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.1614, allocations: 129 kB / 0.6904 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/0.1614, allocations: 88.94 kB / 0.6905 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.799e-06/0.1614, allocations: 0 / 0.6905 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.208e-05/0.1614, allocations: 3.984 kB / 0.6905 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.034e-05/0.1614, allocations: 4 kB / 0.6905 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1615, allocations: 0 / 0.6905 GB, free: 9.258 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.747e-05/0.1615, allocations: 103.6 kB / 0.6906 GB, free: 9.156 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1615, allocations: 0 / 0.6906 GB, free: 9.156 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000278/0.1618, allocations: 80.02 kB / 0.6907 GB, free: 9.078 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.000543/0.1624, allocations: 0.7341 MB / 0.6914 GB, free: 8.316 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.245e-05/0.1625, allocations: 59.98 kB / 0.6915 GB, free: 8.258 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1625, allocations: 3.938 kB / 0.6915 GB, free: 8.254 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.938e-05/0.1625, allocations: 40.08 kB / 0.6915 GB, free: 8.215 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.1627, allocations: 4 kB / 0.6915 GB, free: 8.211 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.1631, allocations: 270.9 kB / 0.6918 GB, free: 7.902 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.1633, allocations: 0.6965 MB / 0.6925 GB, free: 7.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.645e-05/0.1634, allocations: 12.05 kB / 0.6925 GB, free: 7.168 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.1634, allocations: 21.33 kB / 0.6925 GB, free: 7.148 MB / 494.1 MB Notification: Performance of SimCode: time 1.704e-06/0.1634, allocations: 4 kB / 0.6925 GB, free: 7.145 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.1873, allocations: 2.635 MB / 0.6951 GB, free: 4.754 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/0.1875, allocations: 299.9 kB / 0.6953 GB, free: 4.371 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/1.856, allocations: 0 / 0.6953 GB, free: 4.371 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)