Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShiftAggregationCells") translateModel(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, 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.001135/0.001135, allocations: 197.8 kB / 16.14 MB, free: 6.723 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.745/2.745, allocations: 474.4 MB / 0.7465 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 62.27 kB / 0.9135 GB, free: 32.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3628, allocations: 160.3 MB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShiftAggregationCells): time 0.002202/0.365, allocations: 1.305 MB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008111/0.3658, allocations: 0.495 MB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.354e-05/0.3659, allocations: 0 / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.3659, allocations: 0 / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.553e-05/0.366, allocations: 0 / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.3662, allocations: 55.88 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.173e-05/0.3663, allocations: 35.95 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.3664, allocations: 3.984 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.928e-05/0.3664, allocations: 8 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.987e-05/0.3664, allocations: 19.92 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.3665, allocations: 0 / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.3666, allocations: 75.84 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.806e-05/0.3667, allocations: 23.97 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.3667, allocations: 15.92 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.3669, allocations: 100.1 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3669, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3669, allocations: 4 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.3669, allocations: 3.938 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000355/0.3673, allocations: 359.4 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.3673, allocations: 12.03 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.3674, allocations: 0.9375 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.932e-05/0.3675, allocations: 168.3 kB / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.3675, allocations: 8.359 kB / 1.073 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.3675, allocations: 12.31 kB / 1.073 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.3676, allocations: 66 kB / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.3676, allocations: 0 / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.3677, allocations: 0 / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.3677, allocations: 4 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.391e-05/0.3677, allocations: 23.98 kB / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.3679, allocations: 165.6 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.904e-05/0.3679, allocations: 50.5 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.454e-05/0.368, allocations: 28.89 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.368, allocations: 0 / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.3681, allocations: 95.33 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.3681, allocations: 0 / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0002674/0.3684, allocations: 165.8 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.3685, allocations: 63.39 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.645e-05/0.3685, allocations: 97.77 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.3685, allocations: 33.7 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.3686, allocations: 84.14 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.3686, allocations: 31.64 kB / 1.074 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/0.3687, allocations: 53.73 kB / 1.074 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3688, allocations: 322.8 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.568e-05/0.3689, allocations: 47.97 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.369, allocations: 120.7 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.3692, allocations: 198.1 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3692, allocations: 0 / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002823/0.3695, allocations: 205.4 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3696, allocations: 11.94 kB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3696, allocations: 4 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3696, allocations: 4 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3697, allocations: 27.92 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.3697, allocations: 4 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.42e-05/0.3698, allocations: 11.94 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.3698, allocations: 8 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 23 (QAggShi_flow[2,5],$PRE.QAggShi_flow[2,5],QAggShi_flow[2,4],$PRE.QAggShi_flow[2,4],QAggShi_flow[2,3],$PRE.QAggShi_flow[2,3],QAggShi_flow[2,2],$PRE.QAggShi_flow[2,2],QAggShi_flow[2,1],$PRE.QAggShi_flow[2,1],QAggShi_flow[1,5],$PRE.QAggShi_flow[1,5],QAggShi_flow[1,4],$PRE.QAggShi_flow[1,4],QAggShi_flow[1,3],$PRE.QAggShi_flow[1,3],QAggShi_flow[1,2],$PRE.QAggShi_flow[1,2],QAggShi_flow[1,1],$PRE.QAggShi_flow[1,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 (23): * Single equations (assignments): 23 * 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.0001214/0.3699, allocations: 156.3 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.3699, allocations: 7.844 kB / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.804e-05/0.37, allocations: 3.969 kB / 1.075 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.37, allocations: 0 / 1.075 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.37, allocations: 3.938 kB / 1.075 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.37, allocations: 4 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.3701, allocations: 161.6 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3701, allocations: 0 / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-06/0.3701, allocations: 4 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3701, allocations: 3.938 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.3701, allocations: 11.92 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.3701, allocations: 0 / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3702, allocations: 3.938 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.3703, allocations: 149 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.3704, allocations: 81.05 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.3704, allocations: 15.98 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.396e-05/0.3704, allocations: 4.031 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.718e-05/0.3704, allocations: 4 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.3705, allocations: 0 / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.952e-05/0.3705, allocations: 75.28 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3705, allocations: 0 / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002619/0.3708, allocations: 36 kB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,curCel,QAggShi_flow[1,1],QAggShi_flow[1,2],QAggShi_flow[1,3],QAggShi_flow[1,4],QAggShi_flow[1,5],QAggShi_flow[2,1],QAggShi_flow[2,2],QAggShi_flow[2,3],QAggShi_flow[2,4],QAggShi_flow[2,5]) * Number of discrete states: 10 (QAggShi_flow[1,1],QAggShi_flow[1,2],QAggShi_flow[1,3],QAggShi_flow[1,4],QAggShi_flow[1,5],QAggShi_flow[2,1],QAggShi_flow[2,2],QAggShi_flow[2,3],QAggShi_flow[2,4],QAggShi_flow[2,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.0001934/0.371, allocations: 141 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001893/0.3712, allocations: 115.8 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.3712, allocations: 0 / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.43e-05/0.3712, allocations: 39.88 kB / 1.075 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.3714, allocations: 0 / 1.075 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.3716, allocations: 176.7 kB / 1.076 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.3719, allocations: 0.6848 MB / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.482e-05/0.3719, allocations: 12.66 kB / 1.076 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.372, allocations: 11.44 kB / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.372, allocations: 0 / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of Templates: time 0.002849/0.3748, allocations: 0.8356 MB / 1.077 GB, free: 0.8633 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShiftAggregationCells.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShiftAggregationCells.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShiftAggregationCells.pipe 2>&1)