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.001552/0.001552, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001329/0.00133, allocations: 196.8 kB / 16.14 MB, free: 6.715 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002507/0.002507, allocations: 274.9 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.148/1.148, allocations: 178.6 MB / 0.5068 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002654/0.002654, allocations: 96.09 kB / 0.6058 GB, free: 25.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1591, allocations: 89.15 MB / 0.6928 GB, free: 4.762 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.00181/0.1609, allocations: 0.5999 MB / 0.6934 GB, free: 4.172 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000921/0.1619, allocations: 0.7863 MB / 0.6942 GB, free: 3.375 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.836e-06/0.1619, allocations: 0 / 0.6942 GB, free: 3.375 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.1619, allocations: 0.625 kB / 0.6942 GB, free: 3.375 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.009e-06/0.1619, allocations: 1.969 kB / 0.6942 GB, free: 3.375 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.1622, allocations: 11.97 kB / 0.6942 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.342e-05/0.1622, allocations: 8 kB / 0.6942 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.42e-05/0.1623, allocations: 0 / 0.6942 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.074e-05/0.1623, allocations: 0 / 0.6942 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.1624, allocations: 18.83 kB / 0.6942 GB, free: 3.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.243e-06/0.1624, allocations: 0 / 0.6942 GB, free: 3.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.466e-06/0.1624, allocations: 0 / 0.6942 GB, free: 3.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.365e-06/0.1624, allocations: 0 / 0.6942 GB, free: 3.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.693e-05/0.1625, allocations: 0 / 0.6942 GB, free: 3.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.912e-05/0.1625, allocations: 13.95 kB / 0.6942 GB, free: 3.328 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1625, allocations: 0 / 0.6942 GB, free: 3.328 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.1625, allocations: 3.938 kB / 0.6942 GB, free: 3.324 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.1625, allocations: 0 / 0.6942 GB, free: 3.324 MB / 494.1 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.0002949/0.1628, allocations: 317.9 kB / 0.6945 GB, free: 2.965 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1629, allocations: 8.031 kB / 0.6946 GB, free: 2.957 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.1629, allocations: 4.938 kB / 0.6946 GB, free: 2.953 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.163, allocations: 160.4 kB / 0.6947 GB, free: 2.758 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.163, allocations: 384 / 0.6947 GB, free: 2.758 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-06/0.163, allocations: 384 / 0.6947 GB, free: 2.758 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.126e-05/0.1631, allocations: 30.27 kB / 0.6947 GB, free: 2.723 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.1631, allocations: 192 / 0.6947 GB, free: 2.723 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1631, allocations: 3.938 kB / 0.6947 GB, free: 2.719 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1631, allocations: 0 / 0.6947 GB, free: 2.719 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.625e-05/0.1632, allocations: 3.984 kB / 0.6948 GB, free: 2.715 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.1635, allocations: 387.5 kB / 0.6951 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.719e-05/0.1636, allocations: 169.1 kB / 0.6953 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.096e-05/0.1636, allocations: 80.14 kB / 0.6954 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.1637, allocations: 75.28 kB / 0.6954 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.334e-05/0.1637, allocations: 113.9 kB / 0.6955 GB, free: 1.832 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1637, allocations: 0 / 0.6955 GB, free: 1.832 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.016e-05/0.1638, allocations: 41.56 kB / 0.6956 GB, free: 1.785 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.1639, allocations: 126.7 kB / 0.6957 GB, free: 1.648 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.75e-05/0.164, allocations: 93.86 kB / 0.6958 GB, free: 1.547 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.164, allocations: 25.7 kB / 0.6958 GB, free: 1.516 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.164, allocations: 80.27 kB / 0.6959 GB, free: 1.434 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.164, allocations: 4 kB / 0.6959 GB, free: 1.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.1641, allocations: 13.62 kB / 0.6959 GB, free: 1.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1642, allocations: 318.8 kB / 0.6962 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.504e-06/0.1642, allocations: 0 / 0.6962 GB, free: 1.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.188e-06/0.1642, allocations: 0 / 0.6962 GB, free: 1.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.189e-05/0.1643, allocations: 8.844 kB / 0.6962 GB, free: 1.078 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.1643, allocations: 4 kB / 0.6962 GB, free: 1.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.442e-05/0.1644, allocations: 45.58 kB / 0.6963 GB, free: 1.023 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.1644, allocations: 4 kB / 0.6963 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.1644, allocations: 0 / 0.6963 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1644, allocations: 3.984 kB / 0.6963 GB, free: 1.016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.218e-05/0.1644, allocations: 4 kB / 0.6963 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1645, allocations: 0 / 0.6963 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.749e-06/0.1645, allocations: 0 / 0.6963 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.1645, allocations: 0 / 0.6963 GB, free: 1.012 MB / 494.1 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 0.0001026/0.1646, allocations: 190 kB / 0.6965 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.1647, allocations: 113 kB / 0.6966 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.1647, allocations: 108 kB / 0.6967 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.887e-05/0.1648, allocations: 176.3 kB / 0.6968 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.801e-05/0.1649, allocations: 180.2 kB / 0.697 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.319e-05/0.1649, allocations: 180.3 kB / 0.6972 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.1652, allocations: 413.1 kB / 0.6976 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.021e-05/0.1653, allocations: 101 kB / 0.6977 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.1653, allocations: 101 kB / 0.6978 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-05/0.1654, allocations: 192.2 kB / 0.698 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-05/0.1655, allocations: 176.3 kB / 0.6981 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.202e-05/0.1655, allocations: 180.4 kB / 0.6983 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.596e-05/0.1656, allocations: 188.3 kB / 0.6985 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.1658, allocations: 307.7 kB / 0.6988 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.384e-05/0.1659, allocations: 182.1 kB / 0.6989 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.152e-05/0.166, allocations: 184.2 kB / 0.6991 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.89e-05/0.166, allocations: 105 kB / 0.6992 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.962e-05/0.1661, allocations: 176.3 kB / 0.6994 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.317e-05/0.1662, allocations: 112.9 kB / 0.6995 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.448e-05/0.1662, allocations: 75.28 kB / 0.6996 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1662, allocations: 0 / 0.6996 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002063/0.1664, allocations: 0 / 0.6996 GB, free: 13.43 MB / 0.4981 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.0001388/0.1666, allocations: 186.6 kB / 0.6997 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.714e-05/0.1666, allocations: 0 / 0.6997 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1667, allocations: 0 / 0.6997 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/0.1667, allocations: 4 kB / 0.6997 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.1671, allocations: 0.5301 MB / 0.7003 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001669/0.1672, allocations: 154 kB / 0.7004 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.1675, allocations: 0.6692 MB / 0.7011 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.578e-06/0.1675, allocations: 0 / 0.7011 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.1676, allocations: 7.438 kB / 0.7011 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1676, allocations: 0 / 0.7011 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of Templates: time 0.00202/0.1696, allocations: 190.8 kB / 0.7013 GB, free: 11.67 MB / 0.4981 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)