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.8311/0.8311, allocations: 143.4 MB / 159.2 MB, free: 4.871 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.001206/0.001206, allocations: 188.5 kB / 191.9 MB, free: 5.707 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.372/1.372, allocations: 222.9 MB / 447.3 MB, free: 5.832 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.001085/0.001085, allocations: 95.69 kB / 0.517 GB, free: 3.699 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001842/0.001842, allocations: 279.8 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 79.88 kB / 0.6886 GB, free: 3.781 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3259, allocations: 81.3 MB / 0.768 GB, free: 27.62 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001746/0.3277, allocations: 0.5962 MB / 0.7685 GB, free: 27.04 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007876/0.3285, allocations: 0.7826 MB / 0.7693 GB, free: 26.25 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.214e-05/0.3285, allocations: 0 / 0.7693 GB, free: 26.25 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.3285, allocations: 3.938 kB / 0.7693 GB, free: 26.24 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.1e-06/0.3285, allocations: 4 kB / 0.7693 GB, free: 26.24 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.3288, allocations: 19.97 kB / 0.7693 GB, free: 26.22 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 3.893e-05/0.3288, allocations: 4 kB / 0.7693 GB, free: 26.21 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.3289, allocations: 0 / 0.7693 GB, free: 26.21 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.359e-05/0.3289, allocations: 0 / 0.7693 GB, free: 26.21 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.329, allocations: 15.98 kB / 0.7694 GB, free: 26.2 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.186e-06/0.329, allocations: 0 / 0.7694 GB, free: 26.2 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.767e-06/0.3291, allocations: 4 kB / 0.7694 GB, free: 26.2 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.257e-06/0.3291, allocations: 0 / 0.7694 GB, free: 26.2 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.3291, allocations: 7.922 kB / 0.7694 GB, free: 26.19 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 3.231e-05/0.3291, allocations: 0 / 0.7694 GB, free: 26.19 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3291, allocations: 4 kB / 0.7694 GB, free: 26.18 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3291, allocations: 0 / 0.7694 GB, free: 26.18 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.3291, allocations: 3.938 kB / 0.7694 GB, free: 26.18 MB / 458.7 MB 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.0002134/0.3294, allocations: 311.5 kB / 0.7697 GB, free: 25.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3294, allocations: 12.09 kB / 0.7697 GB, free: 25.81 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.703e-05/0.3294, allocations: 0.9375 kB / 0.7697 GB, free: 25.81 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.299e-05/0.3295, allocations: 164.4 kB / 0.7698 GB, free: 25.61 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.3295, allocations: 384 / 0.7698 GB, free: 25.61 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.3295, allocations: 384 / 0.7698 GB, free: 25.61 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.294e-05/0.3296, allocations: 30.27 kB / 0.7699 GB, free: 25.58 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.3296, allocations: 192 / 0.7699 GB, free: 25.58 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.3296, allocations: 3.938 kB / 0.7699 GB, free: 25.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.3296, allocations: 0 / 0.7699 GB, free: 25.57 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.611e-05/0.3297, allocations: 0 / 0.7699 GB, free: 25.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.3299, allocations: 387.5 kB / 0.7702 GB, free: 25.14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.9e-05/0.3299, allocations: 169.1 kB / 0.7704 GB, free: 24.97 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.33, allocations: 84.14 kB / 0.7705 GB, free: 24.88 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.33, allocations: 75.28 kB / 0.7706 GB, free: 24.81 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.33, allocations: 109.8 kB / 0.7707 GB, free: 24.69 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.33, allocations: 4.031 kB / 0.7707 GB, free: 24.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 6.345e-05/0.3301, allocations: 33.62 kB / 0.7707 GB, free: 24.65 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.3301, allocations: 126.7 kB / 0.7708 GB, free: 24.51 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.545e-05/0.3302, allocations: 89.86 kB / 0.7709 GB, free: 24.41 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.41e-06/0.3302, allocations: 25.7 kB / 0.7709 GB, free: 24.38 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.837e-05/0.3302, allocations: 86.81 kB / 0.771 GB, free: 24.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-06/0.3302, allocations: 0 / 0.771 GB, free: 24.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.3302, allocations: 17.84 kB / 0.771 GB, free: 24.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.26e-05/0.3303, allocations: 310.8 kB / 0.7713 GB, free: 23.96 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-06/0.3303, allocations: 4 kB / 0.7713 GB, free: 23.96 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.088e-06/0.3303, allocations: 3.969 kB / 0.7713 GB, free: 23.95 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.035e-05/0.3303, allocations: 12.8 kB / 0.7713 GB, free: 23.94 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3304, allocations: 0 / 0.7713 GB, free: 23.94 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.912e-05/0.3304, allocations: 45.56 kB / 0.7714 GB, free: 23.89 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.3305, allocations: 9.656 kB / 0.7714 GB, free: 23.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3305, allocations: 0 / 0.7714 GB, free: 23.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.3305, allocations: 0 / 0.7714 GB, free: 23.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.664e-05/0.3305, allocations: 0 / 0.7714 GB, free: 23.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3305, allocations: 4 kB / 0.7714 GB, free: 23.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.169e-05/0.3306, allocations: 4 kB / 0.7714 GB, free: 23.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-06/0.3306, allocations: 0 / 0.7714 GB, free: 23.87 MB / 458.7 MB 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 5.208e-05/0.3306, allocations: 185.1 kB / 0.7716 GB, free: 23.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.3307, allocations: 108.9 kB / 0.7717 GB, free: 23.57 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.3307, allocations: 116 kB / 0.7718 GB, free: 23.45 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.446e-05/0.3307, allocations: 176.3 kB / 0.772 GB, free: 23.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.531e-05/0.3308, allocations: 184.2 kB / 0.7721 GB, free: 23.08 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.432e-05/0.3308, allocations: 188.3 kB / 0.7723 GB, free: 22.89 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.3309, allocations: 401.2 kB / 0.7727 GB, free: 22.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.3309, allocations: 108.9 kB / 0.7728 GB, free: 22.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.458e-05/0.331, allocations: 101 kB / 0.7729 GB, free: 22.22 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-05/0.331, allocations: 184.2 kB / 0.7731 GB, free: 22.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.331, allocations: 184.2 kB / 0.7733 GB, free: 21.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.309e-05/0.331, allocations: 180.2 kB / 0.7734 GB, free: 21.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.268e-05/0.3311, allocations: 176.3 kB / 0.7736 GB, free: 21.48 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.3312, allocations: 0.8415 MB / 0.7744 GB, free: 20.58 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.428e-05/0.3313, allocations: 186.3 kB / 0.7746 GB, free: 20.37 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.3313, allocations: 184.2 kB / 0.7748 GB, free: 20.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.032e-05/0.3314, allocations: 112.9 kB / 0.7749 GB, free: 20.07 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/0.3314, allocations: 180.3 kB / 0.775 GB, free: 19.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.3314, allocations: 104.9 kB / 0.7751 GB, free: 19.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.782e-05/0.3315, allocations: 79.28 kB / 0.7752 GB, free: 19.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3315, allocations: 0 / 0.7752 GB, free: 19.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003137/0.3318, allocations: 0 / 0.7752 GB, free: 19.7 MB / 458.7 MB 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.0001111/0.3319, allocations: 187.1 kB / 0.7754 GB, free: 19.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 4.765e-05/0.3319, allocations: 4 kB / 0.7754 GB, free: 19.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.332, allocations: 0 / 0.7754 GB, free: 19.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.332, allocations: 3.938 kB / 0.7754 GB, free: 19.49 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.3322, allocations: 0.5301 MB / 0.7759 GB, free: 18.96 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001524/0.3324, allocations: 150.1 kB / 0.7761 GB, free: 18.79 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.698e-05/0.3325, allocations: 0.6692 MB / 0.7767 GB, free: 18.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.22e-05/0.3325, allocations: 0 / 0.7767 GB, free: 18.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.242e-05/0.3325, allocations: 7.438 kB / 0.7767 GB, free: 18.08 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3325, allocations: 3.938 kB / 0.7767 GB, free: 18.08 MB / 458.7 MB Notification: Performance of Templates: time 0.001655/0.3342, allocations: 184.6 kB / 0.7769 GB, free: 17.95 MB / 458.7 MB 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)