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.004778/0.004778, allocations: 106.8 kB / 15.74 MB, free: 6.039 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.001111/0.001111, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002035/0.002035, allocations: 278.7 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9357/0.9357, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001743, allocations: 103.8 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1502, allocations: 86.96 MB / 0.7664 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001547/0.1517, allocations: 0.5479 MB / 0.767 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000858/0.1526, allocations: 0.7767 MB / 0.7677 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.66e-05/0.1526, allocations: 0 / 0.7677 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.1527, allocations: 3.938 kB / 0.7677 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.909e-06/0.1527, allocations: 0 / 0.7677 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.1529, allocations: 19.92 kB / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.681e-05/0.153, allocations: 3.984 kB / 0.7677 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.153, allocations: 3.984 kB / 0.7677 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.334e-05/0.1531, allocations: 4 kB / 0.7677 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.1532, allocations: 20 kB / 0.7678 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.344e-06/0.1532, allocations: 0 / 0.7678 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.936e-06/0.1532, allocations: 0 / 0.7678 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.1532, allocations: 0 / 0.7678 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.457e-05/0.1532, allocations: 0 / 0.7678 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 3.413e-05/0.1533, allocations: 7.969 kB / 0.7678 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1533, allocations: 0 / 0.7678 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1533, allocations: 3.938 kB / 0.7678 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.1533, allocations: 4 kB / 0.7678 GB, free: 7.008 MB / 0.5606 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.0002313/0.1535, allocations: 310 kB / 0.7681 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.1536, allocations: 8.031 kB / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.1536, allocations: 0.9375 kB / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.241e-05/0.1537, allocations: 164.4 kB / 0.7682 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1537, allocations: 4.359 kB / 0.7682 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-06/0.1537, allocations: 384 / 0.7682 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.611e-05/0.1538, allocations: 30.27 kB / 0.7683 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1538, allocations: 4.125 kB / 0.7683 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1538, allocations: 11.88 kB / 0.7683 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1538, allocations: 0 / 0.7683 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.604e-05/0.1539, allocations: 4 kB / 0.7683 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.1541, allocations: 367.5 kB / 0.7686 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.221e-05/0.1542, allocations: 181.1 kB / 0.7688 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.84e-05/0.1542, allocations: 84.14 kB / 0.7689 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.1543, allocations: 79.22 kB / 0.769 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.1543, allocations: 105.8 kB / 0.7691 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.1543, allocations: 0 / 0.7691 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.072e-05/0.1544, allocations: 25.7 kB / 0.7691 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.1544, allocations: 130.7 kB / 0.7692 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.1545, allocations: 97.86 kB / 0.7693 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.1545, allocations: 25.7 kB / 0.7693 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.255e-05/0.1546, allocations: 84.05 kB / 0.7694 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-06/0.1546, allocations: 0 / 0.7694 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.1546, allocations: 17.7 kB / 0.7694 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.425e-05/0.1547, allocations: 310.8 kB / 0.7697 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.141e-06/0.1547, allocations: 0 / 0.7697 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-06/0.1547, allocations: 3.938 kB / 0.7697 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.087e-05/0.1547, allocations: 13.05 kB / 0.7698 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1547, allocations: 0 / 0.7698 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.228e-05/0.1548, allocations: 37.64 kB / 0.7698 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1548, allocations: 10.34 kB / 0.7698 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1549, allocations: 3.984 kB / 0.7698 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.1549, allocations: 0 / 0.7698 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.27e-05/0.1549, allocations: 0 / 0.7698 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1549, allocations: 3.984 kB / 0.7698 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.512e-05/0.1549, allocations: 3.938 kB / 0.7698 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.155, allocations: 8.031 kB / 0.7698 GB, free: 4.695 MB / 0.5606 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 7.192e-05/0.155, allocations: 185.7 kB / 0.77 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.1551, allocations: 104.9 kB / 0.7701 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.1551, allocations: 104.1 kB / 0.7702 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.244e-05/0.1552, allocations: 192.2 kB / 0.7704 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.277e-05/0.1552, allocations: 188.8 kB / 0.7706 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.952e-05/0.1553, allocations: 176.3 kB / 0.7707 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.1555, allocations: 409 kB / 0.7711 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.998e-05/0.1555, allocations: 101 kB / 0.7712 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.1556, allocations: 112.9 kB / 0.7713 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.228e-05/0.1556, allocations: 176.4 kB / 0.7715 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/0.1557, allocations: 188.3 kB / 0.7717 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.182e-05/0.1557, allocations: 184.2 kB / 0.7718 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.546e-05/0.1558, allocations: 176.3 kB / 0.772 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.1559, allocations: 311.7 kB / 0.7723 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.156, allocations: 186 kB / 0.7725 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.094e-05/0.156, allocations: 176.3 kB / 0.7727 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.1561, allocations: 109 kB / 0.7728 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.1562, allocations: 184.2 kB / 0.7729 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.1562, allocations: 101 kB / 0.773 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.823e-05/0.1562, allocations: 75.28 kB / 0.7731 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1562, allocations: 8.094 kB / 0.7731 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002046/0.1564, allocations: 0 / 0.7731 GB, free: 1.102 MB / 0.5606 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.0001158/0.1566, allocations: 178.5 kB / 0.7733 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.571e-05/0.1566, allocations: 11.92 kB / 0.7733 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1566, allocations: 0 / 0.7733 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.1566, allocations: 0 / 0.7733 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.157, allocations: 463.2 kB / 0.7737 GB, free: 460 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000174/0.1571, allocations: 156.4 kB / 0.7739 GB, free: 276 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2905/0.4476, allocations: 0.669 MB / 0.7745 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.716e-05/0.4477, allocations: 0 / 0.7745 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.4477, allocations: 7.438 kB / 0.7745 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/0.4477, allocations: 0 / 0.7745 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.001886/0.4496, allocations: 183.4 kB / 0.7747 GB, free: 15.16 MB / 0.5606 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)