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.001395/0.001395, allocations: 106.8 kB / 16.64 MB, free: 6.371 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.001205/0.001205, allocations: 191.6 kB / 17.56 MB, free: 5.812 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.382/1.382, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7509/0.7509, allocations: 122.9 MB / 414.3 MB, free: 88 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 59.91 kB / 0.4913 GB, free: 7.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4263, allocations: 77.91 MB / 0.5674 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002654/0.429, allocations: 1.307 MB / 0.5686 GB, free: 31.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008721/0.4299, allocations: 475.4 kB / 0.5691 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.018e-05/0.4299, allocations: 0.5312 kB / 0.5691 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.562e-05/0.43, allocations: 0 / 0.5691 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.38e-05/0.4301, allocations: 2.328 kB / 0.5691 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.4304, allocations: 48.98 kB / 0.5691 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.099e-05/0.4305, allocations: 15.48 kB / 0.5692 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.698e-05/0.4305, allocations: 1.766 kB / 0.5692 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.647e-05/0.4306, allocations: 8.328 kB / 0.5692 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.079e-05/0.4306, allocations: 14.59 kB / 0.5692 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.514e-06/0.4306, allocations: 0.5938 kB / 0.5692 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.4308, allocations: 73 kB / 0.5693 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.57e-05/0.4309, allocations: 8.219 kB / 0.5693 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.769e-05/0.4309, allocations: 10.16 kB / 0.5693 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.431, allocations: 41.34 kB / 0.5693 GB, free: 31.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4311, allocations: 0 / 0.5693 GB, free: 31.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4311, allocations: 1.125 kB / 0.5693 GB, free: 31.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.4311, allocations: 0 / 0.5693 GB, free: 31.37 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.0003401/0.4314, allocations: 334.4 kB / 0.5696 GB, free: 31.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4315, allocations: 10.62 kB / 0.5696 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.4315, allocations: 6.312 kB / 0.5696 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.259e-05/0.4316, allocations: 174.7 kB / 0.5698 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.4316, allocations: 4.156 kB / 0.5698 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.4316, allocations: 5.688 kB / 0.5698 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.4317, allocations: 49.55 kB / 0.5699 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.4318, allocations: 1.5 kB / 0.5699 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.4318, allocations: 4.969 kB / 0.5699 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.4318, allocations: 0 / 0.5699 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.918e-05/0.4318, allocations: 9.203 kB / 0.5699 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001169/0.4319, allocations: 154.1 kB / 0.57 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.737e-05/0.432, allocations: 32.89 kB / 0.5701 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/0.432, allocations: 19.77 kB / 0.5701 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.202e-06/0.432, allocations: 2.469 kB / 0.5701 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.4322, allocations: 76.42 kB / 0.5702 GB, free: 30.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.4322, allocations: 0 / 0.5702 GB, free: 30.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002238/0.4324, allocations: 96.7 kB / 0.5702 GB, free: 30.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.4325, allocations: 56.94 kB / 0.5703 GB, free: 30.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.651e-05/0.4325, allocations: 96.08 kB / 0.5704 GB, free: 30.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.4325, allocations: 33.33 kB / 0.5704 GB, free: 30.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.888e-05/0.4325, allocations: 80.92 kB / 0.5705 GB, free: 30.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.4326, allocations: 14.02 kB / 0.5705 GB, free: 30.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.4326, allocations: 29.95 kB / 0.5705 GB, free: 30.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.142e-05/0.4327, allocations: 315.1 kB / 0.5708 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.35e-05/0.4327, allocations: 20.69 kB / 0.5709 GB, free: 29.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-05/0.4328, allocations: 71.69 kB / 0.5709 GB, free: 29.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.4329, allocations: 99.36 kB / 0.571 GB, free: 29.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4329, allocations: 1.094 kB / 0.571 GB, free: 29.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001677/0.4331, allocations: 119.3 kB / 0.5711 GB, free: 29.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.4331, allocations: 11.59 kB / 0.5712 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4331, allocations: 7.5 kB / 0.5712 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4331, allocations: 2.469 kB / 0.5712 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.912e-05/0.4332, allocations: 22.39 kB / 0.5712 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.4333, allocations: 2.828 kB / 0.5712 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.504e-05/0.4333, allocations: 10.06 kB / 0.5712 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.4333, allocations: 4.469 kB / 0.5712 GB, free: 29.56 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 8.284e-05/0.4334, allocations: 124.4 kB / 0.5713 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.4334, allocations: 8.844 kB / 0.5713 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.015e-05/0.4334, allocations: 8.953 kB / 0.5713 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4334, allocations: 3.312 kB / 0.5713 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4335, allocations: 0 / 0.5713 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4335, allocations: 0 / 0.5713 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.284e-05/0.4336, allocations: 152.7 kB / 0.5715 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4336, allocations: 1.172 kB / 0.5715 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-06/0.4336, allocations: 2.969 kB / 0.5715 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4336, allocations: 3.938 kB / 0.5715 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.4336, allocations: 1.531 kB / 0.5715 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4336, allocations: 0.5625 kB / 0.5715 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4336, allocations: 4.891 kB / 0.5715 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.4337, allocations: 111.5 kB / 0.5716 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.4338, allocations: 81.05 kB / 0.5717 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.4338, allocations: 4.656 kB / 0.5717 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.298e-05/0.4338, allocations: 1.031 kB / 0.5717 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.4338, allocations: 1.125 kB / 0.5717 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.4339, allocations: 4.281 kB / 0.5717 GB, free: 29.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.787e-05/0.4339, allocations: 80.19 kB / 0.5718 GB, free: 28.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4339, allocations: 0 / 0.5718 GB, free: 28.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.4341, allocations: 31.38 kB / 0.5718 GB, free: 28.96 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.0001932/0.4343, allocations: 124.5 kB / 0.5719 GB, free: 28.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.4345, allocations: 60.92 kB / 0.572 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4345, allocations: 3.938 kB / 0.572 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.476e-05/0.4345, allocations: 19.25 kB / 0.572 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.4347, allocations: 1.875 kB / 0.572 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/0.435, allocations: 150.2 kB / 0.5721 GB, free: 28.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.4351, allocations: 0.6821 MB / 0.5728 GB, free: 28.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/0.4351, allocations: 15.38 kB / 0.5728 GB, free: 28 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4352, allocations: 0 / 0.5728 GB, free: 28 MB / 446.1 MB Notification: Performance of Templates: time 0.002871/0.438, allocations: 0.8118 MB / 0.5736 GB, free: 27.99 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)