Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.AggregationCellTimes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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.8304/0.8304, allocations: 143.4 MB / 158.3 MB, free: 5.82 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.00139/0.00139, allocations: 177.2 kB / 191.5 MB, free: 5.777 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.632/1.632, allocations: 223.1 MB / 447.7 MB, free: 4.895 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.0008958/0.0008957, allocations: 91.77 kB / 0.5187 GB, free: 1.23 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001824/0.001824, allocations: 270.3 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004336, allocations: 17.2 kB / 0.693 GB, free: 59.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1627, allocations: 82.79 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4781/0.6408, allocations: 109.7 MB / 0.8809 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.6411, allocations: 112.6 kB / 0.881 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.00343/0.6445, allocations: 1.345 MB / 0.8823 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6445, allocations: 0 / 0.8823 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.6446, allocations: 0 / 0.8823 GB, free: 107.7 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002358/0.6448, allocations: 358 kB / 0.8827 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.6449, allocations: 8.75 kB / 0.8827 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.548e-05/0.6449, allocations: 30.56 kB / 0.8827 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.6449, allocations: 9.812 kB / 0.8827 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.645, allocations: 170.1 kB / 0.8829 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.6451, allocations: 2.875 kB / 0.8829 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.6451, allocations: 0 / 0.8829 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.413e-05/0.6452, allocations: 52.53 kB / 0.8829 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.6452, allocations: 4 kB / 0.8829 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.6452, allocations: 0 / 0.8829 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.6452, allocations: 0.7969 kB / 0.883 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.6452, allocations: 5.125 kB / 0.883 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.6454, allocations: 173.6 kB / 0.8831 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.942e-05/0.6454, allocations: 44.84 kB / 0.8832 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.6454, allocations: 7.938 kB / 0.8832 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.361e-05/0.6454, allocations: 36.39 kB / 0.8832 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.6454, allocations: 0 / 0.8832 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001518/0.6456, allocations: 53.78 kB / 0.8833 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.6456, allocations: 77.11 kB / 0.8833 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.257e-05/0.6457, allocations: 130.4 kB / 0.8835 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.6457, allocations: 29.95 kB / 0.8835 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.089e-05/0.6458, allocations: 89.77 kB / 0.8836 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.6458, allocations: 3.906 kB / 0.8836 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.6458, allocations: 0 / 0.8836 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.799e-05/0.6458, allocations: 316.6 kB / 0.8839 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.654e-05/0.6459, allocations: 24.89 kB / 0.8839 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.527e-05/0.6459, allocations: 28.39 kB / 0.8839 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.653e-05/0.646, allocations: 32.94 kB / 0.884 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.646, allocations: 0 / 0.884 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.98e-05/0.6461, allocations: 104.3 kB / 0.8841 GB, free: 106 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.6461, allocations: 5.312 kB / 0.8841 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.6461, allocations: 3.062 kB / 0.8841 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.6461, allocations: 7.172 kB / 0.8841 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.002e-05/0.6462, allocations: 3 kB / 0.8841 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.6462, allocations: 0 / 0.8841 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.93e-05/0.6462, allocations: 11.47 kB / 0.8841 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.6462, allocations: 0 / 0.8841 GB, free: 106 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.134e-05/0.6463, allocations: 115.5 kB / 0.8842 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-06/0.6463, allocations: 7.953 kB / 0.8842 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.075e-05/0.6463, allocations: 9.797 kB / 0.8842 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.6463, allocations: 0 / 0.8842 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.6463, allocations: 0 / 0.8842 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.6463, allocations: 2.625 kB / 0.8842 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.606e-05/0.6464, allocations: 164.4 kB / 0.8844 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.6464, allocations: 2.5 kB / 0.8844 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.781e-05/0.6464, allocations: 2.438 kB / 0.8844 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.6465, allocations: 0.9844 kB / 0.8844 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-06/0.6465, allocations: 7.734 kB / 0.8844 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.6465, allocations: 0 / 0.8844 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6465, allocations: 4 kB / 0.8844 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.66e-05/0.6466, allocations: 86.08 kB / 0.8845 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.96e-05/0.6466, allocations: 84.2 kB / 0.8846 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.6466, allocations: 4.703 kB / 0.8846 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.733e-05/0.6466, allocations: 3.438 kB / 0.8846 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.085e-05/0.6466, allocations: 14.25 kB / 0.8846 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.6466, allocations: 0 / 0.8846 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.936e-05/0.6467, allocations: 99.69 kB / 0.8847 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6467, allocations: 0 / 0.8847 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001964/0.6469, allocations: 23.5 kB / 0.8847 GB, free: 105.4 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * 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.0002767/0.6472, allocations: 0.7095 MB / 0.8854 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.6473, allocations: 84.44 kB / 0.8855 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.6473, allocations: 0 / 0.8855 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.158e-05/0.6473, allocations: 8.938 kB / 0.8855 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001037/0.6474, allocations: 8.547 kB / 0.8855 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.6478, allocations: 351.6 kB / 0.8858 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.648, allocations: 0.6957 MB / 0.8865 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.624e-05/0.648, allocations: 4 kB / 0.8865 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.648, allocations: 13.03 kB / 0.8865 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of SimCode: time 2.1e-07/0.648, allocations: 0 / 0.8865 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01072/0.6587, allocations: 1.429 MB / 0.8879 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/0.6589, allocations: 264.6 kB / 0.8882 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.221, allocations: 0 / 0.8882 GB, free: 103.2 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)