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.427/1.427, allocations: 251.9 MB / 266.8 MB, free: 11.06 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.00126/0.00126, allocations: 177.5 kB / 326.5 MB, free: 2.254 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.963/1.963, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008632/0.0008631, allocations: 90.3 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003493, allocations: 10.66 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2098, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001104/0.2109, allocations: 0.9829 MB / 0.9011 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006636/0.2116, allocations: 497.9 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.769e-05/0.2116, allocations: 4 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.2117, allocations: 3.984 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 1.721e-05/0.2117, allocations: 7.938 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.212, allocations: 39.83 kB / 0.9017 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.887e-05/0.212, allocations: 4 kB / 0.9017 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.7e-05/0.2121, allocations: 0 / 0.9017 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.067e-05/0.2121, allocations: 7.984 kB / 0.9017 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.131e-05/0.2121, allocations: 4 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.167e-06/0.2121, allocations: 0 / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.2123, allocations: 43.89 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.2123, allocations: 15.97 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.2123, allocations: 29.7 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.928e-05/0.2124, allocations: 31.95 kB / 0.9018 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2124, allocations: 0 / 0.9018 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2124, allocations: 0 / 0.9018 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2125, allocations: 0 / 0.9018 GB, free: 62.15 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.0002395/0.2127, allocations: 331.6 kB / 0.9021 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2127, allocations: 8.031 kB / 0.9021 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.901e-05/0.2128, allocations: 30.56 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.397e-05/0.2128, allocations: 11.95 kB / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.985e-05/0.2129, allocations: 159.1 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.2129, allocations: 3.938 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.2129, allocations: 4 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.495e-05/0.213, allocations: 45.69 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.213, allocations: 7.984 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.213, allocations: 3.984 kB / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.213, allocations: 4 kB / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.087e-05/0.2131, allocations: 8 kB / 0.9024 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001005/0.2132, allocations: 161.6 kB / 0.9025 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.862e-05/0.2132, allocations: 38.58 kB / 0.9026 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-06/0.2132, allocations: 0 / 0.9026 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.2133, allocations: 71.33 kB / 0.9027 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.2133, allocations: 0 / 0.9027 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0001903/0.2135, allocations: 178.8 kB / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.2136, allocations: 63.44 kB / 0.9029 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.998e-05/0.2136, allocations: 97.78 kB / 0.903 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.2136, allocations: 33.7 kB / 0.903 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.644e-05/0.2136, allocations: 80.14 kB / 0.9031 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.2137, allocations: 15.81 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.2137, allocations: 0 / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.509e-05/0.2137, allocations: 326.8 kB / 0.9034 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.08e-05/0.2138, allocations: 19.98 kB / 0.9034 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.597e-05/0.2138, allocations: 70 kB / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.306e-05/0.2139, allocations: 23.98 kB / 0.9035 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2139, allocations: 3.938 kB / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001223/0.214, allocations: 121.5 kB / 0.9036 GB, free: 60 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.214, allocations: 8 kB / 0.9036 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.214, allocations: 0 / 0.9036 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.214, allocations: 4 kB / 0.9037 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.2142, allocations: 8 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.2142, allocations: 7.984 kB / 0.9037 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.347e-05/0.2142, allocations: 12.06 kB / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.2142, allocations: 15.94 kB / 0.9037 GB, free: 59.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.692e-05/0.2143, allocations: 117.8 kB / 0.9038 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.2143, allocations: 4 kB / 0.9038 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.702e-05/0.2143, allocations: 3.969 kB / 0.9038 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2143, allocations: 3.984 kB / 0.9038 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2143, allocations: 0 / 0.9038 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2144, allocations: 0 / 0.9038 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.24e-05/0.2144, allocations: 149.6 kB / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2144, allocations: 7.984 kB / 0.904 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-06/0.2144, allocations: 4 kB / 0.904 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2145, allocations: 0 / 0.904 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.2145, allocations: 0 / 0.904 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.2145, allocations: 0 / 0.904 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2145, allocations: 0 / 0.904 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.499e-05/0.2146, allocations: 116.9 kB / 0.9041 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.2146, allocations: 84.98 kB / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.2146, allocations: 8.031 kB / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.218e-05/0.2146, allocations: 0 / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.2147, allocations: 0 / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.2147, allocations: 8 kB / 0.9042 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.119e-05/0.2147, allocations: 75.28 kB / 0.9042 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2147, allocations: 0 / 0.9042 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000229/0.2149, allocations: 23.98 kB / 0.9043 GB, free: 59.25 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003013/0.2152, allocations: 0.6709 MB / 0.9049 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.465e-05/0.2153, allocations: 51.92 kB / 0.905 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2154, allocations: 0 / 0.905 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.293e-05/0.2154, allocations: 15.98 kB / 0.905 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.74e-05/0.2155, allocations: 4.531 kB / 0.905 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003139/0.2158, allocations: 161.5 kB / 0.9052 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.89e-05/0.2159, allocations: 0.6809 MB / 0.9058 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.186e-05/0.2159, allocations: 11.92 kB / 0.9058 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/0.216, allocations: 7.438 kB / 0.9058 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.216, allocations: 3.938 kB / 0.9058 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01052/0.2265, allocations: 1.373 MB / 0.9072 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/0.2267, allocations: 263.2 kB / 0.9074 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.416/1.643, allocations: 0 / 0.9074 GB, free: 56.07 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)