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.008361/0.008362, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002128/0.002128, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002528/0.002528, allocations: 290.5 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9881/0.9881, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002671/0.002671, allocations: 95.92 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1648, allocations: 86.96 MB / 0.7659 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002341/0.1672, allocations: 1.246 MB / 0.7672 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.1687, allocations: 0.8856 MB / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.334e-05/0.1687, allocations: 0 / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/0.1687, allocations: 0 / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.1689, allocations: 31.94 kB / 0.768 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000767/0.1697, allocations: 245.3 kB / 0.7683 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.607e-05/0.1697, allocations: 27.95 kB / 0.7683 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.44e-05/0.1698, allocations: 4 kB / 0.7683 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.318e-05/0.1698, allocations: 19.98 kB / 0.7683 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.17, allocations: 47.94 kB / 0.7684 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.17, allocations: 0 / 0.7684 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005773/0.1706, allocations: 295.5 kB / 0.7687 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.924e-05/0.1706, allocations: 11.98 kB / 0.7687 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.1707, allocations: 19.81 kB / 0.7687 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.171, allocations: 243.6 kB / 0.7689 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.171, allocations: 3.938 kB / 0.7689 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.092e-06/0.171, allocations: 0 / 0.7689 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.171, allocations: 4 kB / 0.7689 GB, free: 5.824 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.000414/0.1715, allocations: 390.9 kB / 0.7693 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1715, allocations: 8.031 kB / 0.7693 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.441e-05/0.1715, allocations: 34.75 kB / 0.7693 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/0.1716, allocations: 8.875 kB / 0.7694 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.1717, allocations: 172.3 kB / 0.7695 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1717, allocations: 4.312 kB / 0.7695 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.1718, allocations: 4.375 kB / 0.7695 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.1719, allocations: 61.81 kB / 0.7696 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.1719, allocations: 0 / 0.7696 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1719, allocations: 3.984 kB / 0.7696 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.555e-05/0.1719, allocations: 19.98 kB / 0.7696 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.954e-05/0.172, allocations: 27.98 kB / 0.7696 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.1722, allocations: 169.6 kB / 0.7698 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.138e-05/0.1723, allocations: 54.62 kB / 0.7698 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.192e-05/0.1723, allocations: 40.84 kB / 0.7699 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.323e-06/0.1723, allocations: 0 / 0.7699 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.1724, allocations: 38.5 kB / 0.7699 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 8.51e-07/0.1724, allocations: 0 / 0.7699 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0002135/0.1726, allocations: 133.6 kB / 0.77 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.1726, allocations: 51.41 kB / 0.7701 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.1728, allocations: 129.8 kB / 0.7702 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.1728, allocations: 29.73 kB / 0.7703 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.1728, allocations: 92.12 kB / 0.7703 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.1729, allocations: 31.7 kB / 0.7704 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.1729, allocations: 17.7 kB / 0.7704 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.1731, allocations: 322.8 kB / 0.7707 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.191e-05/0.1731, allocations: 24 kB / 0.7707 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/0.1731, allocations: 32.2 kB / 0.7707 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.829e-05/0.1732, allocations: 72.77 kB / 0.7708 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1732, allocations: 4.031 kB / 0.7708 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001214/0.1733, allocations: 101.6 kB / 0.7709 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1734, allocations: 4 kB / 0.7709 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1734, allocations: 0 / 0.7709 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1734, allocations: 0 / 0.7709 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.1734, allocations: 0 / 0.7709 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1734, allocations: 3.938 kB / 0.7709 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.021e-05/0.1734, allocations: 4 kB / 0.7709 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1734, allocations: 0 / 0.7709 GB, free: 3.543 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 8.937e-05/0.1735, allocations: 126.5 kB / 0.771 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.1736, allocations: 11.92 kB / 0.7711 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.888e-05/0.1736, allocations: 12.36 kB / 0.7711 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/0.1736, allocations: 8 kB / 0.7711 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1736, allocations: 0 / 0.7711 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1736, allocations: 4 kB / 0.7711 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.1738, allocations: 177.6 kB / 0.7713 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1738, allocations: 0 / 0.7713 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-06/0.1738, allocations: 3.938 kB / 0.7713 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1738, allocations: 0 / 0.7713 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.1738, allocations: 0 / 0.7713 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1738, allocations: 4 kB / 0.7713 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.1738, allocations: 3.984 kB / 0.7713 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.174, allocations: 137 kB / 0.7714 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.174, allocations: 88.94 kB / 0.7715 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.1741, allocations: 7.938 kB / 0.7715 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.302e-05/0.1741, allocations: 0 / 0.7715 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.1741, allocations: 4 kB / 0.7715 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.1741, allocations: 4 kB / 0.7715 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.718e-05/0.1742, allocations: 111.7 kB / 0.7716 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1742, allocations: 0 / 0.7716 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003892/0.1746, allocations: 63.88 kB / 0.7717 GB, free: 2.695 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.0006673/0.1753, allocations: 0.7371 MB / 0.7724 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.1754, allocations: 68 kB / 0.7724 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1754, allocations: 0 / 0.7724 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.981e-05/0.1754, allocations: 35.94 kB / 0.7725 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.1756, allocations: 7.984 kB / 0.7725 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/0.1762, allocations: 263.5 kB / 0.7727 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.1766, allocations: 0.6924 MB / 0.7734 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.823e-05/0.1766, allocations: 9.812 kB / 0.7734 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.1767, allocations: 19.42 kB / 0.7734 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.1767, allocations: 0 / 0.7734 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.324/0.5006, allocations: 2.833 MB / 0.7762 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.228/9.729, allocations: 9.781 kB / 0.7762 GB, free: 13.72 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)