Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009735/0.0009735, allocations: 88.23 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 183 kB / 16.92 MB, free: 6.91 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.344/1.344, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.731/0.731, allocations: 123 MB / 415.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003279, allocations: 17.03 kB / 0.4934 GB, free: 13.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.3997, allocations: 79.28 MB / 0.5708 GB, free: 9.941 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001514/0.4013, allocations: 0.9652 MB / 0.5717 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000901/0.4022, allocations: 472.9 kB / 0.5722 GB, free: 9.789 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.645e-05/0.4022, allocations: 3.938 kB / 0.5722 GB, free: 9.785 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.4023, allocations: 1.562 kB / 0.5722 GB, free: 9.785 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.647e-05/0.4024, allocations: 4.922 kB / 0.5722 GB, free: 9.785 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.4027, allocations: 47.55 kB / 0.5722 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.393e-05/0.4028, allocations: 21.92 kB / 0.5722 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.4028, allocations: 2.828 kB / 0.5723 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.509e-05/0.4029, allocations: 4.625 kB / 0.5723 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.505e-05/0.4029, allocations: 6.766 kB / 0.5723 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.4029, allocations: 0.875 kB / 0.5723 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.4031, allocations: 74.11 kB / 0.5723 GB, free: 9.742 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.836e-05/0.4032, allocations: 8.625 kB / 0.5723 GB, free: 9.742 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.79e-05/0.4032, allocations: 39.06 kB / 0.5724 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.4034, allocations: 67.7 kB / 0.5724 GB, free: 9.691 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4034, allocations: 0 / 0.5724 GB, free: 9.691 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4034, allocations: 5 kB / 0.5724 GB, free: 9.688 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.4034, allocations: 0 / 0.5724 GB, free: 9.688 MB / 430.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.000285/0.4037, allocations: 332.3 kB / 0.5728 GB, free: 9.332 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.4038, allocations: 8.812 kB / 0.5728 GB, free: 9.332 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.4038, allocations: 3.078 kB / 0.5728 GB, free: 9.332 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.713e-05/0.4039, allocations: 166.3 kB / 0.5729 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.4039, allocations: 1.906 kB / 0.5729 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.4039, allocations: 2.5 kB / 0.5729 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.4041, allocations: 56.64 kB / 0.573 GB, free: 9.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.4041, allocations: 4.75 kB / 0.573 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.4041, allocations: 0.7031 kB / 0.573 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.4041, allocations: 0.9375 kB / 0.573 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.084e-05/0.4041, allocations: 16.09 kB / 0.573 GB, free: 9.078 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.4043, allocations: 155.3 kB / 0.5732 GB, free: 8.887 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.983e-05/0.4043, allocations: 29.17 kB / 0.5732 GB, free: 8.859 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.659e-05/0.4044, allocations: 18.33 kB / 0.5732 GB, free: 8.848 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.4044, allocations: 7.984 kB / 0.5732 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.4045, allocations: 68.95 kB / 0.5733 GB, free: 8.785 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.4045, allocations: 0 / 0.5733 GB, free: 8.785 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002198/0.4047, allocations: 98.5 kB / 0.5734 GB, free: 8.734 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.4048, allocations: 61.33 kB / 0.5734 GB, free: 8.672 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.746e-05/0.4048, allocations: 99.7 kB / 0.5735 GB, free: 8.566 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.4049, allocations: 28.31 kB / 0.5736 GB, free: 8.535 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.567e-05/0.4049, allocations: 93.48 kB / 0.5736 GB, free: 8.441 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.4049, allocations: 8.469 kB / 0.5737 GB, free: 8.438 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.4049, allocations: 20.34 kB / 0.5737 GB, free: 8.418 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.732e-05/0.405, allocations: 318.9 kB / 0.574 GB, free: 8.102 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.165e-05/0.405, allocations: 20.81 kB / 0.574 GB, free: 8.098 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.525e-05/0.4051, allocations: 65.14 kB / 0.5741 GB, free: 8.035 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.4052, allocations: 101.1 kB / 0.5742 GB, free: 7.953 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4052, allocations: 4.906 kB / 0.5742 GB, free: 7.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001744/0.4054, allocations: 113.1 kB / 0.5743 GB, free: 7.891 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4054, allocations: 14 kB / 0.5743 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4055, allocations: 1.531 kB / 0.5743 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.4055, allocations: 3.109 kB / 0.5743 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.921e-05/0.4056, allocations: 19.44 kB / 0.5743 GB, free: 7.875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.4056, allocations: 2.672 kB / 0.5743 GB, free: 7.875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.68e-05/0.4056, allocations: 11.28 kB / 0.5743 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.4056, allocations: 8.562 kB / 0.5743 GB, free: 7.863 MB / 430.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 7.316e-05/0.4057, allocations: 124.3 kB / 0.5744 GB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.4057, allocations: 9.844 kB / 0.5745 GB, free: 7.734 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.117e-05/0.4058, allocations: 4.625 kB / 0.5745 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.4058, allocations: 1.25 kB / 0.5745 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.4058, allocations: 0 / 0.5745 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4058, allocations: 2.094 kB / 0.5745 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.693e-05/0.4059, allocations: 155.5 kB / 0.5746 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4059, allocations: 1.062 kB / 0.5746 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-06/0.4059, allocations: 0.5156 kB / 0.5746 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4059, allocations: 5.156 kB / 0.5746 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.4059, allocations: 1.969 kB / 0.5746 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.4059, allocations: 0 / 0.5746 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4059, allocations: 4.547 kB / 0.5746 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.406, allocations: 102.1 kB / 0.5747 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.4061, allocations: 86.64 kB / 0.5748 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.4061, allocations: 9.156 kB / 0.5748 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.158e-05/0.4061, allocations: 0 / 0.5748 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.4061, allocations: 1.797 kB / 0.5748 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.4061, allocations: 3.719 kB / 0.5748 GB, free: 7.348 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.071e-05/0.4062, allocations: 75.28 kB / 0.5749 GB, free: 7.273 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4062, allocations: 1.406 kB / 0.5749 GB, free: 7.273 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.4064, allocations: 31.69 kB / 0.5749 GB, free: 7.262 MB / 430.1 MB 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.0001566/0.4066, allocations: 127.5 kB / 0.575 GB, free: 7.172 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.4067, allocations: 54.73 kB / 0.5751 GB, free: 7.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4067, allocations: 0.625 kB / 0.5751 GB, free: 7.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.72e-05/0.4068, allocations: 17.02 kB / 0.5751 GB, free: 7.156 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.4069, allocations: 9.828 kB / 0.5751 GB, free: 7.152 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002242/0.4071, allocations: 135.5 kB / 0.5752 GB, free: 7.027 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.313e-05/0.4072, allocations: 0.683 MB / 0.5759 GB, free: 6.328 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.016e-05/0.4073, allocations: 3.688 kB / 0.5759 GB, free: 6.328 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.214e-05/0.4073, allocations: 10.52 kB / 0.5759 GB, free: 6.32 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4073, allocations: 0.8125 kB / 0.5759 GB, free: 6.32 MB / 430.1 MB Notification: Performance of Templates: time 0.002878/0.4102, allocations: 0.6236 MB / 0.5765 GB, free: 6.277 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)