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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8354/0.8354, allocations: 143.3 MB / 158.3 MB, free: 5.758 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 173.1 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.2 MB / 447.7 MB, free: 4.719 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00095/0.0009501, allocations: 100.2 kB / 0.5187 GB, free: 1.07 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001778/0.001778, allocations: 263.5 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004152/0.0004152, allocations: 14.66 kB / 0.693 GB, free: 59.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1556, allocations: 82.8 MB / 0.7738 GB, free: 13.69 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4523/0.608, allocations: 110.8 MB / 0.882 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.6083, allocations: 107.8 kB / 0.8821 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01112/0.6194, allocations: 3.833 MB / 0.8859 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.846e-06/0.6194, allocations: 4 kB / 0.8859 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.493e-06/0.6194, allocations: 6.656 kB / 0.8859 GB, free: 107.9 MB / 0.5417 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.0003048/0.6197, allocations: 400.8 kB / 0.8862 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.6198, allocations: 12.2 kB / 0.8863 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.6198, allocations: 34.47 kB / 0.8863 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.684e-05/0.6199, allocations: 3.812 kB / 0.8863 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.983e-05/0.6199, allocations: 173 kB / 0.8865 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.62, allocations: 10.83 kB / 0.8865 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.62, allocations: 0 / 0.8865 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.6201, allocations: 69.52 kB / 0.8865 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.6201, allocations: 0 / 0.8865 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.6201, allocations: 6.359 kB / 0.8865 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.6202, allocations: 6.422 kB / 0.8866 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.347e-05/0.6202, allocations: 32.86 kB / 0.8866 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.6204, allocations: 180.1 kB / 0.8868 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.036e-05/0.6205, allocations: 62.09 kB / 0.8868 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-06/0.6205, allocations: 0 / 0.8868 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.6205, allocations: 35.17 kB / 0.8868 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.103e-06/0.6205, allocations: 0 / 0.8868 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0002529/0.6208, allocations: 234.3 kB / 0.8871 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.997e-05/0.6208, allocations: 51.41 kB / 0.8871 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.6209, allocations: 118.4 kB / 0.8872 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.6209, allocations: 28.45 kB / 0.8873 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.338e-05/0.6209, allocations: 88.2 kB / 0.8873 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.621, allocations: 33.34 kB / 0.8874 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.621, allocations: 4.031 kB / 0.8874 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.171e-05/0.621, allocations: 320.4 kB / 0.8877 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.124e-05/0.6211, allocations: 35.69 kB / 0.8877 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.52e-05/0.6211, allocations: 31.98 kB / 0.8878 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.79e-05/0.6212, allocations: 38.28 kB / 0.8878 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6212, allocations: 0 / 0.8878 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001232/0.6213, allocations: 116.3 kB / 0.8879 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.6213, allocations: 5.625 kB / 0.8879 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6213, allocations: 0.5625 kB / 0.8879 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.6214, allocations: 8 kB / 0.8879 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.6214, allocations: 0.6094 kB / 0.8879 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.6214, allocations: 3.984 kB / 0.8879 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.6214, allocations: 11.72 kB / 0.8879 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.6214, allocations: 4.141 kB / 0.8879 GB, free: 106.1 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.019e-05/0.6215, allocations: 120.1 kB / 0.888 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.6215, allocations: 9.953 kB / 0.8881 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.53e-05/0.6215, allocations: 8.719 kB / 0.8881 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/0.6216, allocations: 6.484 kB / 0.8881 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.6216, allocations: 4 kB / 0.8881 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.6216, allocations: 2.375 kB / 0.8881 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.6217, allocations: 177.9 kB / 0.8882 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6217, allocations: 0.5625 kB / 0.8882 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.6217, allocations: 3.938 kB / 0.8882 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6217, allocations: 1.828 kB / 0.8883 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.6217, allocations: 6.234 kB / 0.8883 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.6217, allocations: 0 / 0.8883 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.6218, allocations: 1.859 kB / 0.8883 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.6219, allocations: 145.4 kB / 0.8884 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.6219, allocations: 83 kB / 0.8885 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.622, allocations: 5.969 kB / 0.8885 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.315e-05/0.622, allocations: 5.516 kB / 0.8885 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.375e-05/0.622, allocations: 1.984 kB / 0.8885 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.622, allocations: 5.547 kB / 0.8885 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.041e-05/0.6221, allocations: 104 kB / 0.8886 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6221, allocations: 0 / 0.8886 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003142/0.6224, allocations: 81.8 kB / 0.8887 GB, free: 105.5 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004701/0.6229, allocations: 0.7438 MB / 0.8894 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.623, allocations: 61.77 kB / 0.8895 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.623, allocations: 1.375 kB / 0.8895 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.373e-05/0.623, allocations: 37.25 kB / 0.8895 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.926e-05/0.6231, allocations: 19.5 kB / 0.8895 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004329/0.6236, allocations: 273 kB / 0.8898 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.6237, allocations: 0.7037 MB / 0.8905 GB, free: 104 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.681e-05/0.6237, allocations: 8.25 kB / 0.8905 GB, free: 104 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.6238, allocations: 18.69 kB / 0.8905 GB, free: 104 MB / 0.5417 GB Notification: Performance of SimCode: time 2.81e-07/0.6238, allocations: 0 / 0.8905 GB, free: 104 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01213/0.6359, allocations: 2.585 MB / 0.893 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/0.6361, allocations: 268.5 kB / 0.8933 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/2.317, allocations: 4 kB / 0.8933 GB, free: 103.4 MB / 0.5417 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/linux/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)