Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.000978/0.0009778, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001182/0.001182, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.077/1.077, allocations: 143.3 MB / 434.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003277, allocations: 8 kB / 0.5159 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1987, allocations: 83.41 MB / 0.5974 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001288/0.2001, allocations: 0.9726 MB / 0.5983 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007127/0.2008, allocations: 447.3 kB / 0.5988 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.598e-05/0.2008, allocations: 0 / 0.5988 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.207e-05/0.2009, allocations: 0 / 0.5988 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.742e-05/0.2009, allocations: 0 / 0.5988 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.2012, allocations: 39.88 kB / 0.5988 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.232e-05/0.2013, allocations: 8 kB / 0.5988 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.31e-05/0.2013, allocations: 0 / 0.5988 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.171e-05/0.2013, allocations: 8 kB / 0.5988 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.483e-05/0.2014, allocations: 11.97 kB / 0.5988 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.2014, allocations: 4 kB / 0.5988 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.2015, allocations: 39.84 kB / 0.5989 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.696e-05/0.2016, allocations: 11.98 kB / 0.5989 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.2016, allocations: 25.7 kB / 0.5989 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.233e-05/0.2017, allocations: 31.95 kB / 0.5989 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.2017, allocations: 0 / 0.5989 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2017, allocations: 4 kB / 0.599 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.2017, allocations: 0 / 0.599 GB, free: 6.129 MB / 0.4981 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.000327/0.2021, allocations: 327.5 kB / 0.5993 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2021, allocations: 8.031 kB / 0.5993 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.2022, allocations: 42.56 kB / 0.5993 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.2022, allocations: 7.938 kB / 0.5993 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.562e-05/0.2023, allocations: 159.1 kB / 0.5995 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.2023, allocations: 4 kB / 0.5995 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.2023, allocations: 0 / 0.5995 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.2024, allocations: 53.62 kB / 0.5995 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2024, allocations: 4 kB / 0.5995 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.2024, allocations: 0 / 0.5995 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2024, allocations: 0 / 0.5995 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.796e-05/0.2025, allocations: 23.94 kB / 0.5996 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.2026, allocations: 149.8 kB / 0.5997 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.338e-05/0.2027, allocations: 30.56 kB / 0.5997 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.2027, allocations: 0 / 0.5997 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.2028, allocations: 75.41 kB / 0.5998 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.2028, allocations: 0 / 0.5998 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0002367/0.2031, allocations: 175 kB / 0.6 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.2031, allocations: 55.41 kB / 0.6 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.869e-05/0.2032, allocations: 101.8 kB / 0.6001 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.2032, allocations: 29.69 kB / 0.6001 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.2032, allocations: 84.14 kB / 0.6002 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.2032, allocations: 15.78 kB / 0.6002 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.2032, allocations: 7.938 kB / 0.6002 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2034, allocations: 318.8 kB / 0.6006 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.704e-05/0.2034, allocations: 24.02 kB / 0.6006 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.403e-05/0.2035, allocations: 69.98 kB / 0.6006 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.52e-05/0.2035, allocations: 35.92 kB / 0.6007 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2035, allocations: 4 kB / 0.6007 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001495/0.2037, allocations: 117.4 kB / 0.6008 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2037, allocations: 7.984 kB / 0.6008 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2037, allocations: 4 kB / 0.6008 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.2037, allocations: 0 / 0.6008 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.266e-05/0.2038, allocations: 12 kB / 0.6008 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.2038, allocations: 224 / 0.6008 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.356e-05/0.2039, allocations: 8 kB / 0.6008 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.2039, allocations: 4 kB / 0.6008 GB, free: 3.945 MB / 0.4981 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 9.571e-05/0.204, allocations: 130.7 kB / 0.6009 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.447e-06/0.204, allocations: 3.906 kB / 0.601 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.065e-05/0.204, allocations: 3.969 kB / 0.601 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.204, allocations: 4 kB / 0.601 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2041, allocations: 0 / 0.601 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2041, allocations: 0 / 0.601 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.2042, allocations: 165.6 kB / 0.6011 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2042, allocations: 0 / 0.6011 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-06/0.2042, allocations: 0 / 0.6011 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.2042, allocations: 0 / 0.6011 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.2042, allocations: 0 / 0.6011 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.2042, allocations: 0 / 0.6011 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2042, allocations: 4 kB / 0.6011 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.2043, allocations: 113 kB / 0.6012 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.2044, allocations: 85.12 kB / 0.6013 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.2044, allocations: 7.984 kB / 0.6013 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.136e-05/0.2044, allocations: 0 / 0.6013 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.2045, allocations: 4 kB / 0.6013 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.2045, allocations: 0 / 0.6013 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.822e-05/0.2045, allocations: 75.28 kB / 0.6014 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2045, allocations: 0 / 0.6014 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002283/0.2047, allocations: 24 kB / 0.6014 GB, free: 3.238 MB / 0.4981 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.0004791/0.2052, allocations: 0.667 MB / 0.6021 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.2054, allocations: 59.91 kB / 0.6021 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2054, allocations: 3.938 kB / 0.6021 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.769e-05/0.2054, allocations: 20.41 kB / 0.6021 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.942e-05/0.2055, allocations: 5.875 kB / 0.6022 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.2059, allocations: 164.5 kB / 0.6023 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.2061, allocations: 0.6809 MB / 0.603 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.053e-05/0.2062, allocations: 4 kB / 0.603 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.2062, allocations: 15.42 kB / 0.603 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.2062, allocations: 0 / 0.603 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01154/0.2177, allocations: 1.371 MB / 0.6043 GB, free: 412 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003295/0.2181, allocations: 261 kB / 0.6046 GB, free: 44 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/1.786, allocations: 3.609 kB / 0.6046 GB, free: 44 kB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) Environment - environmentSimulation: