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.7911/0.7911, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.001008/0.001008, allocations: 180.9 kB / 182.2 MB, free: 9.465 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.469/1.469, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.0009744/0.0009741, allocations: 92.09 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001726/0.001726, allocations: 266.6 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.884e-05/1.886e-05, allocations: 4 kB / 0.6766 GB, free: 12.79 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4454, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.5878, allocations: 108 MB / 0.8629 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.5881, allocations: 99.8 kB / 0.863 GB, free: 3.812 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00155/0.5897, allocations: 0.6923 MB / 0.8636 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5897, allocations: 0 / 0.8636 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.5897, allocations: 0 / 0.8636 GB, free: 3.121 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003073/0.5901, allocations: 318.5 kB / 0.8639 GB, free: 2.766 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.5901, allocations: 12.03 kB / 0.8639 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.5902, allocations: 0 / 0.8639 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.5903, allocations: 163.1 kB / 0.8641 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.5903, allocations: 7.953 kB / 0.8641 GB, free: 2.547 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.5904, allocations: 0 / 0.8641 GB, free: 2.547 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.078e-05/0.5904, allocations: 0 / 0.8641 GB, free: 2.547 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.252e-05/0.5905, allocations: 29.7 kB / 0.8641 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.5905, allocations: 0 / 0.8641 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.5905, allocations: 3.938 kB / 0.8641 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.5906, allocations: 0 / 0.8641 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.5909, allocations: 360.1 kB / 0.8645 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.5911, allocations: 173.1 kB / 0.8646 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/0.5911, allocations: 80.14 kB / 0.8647 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.5912, allocations: 75.28 kB / 0.8648 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.888e-05/0.5912, allocations: 109.8 kB / 0.8649 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.5913, allocations: 0 / 0.8649 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 9.651e-05/0.5914, allocations: 33.64 kB / 0.8649 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.5914, allocations: 55.41 kB / 0.865 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.5915, allocations: 89 kB / 0.8651 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.5916, allocations: 25.7 kB / 0.8651 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.5916, allocations: 80.14 kB / 0.8652 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.5916, allocations: 0 / 0.8652 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.5916, allocations: 0 / 0.8652 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.5918, allocations: 314.8 kB / 0.8655 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.134e-06/0.5918, allocations: 4.125 kB / 0.8655 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-06/0.5918, allocations: 0 / 0.8655 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.928e-05/0.5919, allocations: 7.922 kB / 0.8655 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5919, allocations: 0 / 0.8655 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001129/0.592, allocations: 33.66 kB / 0.8655 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.592, allocations: 8 kB / 0.8655 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.592, allocations: 3.984 kB / 0.8655 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.592, allocations: 3.938 kB / 0.8655 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.405e-05/0.5921, allocations: 0 / 0.8655 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.5921, allocations: 4.094 kB / 0.8655 GB, free: 0.9648 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.614e-05/0.5921, allocations: 4 kB / 0.8655 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.5922, allocations: 0 / 0.8655 GB, free: 0.9609 MB / 0.5261 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.000108/0.5923, allocations: 176.3 kB / 0.8657 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.644e-05/0.5924, allocations: 112.9 kB / 0.8658 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.118e-05/0.5924, allocations: 104.7 kB / 0.8659 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-05/0.5925, allocations: 188.2 kB / 0.8661 GB, free: 372 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.212e-05/0.5926, allocations: 180.3 kB / 0.8663 GB, free: 184 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001051/0.5927, allocations: 176.3 kB / 0.8664 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.593, allocations: 385.7 kB / 0.8668 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.822e-05/0.5931, allocations: 101 kB / 0.8669 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.934e-05/0.5932, allocations: 101 kB / 0.867 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001304/0.5933, allocations: 188.7 kB / 0.8672 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.5934, allocations: 184.2 kB / 0.8673 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.113e-05/0.5935, allocations: 184.3 kB / 0.8675 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.089e-05/0.5936, allocations: 180.2 kB / 0.8677 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.5938, allocations: 299.8 kB / 0.868 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.5939, allocations: 193.9 kB / 0.8682 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.779e-05/0.594, allocations: 176.3 kB / 0.8683 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.495e-05/0.5941, allocations: 104.9 kB / 0.8684 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.5942, allocations: 185.5 kB / 0.8686 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/0.5943, allocations: 101 kB / 0.8687 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.303e-05/0.5943, allocations: 79.28 kB / 0.8688 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5944, allocations: 3.938 kB / 0.8688 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002566/0.5946, allocations: 3.984 kB / 0.8688 GB, free: 13.42 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.000222/0.5948, allocations: 178.5 kB / 0.869 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.565e-05/0.5949, allocations: 0 / 0.869 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5949, allocations: 7.875 kB / 0.869 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.963e-06/0.5949, allocations: 0 / 0.869 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.5954, allocations: 0.5265 MB / 0.8695 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002275/0.5956, allocations: 113.2 kB / 0.8696 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.596, allocations: 0.6768 MB / 0.8703 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.003e-05/0.596, allocations: 0 / 0.8703 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.5961, allocations: 7.438 kB / 0.8703 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of SimCode: time 6.21e-07/0.5961, allocations: 0 / 0.8703 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of Templates: time 0.002006/0.5981, allocations: 171.4 kB / 0.8704 GB, free: 11.73 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)