Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.AggregationCellTimes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, 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.002018/0.002018, allocations: 193.9 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.383/1.383, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00235/0.00235, allocations: 291 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.056/1.056, allocations: 178.6 MB / 0.5068 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002709/0.002709, allocations: 96.61 kB / 0.6058 GB, free: 25.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1599, allocations: 89.15 MB / 0.6928 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002446/0.1624, allocations: 1.342 MB / 0.6941 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007403/0.1632, allocations: 448.9 kB / 0.6946 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.896e-05/0.1632, allocations: 0 / 0.6946 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.026e-05/0.1633, allocations: 11.92 kB / 0.6946 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.953e-05/0.1633, allocations: 0 / 0.6946 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.1635, allocations: 39.89 kB / 0.6946 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.138e-05/0.1636, allocations: 35.91 kB / 0.6947 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.1636, allocations: 3.984 kB / 0.6947 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.62e-05/0.1637, allocations: 7.938 kB / 0.6947 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.59e-05/0.1637, allocations: 15.98 kB / 0.6947 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.1638, allocations: 0 / 0.6947 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1639, allocations: 47.88 kB / 0.6947 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.1639, allocations: 19.92 kB / 0.6947 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/0.164, allocations: 15.88 kB / 0.6948 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.1641, allocations: 64.09 kB / 0.6948 GB, free: 2.727 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1641, allocations: 0 / 0.6948 GB, free: 2.727 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1641, allocations: 3.984 kB / 0.6948 GB, free: 2.723 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.1641, allocations: 0 / 0.6948 GB, free: 2.723 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003754/0.1645, allocations: 343.5 kB / 0.6952 GB, free: 2.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1645, allocations: 8.031 kB / 0.6952 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.1646, allocations: 8.844 kB / 0.6952 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.1647, allocations: 172.3 kB / 0.6953 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.1648, allocations: 384 / 0.6953 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.1648, allocations: 8.375 kB / 0.6953 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.706e-05/0.1649, allocations: 43.73 kB / 0.6954 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.1649, allocations: 3.938 kB / 0.6954 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.1649, allocations: 3.938 kB / 0.6954 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.1649, allocations: 4 kB / 0.6954 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.32e-05/0.1649, allocations: 7.984 kB / 0.6954 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.1651, allocations: 174.5 kB / 0.6956 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.324e-05/0.1652, allocations: 37.16 kB / 0.6956 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.474e-05/0.1652, allocations: 21.77 kB / 0.6956 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.1652, allocations: 4 kB / 0.6956 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.1653, allocations: 34.5 kB / 0.6957 GB, free: 1.684 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1653, allocations: 4 kB / 0.6957 GB, free: 1.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001208/0.1654, allocations: 49.62 kB / 0.6957 GB, free: 1.625 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.1655, allocations: 81.05 kB / 0.6958 GB, free: 1.527 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.1656, allocations: 144.3 kB / 0.6959 GB, free: 1.379 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.1656, allocations: 25.7 kB / 0.696 GB, free: 1.348 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.1657, allocations: 88.12 kB / 0.696 GB, free: 1.258 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.1657, allocations: 7.906 kB / 0.696 GB, free: 1.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.1657, allocations: 29.95 kB / 0.6961 GB, free: 1.215 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1659, allocations: 314.8 kB / 0.6964 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.563e-05/0.1659, allocations: 31.92 kB / 0.6964 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.559e-05/0.166, allocations: 27.98 kB / 0.6964 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.351e-05/0.166, allocations: 43.84 kB / 0.6965 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1661, allocations: 0 / 0.6965 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001326/0.1662, allocations: 101.6 kB / 0.6966 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1662, allocations: 11.94 kB / 0.6966 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.1662, allocations: 0 / 0.6966 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.1662, allocations: 4 kB / 0.6966 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.531e-05/0.1663, allocations: 4 kB / 0.6966 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1663, allocations: 0 / 0.6966 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/0.1663, allocations: 7.844 kB / 0.6966 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1664, allocations: 4 kB / 0.6966 GB, free: 0.6602 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.877e-05/0.1664, allocations: 117.8 kB / 0.6967 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.1665, allocations: 7.844 kB / 0.6967 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.177e-05/0.1665, allocations: 11.53 kB / 0.6967 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.1665, allocations: 0 / 0.6967 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1665, allocations: 4 kB / 0.6967 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1665, allocations: 0 / 0.6967 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.1666, allocations: 161.7 kB / 0.6969 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1666, allocations: 4.031 kB / 0.6969 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.037e-05/0.1667, allocations: 4 kB / 0.6969 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.1667, allocations: 7.922 kB / 0.6969 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.1667, allocations: 0 / 0.6969 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.1667, allocations: 7.984 kB / 0.6969 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1667, allocations: 0 / 0.6969 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.977e-05/0.1668, allocations: 73.94 kB / 0.697 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.1668, allocations: 88.94 kB / 0.6971 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.1669, allocations: 0 / 0.6971 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.647e-05/0.1669, allocations: 0 / 0.6971 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.217e-06/0.1669, allocations: 4 kB / 0.6971 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.1669, allocations: 0 / 0.6971 GB, free: 80 kB / 494.1 MB Notification: Performance of sorting global known variables: time 7.878e-05/0.167, allocations: 103.3 kB / 0.6972 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.167, allocations: 4.031 kB / 0.6972 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002065/0.1672, allocations: 15.98 kB / 0.6972 GB, free: 15.96 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001613/0.1674, allocations: 123.2 kB / 0.6973 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001342/0.1675, allocations: 81.62 kB / 0.6974 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1675, allocations: 0 / 0.6974 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.483e-05/0.1676, allocations: 15.92 kB / 0.6974 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.1677, allocations: 4.594 kB / 0.6974 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.168, allocations: 156.2 kB / 0.6976 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.1683, allocations: 0.6809 MB / 0.6982 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.354e-05/0.1683, allocations: 7.984 kB / 0.6982 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.166e-05/0.1684, allocations: 7.438 kB / 0.6982 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1684, allocations: 0 / 0.6982 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.002806/0.1712, allocations: 0.5447 MB / 0.6988 GB, free: 14.32 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)