Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.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.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, 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.001347/0.001347, allocations: 196.7 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.44/1.44, 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.00252/0.00252, allocations: 267 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.08/1.08, allocations: 178.6 MB / 0.5068 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002857/0.002858, allocations: 101.2 kB / 0.6058 GB, free: 25.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1722, allocations: 89.14 MB / 0.6928 GB, free: 4.809 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002863/0.1751, allocations: 1.308 MB / 0.6941 GB, free: 3.496 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009544/0.1761, allocations: 496.7 kB / 0.6946 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.789e-05/0.1762, allocations: 0 / 0.6946 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.696e-05/0.1762, allocations: 0 / 0.6946 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.252e-05/0.1763, allocations: 4 kB / 0.6946 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.1766, allocations: 43.88 kB / 0.6946 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.684e-05/0.1767, allocations: 19.98 kB / 0.6947 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.1767, allocations: 4 kB / 0.6947 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.019e-05/0.1767, allocations: 4 kB / 0.6947 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.146e-05/0.1768, allocations: 11.98 kB / 0.6947 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.1768, allocations: 3.984 kB / 0.6947 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.177, allocations: 67.86 kB / 0.6947 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.778e-05/0.177, allocations: 11.92 kB / 0.6947 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.1771, allocations: 8 kB / 0.6948 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.1772, allocations: 64.11 kB / 0.6948 GB, free: 2.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1773, allocations: 0 / 0.6948 GB, free: 2.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1773, allocations: 0 / 0.6948 GB, free: 2.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1773, allocations: 0 / 0.6948 GB, free: 2.77 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004548/0.1777, allocations: 347.5 kB / 0.6952 GB, free: 2.383 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1778, allocations: 8.031 kB / 0.6952 GB, free: 2.375 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.1778, allocations: 4.922 kB / 0.6952 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.178, allocations: 168.3 kB / 0.6953 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.178, allocations: 4.375 kB / 0.6953 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.178, allocations: 384 / 0.6953 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.1781, allocations: 54 kB / 0.6954 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1782, allocations: 0 / 0.6954 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.1782, allocations: 0 / 0.6954 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1782, allocations: 4 kB / 0.6954 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.166e-05/0.1782, allocations: 15.97 kB / 0.6954 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.1784, allocations: 149.7 kB / 0.6955 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.529e-05/0.1785, allocations: 34.56 kB / 0.6956 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.517e-05/0.1785, allocations: 20.95 kB / 0.6956 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.1785, allocations: 3.938 kB / 0.6956 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.1787, allocations: 75.33 kB / 0.6957 GB, free: 1.734 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 3.066e-06/0.1787, allocations: 0 / 0.6957 GB, free: 1.734 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.00023/0.179, allocations: 105.5 kB / 0.6958 GB, free: 1.625 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/0.1791, allocations: 55.41 kB / 0.6958 GB, free: 1.559 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.583e-05/0.1792, allocations: 93.77 kB / 0.6959 GB, free: 1.457 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.1792, allocations: 33.7 kB / 0.6959 GB, free: 1.418 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.1793, allocations: 84.12 kB / 0.696 GB, free: 1.332 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.1793, allocations: 15.84 kB / 0.696 GB, free: 1.316 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.1794, allocations: 29.75 kB / 0.6961 GB, free: 1.281 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1795, allocations: 314.8 kB / 0.6964 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.051e-05/0.1796, allocations: 27.98 kB / 0.6964 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.1798, allocations: 60.88 kB / 0.6965 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.1799, allocations: 101.9 kB / 0.6966 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1799, allocations: 0 / 0.6966 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001865/0.1801, allocations: 125.5 kB / 0.6967 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1801, allocations: 7.938 kB / 0.6967 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1802, allocations: 0 / 0.6967 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1802, allocations: 4 kB / 0.6967 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.397e-05/0.1803, allocations: 11.94 kB / 0.6967 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1803, allocations: 4 kB / 0.6967 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.336e-05/0.1803, allocations: 4 kB / 0.6967 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1803, allocations: 8 kB / 0.6967 GB, free: 0.5703 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (QAggShi_flow[5],$PRE.QAggShi_flow[5],QAggShi_flow[4],$PRE.QAggShi_flow[4],QAggShi_flow[3],$PRE.QAggShi_flow[3],QAggShi_flow[2],$PRE.QAggShi_flow[2],QAggShi_flow[1],$PRE.QAggShi_flow[1],curCel,$PRE.curCel,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001154/0.1804, allocations: 126 kB / 0.6968 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.1805, allocations: 11.84 kB / 0.6968 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.1805, allocations: 3.969 kB / 0.6968 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1805, allocations: 0 / 0.6968 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1805, allocations: 0 / 0.6968 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1805, allocations: 4 kB / 0.6968 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.1807, allocations: 153.6 kB / 0.697 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1807, allocations: 4 kB / 0.697 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-06/0.1807, allocations: 0 / 0.697 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.1807, allocations: 7.938 kB / 0.697 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1807, allocations: 3.984 kB / 0.697 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1807, allocations: 0 / 0.697 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1807, allocations: 0 / 0.697 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.1809, allocations: 101.1 kB / 0.6971 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.1809, allocations: 85.03 kB / 0.6972 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.181, allocations: 4 kB / 0.6972 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.535e-05/0.181, allocations: 7.938 kB / 0.6972 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.181, allocations: 8.031 kB / 0.6972 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.1811, allocations: 4 kB / 0.6972 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.174e-05/0.1811, allocations: 79.22 kB / 0.6973 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1811, allocations: 0 / 0.6973 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002334/0.1813, allocations: 20 kB / 0.6973 GB, free: 15.86 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: 7 ($whenCondition1,curCel,QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of discrete states: 5 (QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002309/0.1816, allocations: 131.1 kB / 0.6974 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.1817, allocations: 60.23 kB / 0.6975 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1817, allocations: 0 / 0.6975 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.921e-05/0.1818, allocations: 19.98 kB / 0.6975 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.1819, allocations: 0 / 0.6975 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.1823, allocations: 135.1 kB / 0.6976 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.1827, allocations: 0.677 MB / 0.6983 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.72e-05/0.1827, allocations: 8.188 kB / 0.6983 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.1828, allocations: 15.42 kB / 0.6983 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1828, allocations: 0 / 0.6983 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of Templates: time 0.003187/0.186, allocations: 0.6519 MB / 0.699 GB, free: 14.16 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)