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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.00134, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001294/0.001294, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.345/1.345, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002354/0.002354, allocations: 283.8 kB / 291.3 MB, free: 14.56 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9328/0.9328, allocations: 169.3 MB / 0.4988 GB, free: 4.523 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002086, allocations: 94.25 kB / 0.5959 GB, free: 4.102 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1749, allocations: 86.97 MB / 0.6809 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002649/0.1776, allocations: 1.247 MB / 0.6821 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.1791, allocations: 0.8773 MB / 0.6829 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.536e-05/0.1791, allocations: 0 / 0.6829 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/0.1792, allocations: 0 / 0.6829 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.1793, allocations: 31.95 kB / 0.683 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008637/0.1802, allocations: 252.1 kB / 0.6832 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.135e-05/0.1803, allocations: 23.98 kB / 0.6832 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.1803, allocations: 0 / 0.6832 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.919e-05/0.1804, allocations: 23.97 kB / 0.6833 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.1805, allocations: 47.94 kB / 0.6833 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.1805, allocations: 4 kB / 0.6833 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004612/0.181, allocations: 275.6 kB / 0.6836 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.659e-05/0.1811, allocations: 19.92 kB / 0.6836 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.1811, allocations: 19.81 kB / 0.6836 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.1814, allocations: 243.7 kB / 0.6838 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1815, allocations: 0 / 0.6838 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.535e-06/0.1815, allocations: 4 kB / 0.6839 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.1815, allocations: 0 / 0.6839 GB, free: 10.05 MB / 0.5294 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.0004089/0.1819, allocations: 383.2 kB / 0.6842 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1819, allocations: 12.03 kB / 0.6842 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.182, allocations: 8.844 kB / 0.6842 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.1821, allocations: 180.2 kB / 0.6844 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1821, allocations: 384 / 0.6844 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.1821, allocations: 384 / 0.6844 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.1823, allocations: 69.88 kB / 0.6845 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.1823, allocations: 0 / 0.6845 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.1823, allocations: 0 / 0.6845 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/0.1823, allocations: 11.98 kB / 0.6845 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.525e-05/0.1824, allocations: 28 kB / 0.6845 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.1826, allocations: 169.7 kB / 0.6847 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.337e-05/0.1826, allocations: 50.56 kB / 0.6847 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.976e-05/0.1827, allocations: 41.06 kB / 0.6848 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.1827, allocations: 7.922 kB / 0.6848 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.1827, allocations: 38.5 kB / 0.6848 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.1827, allocations: 0 / 0.6848 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0002103/0.1829, allocations: 125.5 kB / 0.6849 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.183, allocations: 59.44 kB / 0.685 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.1831, allocations: 137.7 kB / 0.6851 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.1831, allocations: 25.7 kB / 0.6851 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.1832, allocations: 88.12 kB / 0.6852 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.1832, allocations: 27.56 kB / 0.6852 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.1832, allocations: 25.69 kB / 0.6853 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.988e-05/0.1833, allocations: 314.8 kB / 0.6856 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.225e-05/0.1834, allocations: 31.98 kB / 0.6856 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.428e-05/0.1834, allocations: 31.98 kB / 0.6856 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.514e-05/0.1835, allocations: 69.2 kB / 0.6857 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1835, allocations: 3.938 kB / 0.6857 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001039/0.1836, allocations: 97.52 kB / 0.6858 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1836, allocations: 14.12 kB / 0.6858 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.1836, allocations: 0 / 0.6858 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1836, allocations: 0 / 0.6858 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.164e-06/0.1837, allocations: 4 kB / 0.6858 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1837, allocations: 0 / 0.6858 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.1837, allocations: 7.969 kB / 0.6858 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1837, allocations: 4 kB / 0.6858 GB, free: 7.809 MB / 0.5294 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 7.595e-05/0.1838, allocations: 121.8 kB / 0.6859 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.1838, allocations: 7.938 kB / 0.686 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.771e-05/0.1838, allocations: 12.36 kB / 0.686 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/0.1838, allocations: 8 kB / 0.686 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1839, allocations: 0 / 0.686 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1839, allocations: 0 / 0.686 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.184, allocations: 181.4 kB / 0.6861 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.184, allocations: 0 / 0.6861 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.643e-06/0.184, allocations: 8 kB / 0.6862 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.184, allocations: 3.938 kB / 0.6862 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.184, allocations: 0 / 0.6862 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.184, allocations: 0 / 0.6862 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.184, allocations: 0 / 0.6862 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.1842, allocations: 129 kB / 0.6863 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.522e-05/0.1842, allocations: 88.89 kB / 0.6864 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.1842, allocations: 0 / 0.6864 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.231e-05/0.1842, allocations: 4.031 kB / 0.6864 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.1843, allocations: 7.938 kB / 0.6864 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.1843, allocations: 0 / 0.6864 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.773e-05/0.1843, allocations: 99.27 kB / 0.6865 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1843, allocations: 4 kB / 0.6865 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003084/0.1847, allocations: 71.92 kB / 0.6865 GB, free: 6.977 MB / 0.5294 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.0003144/0.185, allocations: 175.1 kB / 0.6867 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001131/0.1851, allocations: 71.97 kB / 0.6868 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.1851, allocations: 0 / 0.6868 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.58e-05/0.1851, allocations: 39.92 kB / 0.6868 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.1853, allocations: 3.984 kB / 0.6868 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.1857, allocations: 223.9 kB / 0.687 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.1859, allocations: 0.6924 MB / 0.6877 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/0.186, allocations: 11.44 kB / 0.6877 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of SimCode: time 2.2e-07/0.186, allocations: 0 / 0.6877 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of Templates: time 0.00339/0.1894, allocations: 1.509 MB / 0.6892 GB, free: 4.199 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)