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.319/1.319, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.001273/0.001273, allocations: 170.8 kB / 325.8 MB, free: 2.703 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.67/1.67, allocations: 205 MB / 0.576 GB, free: 20.95 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.0007072/0.0007075, allocations: 86.3 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003235, allocations: 8.719 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2281, allocations: 105.4 MB / 0.8962 GB, free: 68.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001425/0.2296, allocations: 0.9861 MB / 0.8972 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008503/0.2305, allocations: 0.5166 MB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.541e-05/0.2305, allocations: 0 / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.216e-05/0.2306, allocations: 0 / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.796e-05/0.2306, allocations: 15.88 kB / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.2309, allocations: 43.94 kB / 0.8978 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.801e-05/0.231, allocations: 19.98 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.2311, allocations: 3.984 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.294e-05/0.2311, allocations: 7.938 kB / 0.8978 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.72e-05/0.2311, allocations: 15.92 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.2312, allocations: 4 kB / 0.8978 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.2313, allocations: 67.84 kB / 0.8979 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.2314, allocations: 11.98 kB / 0.8979 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.2314, allocations: 11.94 kB / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.2315, allocations: 64.11 kB / 0.898 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2316, allocations: 7.938 kB / 0.898 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.655e-06/0.2316, allocations: 0 / 0.898 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.2316, allocations: 0 / 0.898 GB, free: 66.24 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.0003078/0.2319, allocations: 324.6 kB / 0.8983 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.2319, allocations: 12.03 kB / 0.8983 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.993e-05/0.232, allocations: 30.75 kB / 0.8983 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.232, allocations: 0.9375 kB / 0.8983 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6e-05/0.2321, allocations: 168.3 kB / 0.8985 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.2321, allocations: 4.375 kB / 0.8985 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.2321, allocations: 8.375 kB / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.2322, allocations: 53.75 kB / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2322, allocations: 3.984 kB / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.2323, allocations: 0 / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2323, allocations: 0 / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.497e-05/0.2323, allocations: 8 kB / 0.8986 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001158/0.2324, allocations: 157.7 kB / 0.8987 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.027e-05/0.2325, allocations: 26.64 kB / 0.8987 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.446e-05/0.2325, allocations: 32.88 kB / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.2325, allocations: 4 kB / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.2326, allocations: 67.25 kB / 0.8988 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.2326, allocations: 0 / 0.8988 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0001741/0.2328, allocations: 97.89 kB / 0.8989 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.2329, allocations: 55.41 kB / 0.899 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.804e-05/0.2329, allocations: 97.88 kB / 0.8991 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.2329, allocations: 37.64 kB / 0.8991 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.74e-05/0.2329, allocations: 80.14 kB / 0.8992 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.233, allocations: 15.81 kB / 0.8992 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.233, allocations: 21.7 kB / 0.8992 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.09e-05/0.2331, allocations: 314.8 kB / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.183e-05/0.2331, allocations: 19.98 kB / 0.8995 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.345e-05/0.2331, allocations: 84.59 kB / 0.8996 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.905e-05/0.2333, allocations: 93.94 kB / 0.8997 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2333, allocations: 0 / 0.8997 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001262/0.2334, allocations: 117.4 kB / 0.8998 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.2334, allocations: 8 kB / 0.8998 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.2334, allocations: 7.875 kB / 0.8998 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2334, allocations: 4 kB / 0.8998 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.433e-05/0.2335, allocations: 11.98 kB / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2335, allocations: 12.16 kB / 0.8999 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.51e-05/0.2336, allocations: 11.84 kB / 0.8999 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.2336, allocations: 8 kB / 0.8999 GB, free: 64.01 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 (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 7.093e-05/0.2337, allocations: 117.8 kB / 0.9 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-06/0.2337, allocations: 3.938 kB / 0.9 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.04e-05/0.2337, allocations: 7.953 kB / 0.9 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.2337, allocations: 0 / 0.9 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2337, allocations: 0 / 0.9 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2337, allocations: 8 kB / 0.9 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.35e-05/0.2338, allocations: 149.7 kB / 0.9002 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2338, allocations: 0 / 0.9002 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-06/0.2338, allocations: 7.938 kB / 0.9002 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.2339, allocations: 0 / 0.9002 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.2339, allocations: 0 / 0.9002 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.2339, allocations: 0 / 0.9002 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2339, allocations: 3.938 kB / 0.9002 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.234, allocations: 117 kB / 0.9003 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.955e-05/0.234, allocations: 81.05 kB / 0.9004 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.234, allocations: 4 kB / 0.9004 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.19e-05/0.234, allocations: 4 kB / 0.9004 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.2341, allocations: 0 / 0.9004 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.2341, allocations: 7.984 kB / 0.9004 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.416e-05/0.2341, allocations: 75.28 kB / 0.9004 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2341, allocations: 0 / 0.9004 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002258/0.2343, allocations: 20 kB / 0.9005 GB, free: 63.32 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.0003575/0.2347, allocations: 0.6748 MB / 0.9011 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.2348, allocations: 55.91 kB / 0.9012 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2348, allocations: 0 / 0.9012 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.326e-05/0.2349, allocations: 12.47 kB / 0.9012 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.235, allocations: 8.062 kB / 0.9012 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.2354, allocations: 160.8 kB / 0.9014 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.2355, allocations: 0.6809 MB / 0.902 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.284e-05/0.2355, allocations: 7.906 kB / 0.902 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.2355, allocations: 11.44 kB / 0.902 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.2355, allocations: 0 / 0.902 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0104/0.246, allocations: 1.4 MB / 0.9034 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.2462, allocations: 289.8 kB / 0.9037 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/1.864, allocations: 2.75 kB / 0.9037 GB, free: 60.08 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)