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.851/0.851, allocations: 141.8 MB / 149.3 MB, free: 9.234 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.001084/0.001084, allocations: 176.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.369/1.369, allocations: 221.5 MB / 436.4 MB, free: 13.38 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.0008598/0.0008597, allocations: 104 kB / 0.5074 GB, free: 10.2 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001688/0.001688, allocations: 288.2 kB / 0.5889 GB, free: 54.7 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.923e-05/1.923e-05, allocations: 4 kB / 0.6766 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3829, allocations: 82.78 MB / 0.7574 GB, free: 32.05 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1326/0.5155, allocations: 108 MB / 0.8628 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.5159, allocations: 107.8 kB / 0.863 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001607/0.5175, allocations: 0.6927 MB / 0.8636 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5175, allocations: 0 / 0.8636 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.5175, allocations: 0 / 0.8636 GB, free: 3.148 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.0002291/0.5177, allocations: 314.5 kB / 0.8639 GB, free: 2.797 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.5178, allocations: 8.031 kB / 0.8639 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.5178, allocations: 4 kB / 0.8639 GB, free: 2.785 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.943e-05/0.5179, allocations: 167.1 kB / 0.8641 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.5179, allocations: 3.953 kB / 0.8641 GB, free: 2.578 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.5179, allocations: 0 / 0.8641 GB, free: 2.578 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.358e-05/0.518, allocations: 3.938 kB / 0.8641 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.85e-05/0.518, allocations: 25.7 kB / 0.8641 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.5181, allocations: 4 kB / 0.8641 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.5181, allocations: 0 / 0.8641 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.5181, allocations: 0 / 0.8641 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002904/0.5184, allocations: 360 kB / 0.8645 GB, free: 2.148 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.884e-05/0.5185, allocations: 173.2 kB / 0.8646 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.986e-05/0.5185, allocations: 88.08 kB / 0.8647 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.5185, allocations: 75.28 kB / 0.8648 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/0.5186, allocations: 105.8 kB / 0.8649 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.5186, allocations: 4 kB / 0.8649 GB, free: 1.688 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 6.77e-05/0.5187, allocations: 25.7 kB / 0.8649 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.5187, allocations: 55.34 kB / 0.865 GB, free: 1.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.593e-05/0.5188, allocations: 89 kB / 0.8651 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.5188, allocations: 29.69 kB / 0.8651 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/0.5189, allocations: 80.14 kB / 0.8652 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-06/0.5189, allocations: 7.938 kB / 0.8652 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-06/0.5189, allocations: 0 / 0.8652 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.519, allocations: 315 kB / 0.8655 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.691e-06/0.519, allocations: 0 / 0.8655 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.609e-06/0.519, allocations: 4 kB / 0.8655 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.319e-05/0.519, allocations: 3.938 kB / 0.8655 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.519, allocations: 0 / 0.8655 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.292e-05/0.5191, allocations: 33.66 kB / 0.8655 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.5192, allocations: 4 kB / 0.8655 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.5192, allocations: 4 kB / 0.8655 GB, free: 1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.5192, allocations: 96 / 0.8655 GB, free: 1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.961e-05/0.5192, allocations: 4 kB / 0.8655 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.5192, allocations: 0 / 0.8655 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.193e-05/0.5193, allocations: 3.984 kB / 0.8655 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.5193, allocations: 0 / 0.8655 GB, free: 0.9922 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 9.265e-05/0.5194, allocations: 180.3 kB / 0.8657 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.025e-05/0.5194, allocations: 108.9 kB / 0.8658 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.766e-05/0.5195, allocations: 104.7 kB / 0.8659 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.937e-05/0.5196, allocations: 184.3 kB / 0.8661 GB, free: 408 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-05/0.5197, allocations: 180.3 kB / 0.8663 GB, free: 220 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.825e-05/0.5197, allocations: 184.2 kB / 0.8664 GB, free: 28 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.52, allocations: 373.8 kB / 0.8668 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.268e-05/0.52, allocations: 101 kB / 0.8669 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.715e-05/0.5201, allocations: 112.9 kB / 0.867 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.787e-05/0.5202, allocations: 180.7 kB / 0.8672 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-05/0.5203, allocations: 180.2 kB / 0.8673 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.008e-05/0.5204, allocations: 184.2 kB / 0.8675 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.988e-05/0.5204, allocations: 188.2 kB / 0.8677 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.5206, allocations: 303.8 kB / 0.868 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.791e-05/0.5207, allocations: 186 kB / 0.8682 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.367e-05/0.5207, allocations: 184.2 kB / 0.8683 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.5208, allocations: 108.9 kB / 0.8684 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.5209, allocations: 181.5 kB / 0.8686 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.296e-05/0.5209, allocations: 112.9 kB / 0.8687 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.939e-05/0.521, allocations: 75.28 kB / 0.8688 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.521, allocations: 0 / 0.8688 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002143/0.5212, allocations: 0 / 0.8688 GB, free: 13.45 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.0001333/0.5213, allocations: 178.5 kB / 0.869 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 4.979e-05/0.5214, allocations: 0 / 0.869 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5214, allocations: 0 / 0.869 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.5214, allocations: 4.156 kB / 0.869 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.5217, allocations: 0.5224 MB / 0.8695 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001493/0.5218, allocations: 119.3 kB / 0.8696 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.522, allocations: 0.6729 MB / 0.8702 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.13e-05/0.5221, allocations: 0 / 0.8702 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.565e-05/0.5221, allocations: 15.38 kB / 0.8703 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of SimCode: time 2.1e-07/0.5221, allocations: 0 / 0.8703 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of Templates: time 0.001668/0.5238, allocations: 167.1 kB / 0.8704 GB, free: 11.75 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)