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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.8805/0.8805, allocations: 140.1 MB / 156 MB, free: 5.176 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 183 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.4 MB / 426.3 MB, free: 8.473 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000848/0.000848, allocations: 86.34 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001633/0.001633, allocations: 283.7 kB / 0.5729 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004856, allocations: 20 kB / 0.6621 GB, free: 6.777 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3798, allocations: 79.29 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.5097, allocations: 107.2 MB / 0.8442 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.51, allocations: 99.92 kB / 0.8443 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.001454/0.5115, allocations: 0.6804 MB / 0.8449 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5115, allocations: 0 / 0.8449 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.5115, allocations: 0 / 0.8449 GB, free: 2.266 MB / 0.5105 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.0002476/0.5117, allocations: 319.5 kB / 0.8452 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.5118, allocations: 12.03 kB / 0.8452 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.5118, allocations: 0.9375 kB / 0.8452 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.395e-05/0.5119, allocations: 164.3 kB / 0.8454 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.5119, allocations: 384 / 0.8454 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-06/0.512, allocations: 384 / 0.8454 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.063e-05/0.5121, allocations: 34.27 kB / 0.8454 GB, free: 1.652 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.5121, allocations: 192 / 0.8454 GB, free: 1.652 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.5121, allocations: 3.938 kB / 0.8454 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.5121, allocations: 0 / 0.8454 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.698e-05/0.5121, allocations: 0 / 0.8454 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.5124, allocations: 383.5 kB / 0.8458 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.518e-05/0.5125, allocations: 181 kB / 0.846 GB, free: 1.035 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.976e-05/0.5126, allocations: 84.08 kB / 0.8461 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.5126, allocations: 75.28 kB / 0.8461 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.5126, allocations: 105.8 kB / 0.8462 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.5127, allocations: 0 / 0.8462 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 6.964e-05/0.5127, allocations: 33.67 kB / 0.8463 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/0.5128, allocations: 134.7 kB / 0.8464 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.918e-05/0.5129, allocations: 89.86 kB / 0.8465 GB, free: 492 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.5129, allocations: 29.7 kB / 0.8465 GB, free: 456 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.513, allocations: 90.23 kB / 0.8466 GB, free: 364 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.513, allocations: 0 / 0.8466 GB, free: 364 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-06/0.513, allocations: 0 / 0.8466 GB, free: 364 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5131, allocations: 310.8 kB / 0.8469 GB, free: 44 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.351e-06/0.5131, allocations: 0 / 0.8469 GB, free: 44 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-06/0.5131, allocations: 4.125 kB / 0.8469 GB, free: 40 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.407e-05/0.5132, allocations: 8.859 kB / 0.8469 GB, free: 28 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5132, allocations: 0 / 0.8469 GB, free: 28 kB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001189/0.5133, allocations: 41.56 kB / 0.8469 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.5133, allocations: 4 kB / 0.8469 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.5133, allocations: 3.984 kB / 0.8469 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.5133, allocations: 4 kB / 0.847 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.991e-05/0.5134, allocations: 0 / 0.847 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.5134, allocations: 0 / 0.847 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.016e-05/0.5134, allocations: 4.094 kB / 0.847 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.5134, allocations: 0 / 0.847 GB, free: 15.96 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 () * Number of clocked 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.0001131/0.5135, allocations: 193.1 kB / 0.8471 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.5136, allocations: 104.9 kB / 0.8472 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.004e-05/0.5137, allocations: 112 kB / 0.8473 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.541e-05/0.5137, allocations: 176.3 kB / 0.8475 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.938e-05/0.5138, allocations: 188.2 kB / 0.8477 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.711e-05/0.5139, allocations: 180.3 kB / 0.8479 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.5141, allocations: 401.2 kB / 0.8483 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.553e-05/0.5142, allocations: 108.9 kB / 0.8484 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.5142, allocations: 101.4 kB / 0.8485 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.93e-05/0.5143, allocations: 184.2 kB / 0.8486 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.686e-05/0.5144, allocations: 184.3 kB / 0.8488 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-05/0.5144, allocations: 184.2 kB / 0.849 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.137e-05/0.5145, allocations: 180.2 kB / 0.8491 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.5146, allocations: 307.7 kB / 0.8494 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.457e-05/0.5147, allocations: 186.1 kB / 0.8496 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.877e-05/0.5148, allocations: 176.3 kB / 0.8498 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.382e-05/0.5149, allocations: 104.9 kB / 0.8499 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/0.515, allocations: 184.2 kB / 0.8501 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.139e-05/0.515, allocations: 108.9 kB / 0.8502 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.855e-05/0.5151, allocations: 79.28 kB / 0.8502 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.5151, allocations: 0 / 0.8502 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002414/0.5153, allocations: 4 kB / 0.8502 GB, free: 12.37 MB / 0.5261 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 (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.0001391/0.5155, allocations: 182.5 kB / 0.8504 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.996e-05/0.5155, allocations: 0.8906 kB / 0.8504 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5155, allocations: 4 kB / 0.8504 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.5156, allocations: 0 / 0.8504 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.516, allocations: 0.5246 MB / 0.8509 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001947/0.5162, allocations: 150 kB / 0.8511 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.5164, allocations: 0.6692 MB / 0.8517 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.292e-05/0.5164, allocations: 3.984 kB / 0.8517 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.704e-05/0.5165, allocations: 11.44 kB / 0.8518 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of SimCode: time 2e-07/0.5165, allocations: 0 / 0.8518 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of Templates: time 0.001749/0.5182, allocations: 176.3 kB / 0.8519 GB, free: 10.64 MB / 0.5261 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)