Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7843/0.7843, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 187.2 kB / 187.3 MB, free: 11.89 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.523/1.523, allocations: 221.3 MB / 441.4 MB, free: 4.66 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.0008519/0.000852, allocations: 97.06 kB / 0.5124 GB, free: 24.28 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001773/0.001773, allocations: 273.2 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.689e-05/3.692e-05, allocations: 4 kB / 0.6835 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4739/0.4739, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1485/0.6225, allocations: 108.6 MB / 0.8704 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004064/0.6229, allocations: 115.7 kB / 0.8705 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.002197/0.6252, allocations: 0.6862 MB / 0.8712 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6252, allocations: 0.7188 kB / 0.8712 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.6252, allocations: 0 / 0.8712 GB, free: 15.14 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002885/0.6255, allocations: 321 kB / 0.8715 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.6256, allocations: 8.031 kB / 0.8715 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.6256, allocations: 3.938 kB / 0.8715 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.6257, allocations: 167.1 kB / 0.8717 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.6258, allocations: 3.953 kB / 0.8717 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.6258, allocations: 7.938 kB / 0.8717 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.875e-05/0.6259, allocations: 25.7 kB / 0.8717 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.6259, allocations: 0 / 0.8717 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.6259, allocations: 0 / 0.8717 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.626, allocations: 0 / 0.8717 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.204e-05/0.626, allocations: 4 kB / 0.8717 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.6264, allocations: 379.5 kB / 0.8721 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.6265, allocations: 177.1 kB / 0.8722 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.6266, allocations: 80.14 kB / 0.8723 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.054e-05/0.6266, allocations: 75.28 kB / 0.8724 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.77e-05/0.6267, allocations: 113.8 kB / 0.8725 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.6267, allocations: 0 / 0.8725 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 8.862e-05/0.6268, allocations: 25.7 kB / 0.8725 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.38e-05/0.6269, allocations: 138.7 kB / 0.8726 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.396e-05/0.627, allocations: 88.94 kB / 0.8727 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.627, allocations: 25.7 kB / 0.8727 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.6271, allocations: 80.14 kB / 0.8728 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-06/0.6271, allocations: 0 / 0.8728 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.6271, allocations: 0 / 0.8728 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.6273, allocations: 318.8 kB / 0.8731 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-06/0.6273, allocations: 4.125 kB / 0.8731 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.042e-05/0.6274, allocations: 4 kB / 0.8731 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.741e-05/0.6274, allocations: 0 / 0.8731 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6274, allocations: 0 / 0.8731 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001112/0.6275, allocations: 33.7 kB / 0.8732 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.6276, allocations: 4 kB / 0.8732 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.6276, allocations: 3.984 kB / 0.8732 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.6276, allocations: 3.984 kB / 0.8732 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.901e-05/0.6277, allocations: 4 kB / 0.8732 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.6277, allocations: 4.094 kB / 0.8732 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.801e-05/0.6277, allocations: 0 / 0.8732 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.6277, allocations: 3.938 kB / 0.8732 GB, free: 12.87 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: 1 (i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 0.000119/0.6278, allocations: 180.2 kB / 0.8734 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.29e-05/0.6279, allocations: 105 kB / 0.8735 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.274e-05/0.628, allocations: 104.1 kB / 0.8736 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001007/0.6281, allocations: 192.2 kB / 0.8737 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.112e-05/0.6282, allocations: 176.3 kB / 0.8739 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.384e-05/0.6283, allocations: 184.2 kB / 0.8741 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/0.6286, allocations: 397.2 kB / 0.8745 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.097e-05/0.6287, allocations: 108.9 kB / 0.8746 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.736e-05/0.6288, allocations: 109.4 kB / 0.8747 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.133e-05/0.6289, allocations: 188.2 kB / 0.8749 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.341e-05/0.629, allocations: 184.2 kB / 0.875 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.806e-05/0.6291, allocations: 176.3 kB / 0.8752 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.744e-05/0.6292, allocations: 180.2 kB / 0.8754 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.6294, allocations: 307.8 kB / 0.8757 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.6295, allocations: 194 kB / 0.8758 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.6296, allocations: 180.2 kB / 0.876 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.6298, allocations: 102.2 kB / 0.8761 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.433e-05/0.6298, allocations: 180.2 kB / 0.8763 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.885e-05/0.6299, allocations: 109 kB / 0.8764 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.618e-05/0.63, allocations: 79.28 kB / 0.8765 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.01e-07/0.63, allocations: 0 / 0.8765 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003464/0.6303, allocations: 0 / 0.8765 GB, free: 9.289 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001976/0.6306, allocations: 178.5 kB / 0.8766 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.689e-05/0.6306, allocations: 3.938 kB / 0.8766 GB, free: 9.102 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6307, allocations: 0 / 0.8766 GB, free: 9.102 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.652e-06/0.6307, allocations: 3.984 kB / 0.8766 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.6311, allocations: 0.5226 MB / 0.8772 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002292/0.6313, allocations: 120.5 kB / 0.8773 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.6316, allocations: 0.677 MB / 0.8779 GB, free: 7.727 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.362e-05/0.6317, allocations: 0 / 0.8779 GB, free: 7.727 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.6317, allocations: 7.438 kB / 0.8779 GB, free: 7.719 MB / 0.5417 GB Notification: Performance of SimCode: time 4.41e-07/0.6317, allocations: 4 kB / 0.8779 GB, free: 7.715 MB / 0.5417 GB Notification: Performance of Templates: time 0.002304/0.634, allocations: 177.8 kB / 0.8781 GB, free: 7.586 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)