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.001224/0.001224, allocations: 108 kB / 15.61 MB, free: 152 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.001261/0.001261, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002137/0.002137, allocations: 279 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9489/0.9489, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 102.4 kB / 0.5954 GB, free: 27.78 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1553, allocations: 86.98 MB / 0.6803 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002463/0.1578, allocations: 1.242 MB / 0.6815 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1593, allocations: 0.8904 MB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.3e-05/0.1594, allocations: 0 / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.1594, allocations: 0 / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.972e-05/0.1595, allocations: 31.94 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007757/0.1603, allocations: 239.7 kB / 0.6827 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.288e-05/0.1604, allocations: 27.97 kB / 0.6827 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.415e-05/0.1604, allocations: 8 kB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.219e-05/0.1605, allocations: 19.97 kB / 0.6827 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.1606, allocations: 43.94 kB / 0.6828 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.1606, allocations: 4 kB / 0.6828 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004256/0.1611, allocations: 279.6 kB / 0.683 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.65e-05/0.1611, allocations: 19.92 kB / 0.683 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.1611, allocations: 15.81 kB / 0.6831 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.1615, allocations: 247.4 kB / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1615, allocations: 0 / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1615, allocations: 0 / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1615, allocations: 0 / 0.6833 GB, free: 13.5 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.000414/0.1619, allocations: 383.2 kB / 0.6837 GB, free: 13.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.162, allocations: 8.031 kB / 0.6837 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.468e-05/0.162, allocations: 38.73 kB / 0.6837 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.1621, allocations: 8.844 kB / 0.6837 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.1622, allocations: 176.2 kB / 0.6839 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1622, allocations: 4.375 kB / 0.6839 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.1622, allocations: 384 / 0.6839 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.1623, allocations: 65.75 kB / 0.684 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1624, allocations: 0 / 0.684 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-06/0.1624, allocations: 0 / 0.684 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.1624, allocations: 11.98 kB / 0.684 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.56e-05/0.1624, allocations: 27.98 kB / 0.684 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.1626, allocations: 173.7 kB / 0.6842 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.881e-05/0.1627, allocations: 50.56 kB / 0.6842 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/0.1628, allocations: 41.39 kB / 0.6842 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.527e-06/0.1628, allocations: 4.172 kB / 0.6842 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.1628, allocations: 38.44 kB / 0.6843 GB, free: 12.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.1628, allocations: 0 / 0.6843 GB, free: 12.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0001907/0.163, allocations: 133.6 kB / 0.6844 GB, free: 12.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.1631, allocations: 55.34 kB / 0.6845 GB, free: 12.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.435e-05/0.1632, allocations: 137.7 kB / 0.6846 GB, free: 11.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.1632, allocations: 29.73 kB / 0.6846 GB, free: 11.94 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.1632, allocations: 88.14 kB / 0.6847 GB, free: 11.85 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.1633, allocations: 35.45 kB / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.1633, allocations: 13.72 kB / 0.6848 GB, free: 11.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.389e-05/0.1634, allocations: 318.8 kB / 0.6851 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.532e-05/0.1634, allocations: 31.98 kB / 0.6851 GB, free: 11.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.261e-05/0.1635, allocations: 20 kB / 0.6851 GB, free: 11.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.045e-05/0.1635, allocations: 73.14 kB / 0.6852 GB, free: 11.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1635, allocations: 4.031 kB / 0.6852 GB, free: 11.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001107/0.1637, allocations: 105.5 kB / 0.6853 GB, free: 11.24 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1637, allocations: 8 kB / 0.6853 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1637, allocations: 0 / 0.6853 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1637, allocations: 0 / 0.6853 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.003e-06/0.1637, allocations: 3.984 kB / 0.6853 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.1637, allocations: 0 / 0.6853 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/0.1637, allocations: 0 / 0.6853 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1638, allocations: 4 kB / 0.6853 GB, free: 11.22 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.22e-05/0.1638, allocations: 122.5 kB / 0.6854 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.1639, allocations: 11.84 kB / 0.6854 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.412e-05/0.1639, allocations: 12.38 kB / 0.6854 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.076e-05/0.1639, allocations: 11.98 kB / 0.6854 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1639, allocations: 4 kB / 0.6855 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1639, allocations: 0 / 0.6855 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.1641, allocations: 173.5 kB / 0.6856 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1641, allocations: 4 kB / 0.6856 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-06/0.1641, allocations: 7.922 kB / 0.6856 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1641, allocations: 0 / 0.6856 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.1641, allocations: 0 / 0.6856 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1641, allocations: 4 kB / 0.6856 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1641, allocations: 0 / 0.6856 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.1642, allocations: 125 kB / 0.6858 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.1643, allocations: 84.95 kB / 0.6858 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.1643, allocations: 3.938 kB / 0.6858 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.115e-05/0.1643, allocations: 4 kB / 0.6858 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.165e-05/0.1643, allocations: 3.938 kB / 0.6858 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.1643, allocations: 7.953 kB / 0.6859 GB, free: 10.56 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.989e-05/0.1644, allocations: 111.3 kB / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1644, allocations: 0 / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003063/0.1647, allocations: 67.98 kB / 0.686 GB, free: 10.38 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.0005746/0.1653, allocations: 0.7333 MB / 0.6867 GB, free: 9.621 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.1654, allocations: 68 kB / 0.6868 GB, free: 9.555 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1654, allocations: 4 kB / 0.6868 GB, free: 9.551 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.369e-05/0.1655, allocations: 35.98 kB / 0.6868 GB, free: 9.516 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.1656, allocations: 0 / 0.6868 GB, free: 9.516 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004888/0.1661, allocations: 255.9 kB / 0.6871 GB, free: 9.223 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.1664, allocations: 0.6924 MB / 0.6878 GB, free: 8.504 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.037e-05/0.1664, allocations: 10.38 kB / 0.6878 GB, free: 8.496 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.1665, allocations: 23.44 kB / 0.6878 GB, free: 8.473 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.1665, allocations: 0 / 0.6878 GB, free: 8.473 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.1856, allocations: 2.82 MB / 0.6905 GB, free: 5.848 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.199/7.385, allocations: 14.08 kB / 0.6906 GB, free: 5.848 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)