Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.683/1.683, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001299/0.001299, allocations: 176.6 kB / 327 MB, free: 2.125 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.4 MB / 0.578 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008772/0.000877, allocations: 83.11 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003428, allocations: 12.14 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2392, allocations: 106.4 MB / 0.901 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001338/0.2406, allocations: 0.9788 MB / 0.9019 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009324/0.2415, allocations: 0.5266 MB / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.66e-05/0.2416, allocations: 4 kB / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.2416, allocations: 0 / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.57e-05/0.2417, allocations: 0 / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.242, allocations: 43.89 kB / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.676e-05/0.2421, allocations: 23.97 kB / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.2422, allocations: 4 kB / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.266e-05/0.2422, allocations: 0 / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.638e-05/0.2423, allocations: 15.97 kB / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.166e-06/0.2423, allocations: 0 / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.2424, allocations: 67.86 kB / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.75e-05/0.2425, allocations: 11.92 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.2426, allocations: 37.64 kB / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.2427, allocations: 63.83 kB / 0.9027 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2427, allocations: 0 / 0.9027 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.674e-06/0.2427, allocations: 4 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2427, allocations: 0 / 0.9027 GB, free: 61.57 MB / 0.6042 GB 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.0003002/0.2431, allocations: 335.8 kB / 0.903 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.2431, allocations: 8.031 kB / 0.903 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.3e-05/0.2431, allocations: 30.75 kB / 0.9031 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.2432, allocations: 8.875 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.236e-05/0.2433, allocations: 168.4 kB / 0.9032 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.2433, allocations: 384 / 0.9032 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.2433, allocations: 8.375 kB / 0.9032 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.2434, allocations: 49.81 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2434, allocations: 0 / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.2434, allocations: 0 / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2434, allocations: 4 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.527e-05/0.2435, allocations: 8 kB / 0.9033 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.2436, allocations: 153.7 kB / 0.9034 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.372e-05/0.2437, allocations: 38.56 kB / 0.9035 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/0.2437, allocations: 16.95 kB / 0.9035 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.2437, allocations: 4 kB / 0.9035 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.2438, allocations: 79.22 kB / 0.9036 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.2438, allocations: 0 / 0.9036 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0001961/0.244, allocations: 93.61 kB / 0.9037 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.2441, allocations: 59.41 kB / 0.9037 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.289e-05/0.2441, allocations: 89.86 kB / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.2441, allocations: 37.73 kB / 0.9038 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.692e-05/0.2442, allocations: 80.14 kB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.2442, allocations: 19.8 kB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.2442, allocations: 0 / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.207e-05/0.2443, allocations: 318.8 kB / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.432e-05/0.2443, allocations: 23.98 kB / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.492e-05/0.2444, allocations: 69.98 kB / 0.9043 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.75e-05/0.2445, allocations: 93.88 kB / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2445, allocations: 4 kB / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001392/0.2446, allocations: 113.5 kB / 0.9045 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2446, allocations: 8 kB / 0.9045 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2447, allocations: 0 / 0.9045 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2447, allocations: 4 kB / 0.9045 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.614e-05/0.2448, allocations: 15.92 kB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2448, allocations: 4 kB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.566e-05/0.2448, allocations: 24 kB / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.2448, allocations: 4 kB / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.QAggShi_flow[5],QAggShi_flow[5],$PRE.QAggShi_flow[4],QAggShi_flow[4],$PRE.QAggShi_flow[3],QAggShi_flow[3],$PRE.QAggShi_flow[2],QAggShi_flow[2],$PRE.QAggShi_flow[1],QAggShi_flow[1],$PRE.curCel,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.912e-05/0.2449, allocations: 125.8 kB / 0.9047 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.245, allocations: 3.938 kB / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.245, allocations: 7.953 kB / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.245, allocations: 0 / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.245, allocations: 0 / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.245, allocations: 0 / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.419e-05/0.2451, allocations: 153.7 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2451, allocations: 4 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.049e-06/0.2451, allocations: 3.938 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2451, allocations: 0 / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.2451, allocations: 0 / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2452, allocations: 0 / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2452, allocations: 0 / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.2453, allocations: 113 kB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.675e-05/0.2453, allocations: 89.02 kB / 0.9051 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.2453, allocations: 8 kB / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.431e-05/0.2454, allocations: 4 kB / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.2454, allocations: 0 / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.2454, allocations: 7.984 kB / 0.9051 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.716e-05/0.2454, allocations: 79.22 kB / 0.9052 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2454, allocations: 0 / 0.9052 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002327/0.2457, allocations: 20 kB / 0.9052 GB, free: 58.66 MB / 0.6042 GB 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.0003837/0.2461, allocations: 0.6709 MB / 0.9058 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.2462, allocations: 55.91 kB / 0.9059 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2462, allocations: 0 / 0.9059 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.503e-05/0.2462, allocations: 19.94 kB / 0.9059 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.2464, allocations: 0.5312 kB / 0.9059 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.2468, allocations: 162.3 kB / 0.9061 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.2469, allocations: 0.677 MB / 0.9067 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.569e-05/0.2469, allocations: 11.89 kB / 0.9067 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.247, allocations: 12.3 kB / 0.9067 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.247, allocations: 0 / 0.9067 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01135/0.2583, allocations: 1.396 MB / 0.9081 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/0.2585, allocations: 290.1 kB / 0.9084 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/1.986, allocations: 0 / 0.9084 GB, free: 55.43 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)