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.001353/0.001353, 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.001373/0.001373, allocations: 198.8 kB / 16.54 MB, free: 6.664 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.4/1.4, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002594/0.002594, allocations: 282.5 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 178.6 MB / 0.5073 GB, free: 4.578 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002853/0.002853, allocations: 98.95 kB / 0.6066 GB, free: 24.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1766, allocations: 89.15 MB / 0.6936 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002516/0.1791, allocations: 1.235 MB / 0.6948 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.1807, allocations: 0.8914 MB / 0.6957 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.1808, allocations: 4.5 kB / 0.6957 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.1e-05/0.1808, allocations: 1.562 kB / 0.6957 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.1809, allocations: 35.88 kB / 0.6958 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000809/0.1818, allocations: 242.9 kB / 0.696 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.513e-05/0.1818, allocations: 31.89 kB / 0.696 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.1819, allocations: 1.281 kB / 0.696 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.355e-05/0.1819, allocations: 15.98 kB / 0.696 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.1821, allocations: 54.78 kB / 0.6961 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.878e-06/0.1821, allocations: 0 / 0.6961 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004475/0.1826, allocations: 275.6 kB / 0.6964 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.45e-05/0.1826, allocations: 19.92 kB / 0.6964 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.1827, allocations: 23.8 kB / 0.6964 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.183, allocations: 237.1 kB / 0.6966 GB, free: 1.145 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.183, allocations: 0 / 0.6966 GB, free: 1.145 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.183, allocations: 0 / 0.6966 GB, free: 1.145 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1831, allocations: 0 / 0.6966 GB, free: 1.145 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.0004568/0.1835, allocations: 391.9 kB / 0.697 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1836, allocations: 15.97 kB / 0.697 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.1836, allocations: 30.75 kB / 0.697 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.1836, allocations: 8.844 kB / 0.697 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.1838, allocations: 172.3 kB / 0.6972 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1838, allocations: 384 / 0.6972 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.1838, allocations: 384 / 0.6972 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.184, allocations: 61.81 kB / 0.6973 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.184, allocations: 0 / 0.6973 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.184, allocations: 0 / 0.6973 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.241e-05/0.184, allocations: 11.98 kB / 0.6973 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.425e-05/0.1841, allocations: 35.94 kB / 0.6973 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.1843, allocations: 173.5 kB / 0.6975 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.451e-05/0.1844, allocations: 50.56 kB / 0.6975 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.495e-05/0.1844, allocations: 40.88 kB / 0.6976 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.1844, allocations: 0 / 0.6976 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.1845, allocations: 38.5 kB / 0.6976 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.1845, allocations: 4 kB / 0.6976 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0002286/0.1847, allocations: 126 kB / 0.6977 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.1848, allocations: 59.34 kB / 0.6978 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.1849, allocations: 137.7 kB / 0.6979 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.1849, allocations: 25.7 kB / 0.6979 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.185, allocations: 88.12 kB / 0.698 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.185, allocations: 31.55 kB / 0.6981 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.1851, allocations: 25.64 kB / 0.6981 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1852, allocations: 318.9 kB / 0.6984 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.923e-05/0.1853, allocations: 27.98 kB / 0.6984 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.178e-05/0.1853, allocations: 31.98 kB / 0.6984 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.124e-05/0.1854, allocations: 68.83 kB / 0.6985 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1854, allocations: 0 / 0.6985 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001256/0.1856, allocations: 105.5 kB / 0.6986 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1856, allocations: 4 kB / 0.6986 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1856, allocations: 4 kB / 0.6986 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1856, allocations: 0 / 0.6986 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.1856, allocations: 0 / 0.6986 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1856, allocations: 4.062 kB / 0.6986 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.692e-05/0.1856, allocations: 4 kB / 0.6986 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1857, allocations: 4 kB / 0.6986 GB, free: 14.86 MB / 0.4981 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.927e-05/0.1858, allocations: 118.5 kB / 0.6987 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.1858, allocations: 11.84 kB / 0.6988 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.517e-05/0.1858, allocations: 8.375 kB / 0.6988 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/0.1858, allocations: 11.98 kB / 0.6988 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1858, allocations: 0 / 0.6988 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.1858, allocations: 4.078 kB / 0.6988 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.186, allocations: 185.4 kB / 0.699 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.186, allocations: 0 / 0.699 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-06/0.186, allocations: 3.938 kB / 0.699 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.186, allocations: 4 kB / 0.699 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.186, allocations: 0 / 0.699 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1861, allocations: 0 / 0.699 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1861, allocations: 3.938 kB / 0.699 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.1862, allocations: 125.1 kB / 0.6991 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.1863, allocations: 88.98 kB / 0.6992 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.1863, allocations: 0 / 0.6992 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.093e-05/0.1863, allocations: 0 / 0.6992 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/0.1863, allocations: 4 kB / 0.6992 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.1863, allocations: 3.938 kB / 0.6992 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.976e-05/0.1864, allocations: 99.27 kB / 0.6993 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.063e-06/0.1864, allocations: 0 / 0.6993 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003178/0.1867, allocations: 75.92 kB / 0.6993 GB, free: 14.03 MB / 0.4981 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.0006749/0.1874, allocations: 0.7418 MB / 0.7001 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001389/0.1876, allocations: 63.92 kB / 0.7001 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1876, allocations: 0 / 0.7001 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.835e-05/0.1876, allocations: 35.98 kB / 0.7002 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.1878, allocations: 8 kB / 0.7002 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005179/0.1883, allocations: 255.9 kB / 0.7004 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.1886, allocations: 0.6962 MB / 0.7011 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.172e-05/0.1887, allocations: 9.547 kB / 0.7011 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.1887, allocations: 19.42 kB / 0.7011 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1887, allocations: 0 / 0.7011 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.2134, allocations: 2.821 MB / 0.7039 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.61/7.824, allocations: 13.16 kB / 0.7039 GB, free: 9.484 MB / 0.4981 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)