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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7833/0.7833, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.001347/0.001347, allocations: 179.8 kB / 182.2 MB, free: 9.461 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.441/1.441, allocations: 221.5 MB / 436.4 MB, free: 13.26 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.001224/0.001224, allocations: 92.11 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00186/0.00186, allocations: 278.5 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.244e-05/2.242e-05, allocations: 4 kB / 0.6766 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.4386, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1426/0.5812, allocations: 108.9 MB / 0.8638 GB, free: 2.902 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.5816, allocations: 103.8 kB / 0.8639 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003828/0.5854, allocations: 1.331 MB / 0.8652 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5854, allocations: 0 / 0.8652 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.5855, allocations: 4 kB / 0.8652 GB, free: 1.469 MB / 0.5261 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.0003687/0.5858, allocations: 338.4 kB / 0.8655 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.5859, allocations: 8.031 kB / 0.8655 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.586, allocations: 3.906 kB / 0.8655 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.5862, allocations: 180 kB / 0.8657 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.5862, allocations: 3.953 kB / 0.8657 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.5862, allocations: 0 / 0.8657 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.005e-05/0.5863, allocations: 4 kB / 0.8657 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.992e-05/0.5864, allocations: 43.36 kB / 0.8658 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.5864, allocations: 0 / 0.8658 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.5864, allocations: 4 kB / 0.8658 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.5865, allocations: 3.984 kB / 0.8658 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.5867, allocations: 158.9 kB / 0.8659 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.705e-05/0.5868, allocations: 33.16 kB / 0.866 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.553e-05/0.5868, allocations: 17.84 kB / 0.866 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.5868, allocations: 7.953 kB / 0.866 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.5869, allocations: 46.48 kB / 0.866 GB, free: 476 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.5869, allocations: 0 / 0.866 GB, free: 476 kB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001445/0.587, allocations: 33.7 kB / 0.8661 GB, free: 436 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.5871, allocations: 81.11 kB / 0.8661 GB, free: 336 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.5872, allocations: 126.1 kB / 0.8663 GB, free: 204 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.5872, allocations: 29.77 kB / 0.8663 GB, free: 168 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.5873, allocations: 88.14 kB / 0.8664 GB, free: 76 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.5873, allocations: 7.844 kB / 0.8664 GB, free: 68 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.5873, allocations: 0 / 0.8664 GB, free: 68 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.5875, allocations: 326.8 kB / 0.8667 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.978e-05/0.5876, allocations: 20 kB / 0.8667 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.106e-05/0.5876, allocations: 27.98 kB / 0.8667 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.355e-05/0.5877, allocations: 29.48 kB / 0.8668 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5877, allocations: 0 / 0.8668 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001587/0.5879, allocations: 97.58 kB / 0.8668 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.5879, allocations: 4 kB / 0.8669 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.5879, allocations: 3.953 kB / 0.8669 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.588, allocations: 0 / 0.8669 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.588, allocations: 4 kB / 0.8669 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.588, allocations: 0 / 0.8669 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.96e-05/0.5881, allocations: 11.84 kB / 0.8669 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.5881, allocations: 0 / 0.8669 GB, free: 15.54 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 () * 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 7.949e-05/0.5882, allocations: 101 kB / 0.867 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.5882, allocations: 11.91 kB / 0.867 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.5882, allocations: 7.953 kB / 0.867 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.5883, allocations: 3.953 kB / 0.867 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5883, allocations: 3.938 kB / 0.867 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5883, allocations: 0 / 0.867 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.5884, allocations: 142.2 kB / 0.8671 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5885, allocations: 0 / 0.8671 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.322e-05/0.5885, allocations: 4 kB / 0.8671 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.5885, allocations: 0 / 0.8671 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.5885, allocations: 0 / 0.8671 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5885, allocations: 4 kB / 0.8671 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5885, allocations: 4 kB / 0.8671 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.5887, allocations: 83.66 kB / 0.8672 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.5887, allocations: 85.02 kB / 0.8673 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.5887, allocations: 0 / 0.8673 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.756e-05/0.5888, allocations: 3.938 kB / 0.8673 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.5888, allocations: 15.97 kB / 0.8673 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.5888, allocations: 3.938 kB / 0.8673 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.422e-05/0.5889, allocations: 96.02 kB / 0.8674 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.843e-06/0.5889, allocations: 0 / 0.8674 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002387/0.5891, allocations: 23.94 kB / 0.8674 GB, free: 14.86 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 () * 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.0002342/0.5894, allocations: 117.7 kB / 0.8676 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001464/0.5895, allocations: 81.78 kB / 0.8676 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.5895, allocations: 4 kB / 0.8676 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.154e-05/0.5896, allocations: 4 kB / 0.8676 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.5897, allocations: 4.594 kB / 0.8676 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.59, allocations: 88.72 kB / 0.8677 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.5904, allocations: 0.6963 MB / 0.8684 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.501e-05/0.5904, allocations: 0 / 0.8684 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/0.5904, allocations: 7.562 kB / 0.8684 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of SimCode: time 9.02e-07/0.5905, allocations: 4 kB / 0.8684 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of Templates: time 0.002824/0.5933, allocations: 0.5131 MB / 0.8689 GB, free: 13.33 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)