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.00126/0.00126, allocations: 115.1 kB / 17.04 MB, free: 5.805 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.001064/0.001064, allocations: 195 kB / 17.98 MB, free: 5.031 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.303/1.303, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.709/0.709, allocations: 115.1 MB / 406.9 MB, free: 6.293 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.89 kB / 494.9 MB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3118, allocations: 76.15 MB / 0.5576 GB, free: 36.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002081/0.3139, allocations: 1.232 MB / 0.5588 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007549/0.3147, allocations: 486.6 kB / 0.5593 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.746e-05/0.3147, allocations: 0 / 0.5593 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.3147, allocations: 0.7031 kB / 0.5593 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.855e-05/0.3148, allocations: 6.016 kB / 0.5593 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.3151, allocations: 47.47 kB / 0.5593 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.418e-05/0.3152, allocations: 18.03 kB / 0.5594 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.3152, allocations: 2.25 kB / 0.5594 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.369e-05/0.3152, allocations: 8.688 kB / 0.5594 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.07e-05/0.3153, allocations: 7.703 kB / 0.5594 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.484e-06/0.3153, allocations: 0 / 0.5594 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.3154, allocations: 72.28 kB / 0.5594 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.666e-05/0.3155, allocations: 9.172 kB / 0.5594 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.3155, allocations: 12.66 kB / 0.5595 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.3157, allocations: 53.34 kB / 0.5595 GB, free: 35.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3157, allocations: 0 / 0.5595 GB, free: 35.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3157, allocations: 0 / 0.5595 GB, free: 35.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.3157, allocations: 1.172 kB / 0.5595 GB, free: 35.52 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.0002785/0.316, allocations: 335.7 kB / 0.5598 GB, free: 35.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.316, allocations: 11.5 kB / 0.5598 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.3161, allocations: 9.969 kB / 0.5599 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.377e-05/0.3161, allocations: 169.9 kB / 0.56 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.3161, allocations: 2 kB / 0.56 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.3162, allocations: 4.25 kB / 0.56 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.255e-05/0.3163, allocations: 56.38 kB / 0.5601 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.3163, allocations: 1.25 kB / 0.5601 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.3163, allocations: 1.312 kB / 0.5601 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3163, allocations: 2.094 kB / 0.5601 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.632e-05/0.3163, allocations: 8.344 kB / 0.5601 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.482e-05/0.3164, allocations: 161.1 kB / 0.5602 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.848e-05/0.3165, allocations: 36.77 kB / 0.5603 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.164e-05/0.3165, allocations: 18.38 kB / 0.5603 GB, free: 34.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.563e-06/0.3165, allocations: 0 / 0.5603 GB, free: 34.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.3166, allocations: 69.69 kB / 0.5604 GB, free: 34.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3166, allocations: 1.844 kB / 0.5604 GB, free: 34.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.000185/0.3168, allocations: 99.02 kB / 0.5605 GB, free: 34.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.3169, allocations: 57.59 kB / 0.5605 GB, free: 34.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.787e-05/0.3169, allocations: 92.23 kB / 0.5606 GB, free: 34.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.3169, allocations: 34.05 kB / 0.5606 GB, free: 34.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.474e-05/0.3169, allocations: 83.86 kB / 0.5607 GB, free: 34.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.317, allocations: 19.47 kB / 0.5607 GB, free: 34.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.317, allocations: 28.77 kB / 0.5608 GB, free: 34.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.91e-05/0.317, allocations: 317.8 kB / 0.5611 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.888e-05/0.3171, allocations: 21.69 kB / 0.5611 GB, free: 33.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.724e-05/0.3171, allocations: 74.06 kB / 0.5611 GB, free: 33.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.3173, allocations: 99.59 kB / 0.5612 GB, free: 33.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3173, allocations: 0.9688 kB / 0.5612 GB, free: 33.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001463/0.3174, allocations: 117.4 kB / 0.5614 GB, free: 33.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3174, allocations: 11.19 kB / 0.5614 GB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3174, allocations: 1.312 kB / 0.5614 GB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3175, allocations: 3.375 kB / 0.5614 GB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.653e-05/0.3175, allocations: 15.28 kB / 0.5614 GB, free: 33.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3176, allocations: 3.406 kB / 0.5614 GB, free: 33.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.271e-05/0.3176, allocations: 7.5 kB / 0.5614 GB, free: 33.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.3176, allocations: 9.625 kB / 0.5614 GB, free: 33.71 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.596e-05/0.3177, allocations: 121.3 kB / 0.5615 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.3177, allocations: 8.906 kB / 0.5615 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.759e-05/0.3177, allocations: 6.219 kB / 0.5615 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3177, allocations: 1 kB / 0.5615 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3177, allocations: 0.5156 kB / 0.5615 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.3177, allocations: 2.172 kB / 0.5615 GB, free: 33.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.99e-05/0.3178, allocations: 156.5 kB / 0.5617 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3178, allocations: 1.406 kB / 0.5617 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-06/0.3178, allocations: 0.75 kB / 0.5617 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3178, allocations: 4.844 kB / 0.5617 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.3179, allocations: 1.562 kB / 0.5617 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3179, allocations: 6.078 kB / 0.5617 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3179, allocations: 1.25 kB / 0.5617 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.318, allocations: 103.6 kB / 0.5618 GB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/0.318, allocations: 82.92 kB / 0.5619 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.318, allocations: 6.141 kB / 0.5619 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.304e-05/0.318, allocations: 6.016 kB / 0.5619 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.3181, allocations: 1.719 kB / 0.5619 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.3181, allocations: 6.438 kB / 0.5619 GB, free: 33.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.16e-05/0.3181, allocations: 76.97 kB / 0.562 GB, free: 33.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3181, allocations: 0 / 0.562 GB, free: 33.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.3184, allocations: 23.19 kB / 0.562 GB, free: 33.12 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.0001669/0.3185, allocations: 130 kB / 0.5621 GB, free: 33.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.3187, allocations: 59.56 kB / 0.5622 GB, free: 33.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3187, allocations: 0.5 kB / 0.5622 GB, free: 33.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.846e-05/0.3187, allocations: 16.84 kB / 0.5622 GB, free: 33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.3188, allocations: 5.422 kB / 0.5622 GB, free: 33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.3191, allocations: 116.5 kB / 0.5623 GB, free: 32.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.47e-05/0.3192, allocations: 0.6816 MB / 0.563 GB, free: 32.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.097e-05/0.3192, allocations: 10.09 kB / 0.563 GB, free: 32.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.432e-05/0.3192, allocations: 10.81 kB / 0.563 GB, free: 32.19 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3192, allocations: 0.5 kB / 0.563 GB, free: 32.19 MB / 446.1 MB Notification: Performance of Templates: time 0.002652/0.3219, allocations: 0.6715 MB / 0.5637 GB, free: 32.16 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)