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.0009989/0.0009989, allocations: 108.6 kB / 17.03 MB, free: 5.656 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.0009772/0.0009772, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.221/1.221, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6783/0.6783, allocations: 115.1 MB / 406.9 MB, free: 6.297 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 67.83 kB / 494.8 MB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3206, allocations: 76.14 MB / 0.5576 GB, free: 36.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002114/0.3227, allocations: 1.237 MB / 0.5588 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007474/0.3235, allocations: 489.9 kB / 0.5593 GB, free: 35.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.94e-05/0.3235, allocations: 0.9062 kB / 0.5593 GB, free: 35.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.3236, allocations: 0 / 0.5593 GB, free: 35.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.434e-05/0.3236, allocations: 1.438 kB / 0.5593 GB, free: 35.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.324, allocations: 55.27 kB / 0.5593 GB, free: 35.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.61e-05/0.324, allocations: 13.64 kB / 0.5593 GB, free: 35.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.3241, allocations: 1.938 kB / 0.5593 GB, free: 35.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.354e-05/0.3241, allocations: 9.359 kB / 0.5594 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.704e-05/0.3242, allocations: 3.625 kB / 0.5594 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.3242, allocations: 5.875 kB / 0.5594 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.3243, allocations: 70.53 kB / 0.5594 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.709e-05/0.3244, allocations: 8.531 kB / 0.5594 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.3244, allocations: 9.734 kB / 0.5594 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.3246, allocations: 55.62 kB / 0.5595 GB, free: 35.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3246, allocations: 2.156 kB / 0.5595 GB, free: 35.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3246, allocations: 1.109 kB / 0.5595 GB, free: 35.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3246, allocations: 0 / 0.5595 GB, free: 35.58 MB / 446.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.0002796/0.3249, allocations: 340.5 kB / 0.5598 GB, free: 35.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.3249, allocations: 11.41 kB / 0.5598 GB, free: 35.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.325, allocations: 10.75 kB / 0.5598 GB, free: 35.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.141e-05/0.325, allocations: 170.2 kB / 0.56 GB, free: 35.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.325, allocations: 1.438 kB / 0.56 GB, free: 35.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/0.3251, allocations: 3.406 kB / 0.56 GB, free: 35.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.858e-05/0.3252, allocations: 54.05 kB / 0.5601 GB, free: 34.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.3252, allocations: 0.7812 kB / 0.5601 GB, free: 34.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.3252, allocations: 0 / 0.5601 GB, free: 34.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3252, allocations: 2.781 kB / 0.5601 GB, free: 34.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.829e-05/0.3252, allocations: 8.781 kB / 0.5601 GB, free: 34.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.669e-05/0.3253, allocations: 156.7 kB / 0.5602 GB, free: 34.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.037e-05/0.3254, allocations: 33.86 kB / 0.5603 GB, free: 34.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.245e-05/0.3254, allocations: 21.17 kB / 0.5603 GB, free: 34.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.112e-06/0.3254, allocations: 3.938 kB / 0.5603 GB, free: 34.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.3255, allocations: 68.58 kB / 0.5603 GB, free: 34.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3255, allocations: 1.188 kB / 0.5603 GB, free: 34.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.000186/0.3257, allocations: 94.38 kB / 0.5604 GB, free: 34.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.3258, allocations: 59.56 kB / 0.5605 GB, free: 34.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.066e-05/0.3258, allocations: 94.52 kB / 0.5606 GB, free: 34.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.3258, allocations: 29.22 kB / 0.5606 GB, free: 34.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.593e-05/0.3258, allocations: 82.3 kB / 0.5607 GB, free: 34.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.3258, allocations: 17.02 kB / 0.5607 GB, free: 34.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.3259, allocations: 30.28 kB / 0.5607 GB, free: 34.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.395e-05/0.3259, allocations: 318.4 kB / 0.561 GB, free: 34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.997e-05/0.326, allocations: 21.83 kB / 0.5611 GB, free: 34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.515e-05/0.326, allocations: 78.25 kB / 0.5611 GB, free: 33.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.3262, allocations: 99.88 kB / 0.5612 GB, free: 33.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3262, allocations: 0.5625 kB / 0.5612 GB, free: 33.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001415/0.3263, allocations: 116.8 kB / 0.5613 GB, free: 33.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3263, allocations: 13.34 kB / 0.5614 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3263, allocations: 2.406 kB / 0.5614 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3264, allocations: 3.75 kB / 0.5614 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.368e-05/0.3264, allocations: 15.25 kB / 0.5614 GB, free: 33.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3264, allocations: 2.688 kB / 0.5614 GB, free: 33.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.3265, allocations: 12.16 kB / 0.5614 GB, free: 33.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.3265, allocations: 9.094 kB / 0.5614 GB, free: 33.77 MB / 446.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 6.783e-05/0.3266, allocations: 123.9 kB / 0.5615 GB, free: 33.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-06/0.3266, allocations: 6.578 kB / 0.5615 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.812e-05/0.3266, allocations: 4.906 kB / 0.5615 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3266, allocations: 2.297 kB / 0.5615 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3266, allocations: 0.5312 kB / 0.5615 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3266, allocations: 0 / 0.5615 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.347e-05/0.3267, allocations: 159 kB / 0.5617 GB, free: 33.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3267, allocations: 0 / 0.5617 GB, free: 33.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.018e-06/0.3267, allocations: 2.469 kB / 0.5617 GB, free: 33.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3267, allocations: 3.938 kB / 0.5617 GB, free: 33.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.3267, allocations: 5.344 kB / 0.5617 GB, free: 33.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3268, allocations: 2.672 kB / 0.5617 GB, free: 33.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3268, allocations: 0 / 0.5617 GB, free: 33.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.3269, allocations: 106.1 kB / 0.5618 GB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.3269, allocations: 85.34 kB / 0.5619 GB, free: 33.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.3269, allocations: 4.875 kB / 0.5619 GB, free: 33.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.112e-05/0.3269, allocations: 1.094 kB / 0.5619 GB, free: 33.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.327, allocations: 1.984 kB / 0.5619 GB, free: 33.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.327, allocations: 3.438 kB / 0.5619 GB, free: 33.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.36e-05/0.327, allocations: 80.16 kB / 0.562 GB, free: 33.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.327, allocations: 0 / 0.562 GB, free: 33.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002145/0.3272, allocations: 24.22 kB / 0.562 GB, free: 33.18 MB / 446.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.0001545/0.3274, allocations: 126 kB / 0.5621 GB, free: 33.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001193/0.3275, allocations: 55.27 kB / 0.5622 GB, free: 33.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3275, allocations: 0 / 0.5622 GB, free: 33.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.767e-05/0.3275, allocations: 18.81 kB / 0.5622 GB, free: 33.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.3277, allocations: 7.016 kB / 0.5622 GB, free: 33.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/0.3279, allocations: 117.9 kB / 0.5623 GB, free: 32.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.328, allocations: 0.686 MB / 0.563 GB, free: 32.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.14e-05/0.3281, allocations: 10.06 kB / 0.563 GB, free: 32.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.274e-05/0.3281, allocations: 9.469 kB / 0.563 GB, free: 32.25 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3281, allocations: 2.219 kB / 0.563 GB, free: 32.25 MB / 446.1 MB Notification: Performance of Templates: time 0.002725/0.3308, allocations: 0.6626 MB / 0.5636 GB, free: 32.23 MB / 446.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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)