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.001124/0.001124, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001145, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002299/0.0023, allocations: 286.5 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9323/0.9323, allocations: 169.2 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 101.6 kB / 0.5954 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.154, allocations: 86.98 MB / 0.6803 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002277/0.1564, allocations: 1.233 MB / 0.6815 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008089/0.1572, allocations: 489.5 kB / 0.682 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.022e-05/0.1572, allocations: 0 / 0.682 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.369e-05/0.1573, allocations: 3.984 kB / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.819e-05/0.1574, allocations: 4 kB / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.1578, allocations: 55.81 kB / 0.6821 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.507e-05/0.1579, allocations: 11.98 kB / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.986e-05/0.158, allocations: 0.7812 kB / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.869e-05/0.158, allocations: 7.984 kB / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.732e-05/0.158, allocations: 1.719 kB / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.1581, allocations: 7.938 kB / 0.6821 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.1583, allocations: 67.84 kB / 0.6822 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.891e-05/0.1583, allocations: 8 kB / 0.6822 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/0.1584, allocations: 15.91 kB / 0.6822 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1586, allocations: 64.95 kB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1586, allocations: 4 kB / 0.6822 GB, free: 14.6 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1586, allocations: 0.5938 kB / 0.6822 GB, free: 14.6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.1586, allocations: 0.5312 kB / 0.6822 GB, free: 14.6 MB / 494.1 MB 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.0004301/0.159, allocations: 332.6 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1591, allocations: 8.031 kB / 0.6826 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.1591, allocations: 39.67 kB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.1592, allocations: 8.844 kB / 0.6826 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.1593, allocations: 160.4 kB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.1593, allocations: 4.375 kB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.1593, allocations: 4.375 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.1594, allocations: 49.81 kB / 0.6828 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.1594, allocations: 0 / 0.6828 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1595, allocations: 4 kB / 0.6828 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1595, allocations: 0 / 0.6828 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.938e-05/0.1595, allocations: 15.98 kB / 0.6828 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.1596, allocations: 161.5 kB / 0.683 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.926e-05/0.1597, allocations: 30.64 kB / 0.683 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.844e-05/0.1597, allocations: 16.95 kB / 0.683 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.1597, allocations: 7.984 kB / 0.683 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.1599, allocations: 63.34 kB / 0.6831 GB, free: 13.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.1599, allocations: 0 / 0.6831 GB, free: 13.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002041/0.1601, allocations: 97.61 kB / 0.6832 GB, free: 13.44 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.1602, allocations: 63.44 kB / 0.6833 GB, free: 13.37 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.638e-05/0.1602, allocations: 93.84 kB / 0.6834 GB, free: 13.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.1602, allocations: 33.7 kB / 0.6834 GB, free: 13.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/0.1603, allocations: 80.14 kB / 0.6835 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.1603, allocations: 15.81 kB / 0.6835 GB, free: 13.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.1603, allocations: 29.7 kB / 0.6835 GB, free: 13.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.1604, allocations: 318.8 kB / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.069e-05/0.1605, allocations: 19.98 kB / 0.6838 GB, free: 12.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.694e-05/0.1606, allocations: 73.97 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.1607, allocations: 97.88 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1607, allocations: 0 / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001627/0.1609, allocations: 121.4 kB / 0.6841 GB, free: 12.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1609, allocations: 5.719 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.1609, allocations: 4 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1609, allocations: 4.219 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.158e-05/0.161, allocations: 27.86 kB / 0.6841 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.161, allocations: 0 / 0.6841 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.518e-05/0.1611, allocations: 4 kB / 0.6842 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1611, allocations: 4 kB / 0.6842 GB, free: 12.37 MB / 494.1 MB 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.734e-05/0.1612, allocations: 129.9 kB / 0.6843 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.1612, allocations: 7.922 kB / 0.6843 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.1612, allocations: 7.953 kB / 0.6843 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1612, allocations: 4 kB / 0.6843 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1612, allocations: 4 kB / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1612, allocations: 0 / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.1613, allocations: 157.6 kB / 0.6845 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1614, allocations: 0 / 0.6845 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-06/0.1614, allocations: 3.938 kB / 0.6845 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1614, allocations: 0 / 0.6845 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1614, allocations: 0 / 0.6845 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1614, allocations: 0 / 0.6845 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1614, allocations: 0 / 0.6845 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.1615, allocations: 109.3 kB / 0.6846 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.1616, allocations: 81.05 kB / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.1616, allocations: 4 kB / 0.6846 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.363e-05/0.1616, allocations: 4 kB / 0.6846 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.1616, allocations: 7.938 kB / 0.6847 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.1617, allocations: 0 / 0.6847 GB, free: 11.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.202e-05/0.1617, allocations: 79.27 kB / 0.6847 GB, free: 11.69 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1617, allocations: 0 / 0.6847 GB, free: 11.69 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.162, allocations: 32.03 kB / 0.6848 GB, free: 11.66 MB / 494.1 MB 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.0005086/0.1625, allocations: 0.6714 MB / 0.6854 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.1626, allocations: 60.3 kB / 0.6855 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1626, allocations: 12 kB / 0.6855 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.096e-05/0.1627, allocations: 16 kB / 0.6855 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.1628, allocations: 0 / 0.6855 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.1633, allocations: 155.9 kB / 0.6856 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.1635, allocations: 0.6807 MB / 0.6863 GB, free: 9.977 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.419e-05/0.1636, allocations: 4 kB / 0.6863 GB, free: 9.973 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.1636, allocations: 13.22 kB / 0.6863 GB, free: 9.961 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1636, allocations: 0 / 0.6863 GB, free: 9.961 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.1822, allocations: 1.583 MB / 0.6879 GB, free: 8.57 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.006/7.188, allocations: 6.125 kB / 0.6879 GB, free: 8.566 MB / 494.1 MB (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)