Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004609/0.004609, allocations: 100.6 kB / 15.73 MB, free: 5.98 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.001081/0.001081, allocations: 201.6 kB / 16.68 MB, free: 5.906 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.24/1.24, allocations: 222.9 MB / 240.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002099/0.002099, allocations: 288.6 kB / 290.8 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8803/0.8803, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 95.84 kB / 0.681 GB, free: 7.434 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3719, allocations: 86.97 MB / 0.7659 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002088/0.3741, allocations: 1.245 MB / 0.7672 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008534/0.375, allocations: 484.6 kB / 0.7676 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.163e-05/0.375, allocations: 0 / 0.7676 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.375, allocations: 0 / 0.7676 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.082e-05/0.3751, allocations: 0 / 0.7676 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.3755, allocations: 55.88 kB / 0.7677 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.98e-05/0.3755, allocations: 15.92 kB / 0.7677 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.759e-05/0.3756, allocations: 4 kB / 0.7677 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.214e-05/0.3756, allocations: 3.938 kB / 0.7677 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.925e-05/0.3757, allocations: 11.97 kB / 0.7677 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.3757, allocations: 0 / 0.7677 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.3759, allocations: 67.86 kB / 0.7678 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.3759, allocations: 7.984 kB / 0.7678 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.376, allocations: 15.94 kB / 0.7678 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.3761, allocations: 62.72 kB / 0.7679 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3761, allocations: 0 / 0.7679 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3761, allocations: 0 / 0.7679 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.3761, allocations: 0 / 0.7679 GB, free: 1.91 MB / 0.5294 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.0003287/0.3765, allocations: 335.4 kB / 0.7682 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.3765, allocations: 12.03 kB / 0.7682 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.065e-05/0.3766, allocations: 34.75 kB / 0.7682 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.428e-05/0.3766, allocations: 0.9375 kB / 0.7682 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.841e-05/0.3767, allocations: 164.3 kB / 0.7684 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3767, allocations: 8.375 kB / 0.7684 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.3767, allocations: 8.297 kB / 0.7684 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.3768, allocations: 53.81 kB / 0.7684 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.3768, allocations: 0 / 0.7684 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.3768, allocations: 4 kB / 0.7685 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3768, allocations: 0 / 0.7685 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.548e-05/0.3769, allocations: 8 kB / 0.7685 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/0.377, allocations: 153.7 kB / 0.7686 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.94e-05/0.3771, allocations: 38.58 kB / 0.7686 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.656e-05/0.3771, allocations: 24.94 kB / 0.7687 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.663e-06/0.3771, allocations: 0 / 0.7687 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.3773, allocations: 75.31 kB / 0.7687 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3773, allocations: 0 / 0.7687 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0001867/0.3775, allocations: 93.62 kB / 0.7688 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.3775, allocations: 59.39 kB / 0.7689 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.931e-05/0.3776, allocations: 101.8 kB / 0.769 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.3776, allocations: 25.7 kB / 0.769 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.455e-05/0.3776, allocations: 88.08 kB / 0.7691 GB, free: 448 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.3776, allocations: 11.89 kB / 0.7691 GB, free: 436 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.3777, allocations: 29.72 kB / 0.7691 GB, free: 400 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.121e-05/0.3778, allocations: 318.8 kB / 0.7694 GB, free: 72 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.657e-05/0.3778, allocations: 19.98 kB / 0.7695 GB, free: 52 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.797e-05/0.3779, allocations: 71.62 kB / 0.7695 GB, free: 15.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.378, allocations: 101.9 kB / 0.7696 GB, free: 15.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.378, allocations: 0 / 0.7696 GB, free: 15.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001484/0.3782, allocations: 113.4 kB / 0.7697 GB, free: 15.72 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3782, allocations: 8 kB / 0.7697 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3782, allocations: 0 / 0.7697 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3782, allocations: 4.219 kB / 0.7697 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.398e-05/0.3783, allocations: 19.92 kB / 0.7698 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3783, allocations: 4 kB / 0.7698 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.699e-05/0.3784, allocations: 11.94 kB / 0.7698 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.3784, allocations: 4 kB / 0.7698 GB, free: 15.67 MB / 0.545 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 (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.245e-05/0.3785, allocations: 121.8 kB / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.3785, allocations: 7.844 kB / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.042e-05/0.3785, allocations: 3.969 kB / 0.7699 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3785, allocations: 0 / 0.7699 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3786, allocations: 7.938 kB / 0.7699 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.3786, allocations: 0 / 0.7699 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.3787, allocations: 149.7 kB / 0.7701 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3787, allocations: 3.938 kB / 0.7701 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.069e-06/0.3787, allocations: 7.938 kB / 0.7701 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3787, allocations: 0 / 0.7701 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.3787, allocations: 0 / 0.7701 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3787, allocations: 0 / 0.7701 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3787, allocations: 0 / 0.7701 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.3788, allocations: 113.1 kB / 0.7702 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.3789, allocations: 88.98 kB / 0.7703 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.3789, allocations: 7.984 kB / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.495e-05/0.3789, allocations: 7.984 kB / 0.7703 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.859e-05/0.379, allocations: 0 / 0.7703 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.379, allocations: 4 kB / 0.7703 GB, free: 15.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.646e-05/0.379, allocations: 75.28 kB / 0.7703 GB, free: 14.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.379, allocations: 0 / 0.7703 GB, free: 14.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002231/0.3792, allocations: 24 kB / 0.7704 GB, free: 14.96 MB / 0.545 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.0004451/0.3797, allocations: 0.6786 MB / 0.771 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001207/0.3798, allocations: 59.84 kB / 0.7711 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3798, allocations: 480 / 0.7711 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.733e-05/0.3799, allocations: 19.94 kB / 0.7711 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.38, allocations: 7.984 kB / 0.7711 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.3804, allocations: 147.3 kB / 0.7713 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.3806, allocations: 0.6768 MB / 0.7719 GB, free: 13.28 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.191e-05/0.3806, allocations: 7.984 kB / 0.7719 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.3807, allocations: 19.42 kB / 0.7719 GB, free: 13.26 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.3807, allocations: 0 / 0.7719 GB, free: 13.26 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.3971, allocations: 1.629 MB / 0.7735 GB, free: 11.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.228/7.625, allocations: 9.531 kB / 0.7735 GB, free: 11.84 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)