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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005287/0.005287, allocations: 99.86 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 192.1 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002032/0.002032, allocations: 282.2 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9178/0.9178, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 91.84 kB / 0.6815 GB, free: 6.887 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3705, allocations: 86.98 MB / 0.7664 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001637/0.3722, allocations: 0.5446 MB / 0.767 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008863/0.3731, allocations: 0.7766 MB / 0.7677 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.691e-05/0.3731, allocations: 0 / 0.7677 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.3731, allocations: 0 / 0.7677 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.356e-06/0.3732, allocations: 0 / 0.7677 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.3735, allocations: 27.91 kB / 0.7677 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.629e-05/0.3735, allocations: 0 / 0.7677 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.564e-05/0.3736, allocations: 4 kB / 0.7677 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.025e-05/0.3736, allocations: 7.938 kB / 0.7678 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.3738, allocations: 15.98 kB / 0.7678 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.3738, allocations: 0 / 0.7678 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.66e-06/0.3738, allocations: 0 / 0.7678 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.3738, allocations: 0 / 0.7678 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.906e-05/0.3738, allocations: 7.984 kB / 0.7678 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 4.949e-05/0.3739, allocations: 0 / 0.7678 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3739, allocations: 4 kB / 0.7678 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3739, allocations: 0 / 0.7678 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.3739, allocations: 0 / 0.7678 GB, free: 2.461 MB / 0.5294 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.0003185/0.3742, allocations: 311.6 kB / 0.7681 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3743, allocations: 8.031 kB / 0.7681 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.3743, allocations: 0.9375 kB / 0.7681 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.3745, allocations: 160.4 kB / 0.7682 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3745, allocations: 4.375 kB / 0.7682 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.3745, allocations: 384 / 0.7682 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.3746, allocations: 42.14 kB / 0.7683 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3746, allocations: 192 / 0.7683 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3746, allocations: 3.938 kB / 0.7683 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.3746, allocations: 0 / 0.7683 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.917e-05/0.3747, allocations: 4 kB / 0.7683 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.375, allocations: 375.5 kB / 0.7687 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.3751, allocations: 189 kB / 0.7688 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.3752, allocations: 80.14 kB / 0.7689 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.3752, allocations: 75.28 kB / 0.769 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/0.3753, allocations: 109.8 kB / 0.7691 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3753, allocations: 0 / 0.7691 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.305e-05/0.3754, allocations: 29.66 kB / 0.7691 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/0.3754, allocations: 138.7 kB / 0.7692 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.526e-05/0.3755, allocations: 89.86 kB / 0.7693 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.3755, allocations: 25.7 kB / 0.7694 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.3756, allocations: 87.94 kB / 0.7694 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-06/0.3756, allocations: 0 / 0.7694 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.3756, allocations: 13.72 kB / 0.7695 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3758, allocations: 314.8 kB / 0.7698 GB, free: 228 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.029e-05/0.3758, allocations: 4.125 kB / 0.7698 GB, free: 224 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.3758, allocations: 0 / 0.7698 GB, free: 224 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.706e-05/0.3758, allocations: 8.859 kB / 0.7698 GB, free: 212 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3758, allocations: 0 / 0.7698 GB, free: 212 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.767e-05/0.3759, allocations: 41.62 kB / 0.7698 GB, free: 164 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.376, allocations: 4 kB / 0.7698 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.376, allocations: 4 kB / 0.7698 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.376, allocations: 0 / 0.7698 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.993e-05/0.376, allocations: 0 / 0.7698 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.376, allocations: 4.094 kB / 0.7698 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.044e-05/0.3761, allocations: 3.938 kB / 0.7698 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.3761, allocations: 4 kB / 0.7698 GB, free: 144 kB / 0.5294 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.3762, allocations: 185.1 kB / 0.77 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.196e-05/0.3763, allocations: 101 kB / 0.7701 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.097e-05/0.3763, allocations: 110 kB / 0.7702 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.179e-05/0.3764, allocations: 188.2 kB / 0.7704 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.767e-05/0.3765, allocations: 180.3 kB / 0.7706 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.944e-05/0.3765, allocations: 180.2 kB / 0.7707 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.3768, allocations: 401.2 kB / 0.7711 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.855e-05/0.3768, allocations: 105 kB / 0.7712 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.3769, allocations: 104.9 kB / 0.7713 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.362e-05/0.3769, allocations: 184.3 kB / 0.7715 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.927e-05/0.377, allocations: 180.2 kB / 0.7717 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.263e-05/0.3771, allocations: 188.2 kB / 0.7718 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.423e-05/0.3772, allocations: 176.3 kB / 0.772 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.3773, allocations: 315.7 kB / 0.7723 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.473e-05/0.3774, allocations: 190 kB / 0.7725 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.537e-05/0.3775, allocations: 176.3 kB / 0.7727 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.398e-05/0.3776, allocations: 109.3 kB / 0.7728 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/0.3777, allocations: 180.2 kB / 0.7729 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.3777, allocations: 105 kB / 0.773 GB, free: 12.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.3778, allocations: 83.28 kB / 0.7731 GB, free: 12.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3778, allocations: 0 / 0.7731 GB, free: 12.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002158/0.378, allocations: 7.984 kB / 0.7731 GB, free: 12.55 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001442/0.3781, allocations: 174.5 kB / 0.7733 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.07e-05/0.3782, allocations: 7.938 kB / 0.7733 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3782, allocations: 0 / 0.7733 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.3782, allocations: 160 / 0.7733 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.3786, allocations: 459.6 kB / 0.7737 GB, free: 11.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001498/0.3787, allocations: 149.3 kB / 0.7739 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.379, allocations: 0.6806 MB / 0.7745 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.879e-06/0.379, allocations: 0 / 0.7745 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.496e-05/0.379, allocations: 7.438 kB / 0.7745 GB, free: 11.02 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.379, allocations: 0 / 0.7745 GB, free: 11.02 MB / 0.545 GB Notification: Performance of Templates: time 0.001644/0.3807, allocations: 185.8 kB / 0.7747 GB, free: 10.88 MB / 0.545 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)