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.0009625/0.0009624, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009823/0.0009823, allocations: 193.5 kB / 16.26 MB, free: 6.621 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.297/1.297, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 282.7 kB / 290.3 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9139/0.9139, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 88.14 kB / 0.5948 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1378, allocations: 86.98 MB / 0.6798 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.0022/0.14, allocations: 1.3 MB / 0.681 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007257/0.1408, allocations: 483.3 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.323e-05/0.1408, allocations: 0 / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.1408, allocations: 4 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.24e-05/0.1409, allocations: 7.984 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.1412, allocations: 43.89 kB / 0.6816 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.195e-05/0.1412, allocations: 15.92 kB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.083e-05/0.1413, allocations: 4 kB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.778e-05/0.1413, allocations: 3.984 kB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.389e-05/0.1413, allocations: 15.98 kB / 0.6816 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.583e-06/0.1413, allocations: 0 / 0.6816 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.1415, allocations: 59.86 kB / 0.6817 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.106e-05/0.1415, allocations: 15.98 kB / 0.6817 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.1416, allocations: 11.94 kB / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.1417, allocations: 68.06 kB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1417, allocations: 0 / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1417, allocations: 0 / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.1417, allocations: 0 / 0.6817 GB, free: 14.88 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.0002892/0.142, allocations: 331.6 kB / 0.6821 GB, free: 14.51 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.142, allocations: 8.031 kB / 0.6821 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.842e-05/0.1421, allocations: 34.75 kB / 0.6821 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.241e-05/0.1421, allocations: 8.844 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.338e-05/0.1422, allocations: 168.3 kB / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1422, allocations: 4.375 kB / 0.6823 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.1422, allocations: 8.359 kB / 0.6823 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.297e-05/0.1423, allocations: 53.81 kB / 0.6823 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.1423, allocations: 0 / 0.6823 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.1423, allocations: 0 / 0.6823 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1424, allocations: 0 / 0.6823 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.331e-05/0.1424, allocations: 8 kB / 0.6823 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.1425, allocations: 161.6 kB / 0.6825 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.555e-05/0.1426, allocations: 34.56 kB / 0.6825 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/0.1426, allocations: 16.95 kB / 0.6825 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-06/0.1426, allocations: 4 kB / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/0.1427, allocations: 71.31 kB / 0.6826 GB, free: 13.81 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.1427, allocations: 4 kB / 0.6826 GB, free: 13.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001772/0.1429, allocations: 97.61 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.1429, allocations: 55.41 kB / 0.6828 GB, free: 13.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.723e-05/0.143, allocations: 89.86 kB / 0.6829 GB, free: 13.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.143, allocations: 33.7 kB / 0.6829 GB, free: 13.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.298e-05/0.143, allocations: 80.14 kB / 0.683 GB, free: 13.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.1431, allocations: 19.8 kB / 0.683 GB, free: 13.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.1431, allocations: 33.66 kB / 0.683 GB, free: 13.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.841e-05/0.1432, allocations: 314.8 kB / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-05/0.1433, allocations: 28.02 kB / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.735e-05/0.1433, allocations: 58 kB / 0.6834 GB, free: 12.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.1434, allocations: 105.9 kB / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1434, allocations: 0 / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001476/0.1436, allocations: 121.3 kB / 0.6836 GB, free: 12.69 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1436, allocations: 8.203 kB / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1436, allocations: 12 kB / 0.6836 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.1436, allocations: 4 kB / 0.6836 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.802e-05/0.1437, allocations: 11.94 kB / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1437, allocations: 4 kB / 0.6836 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.922e-05/0.1438, allocations: 0 / 0.6836 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1438, allocations: 8 kB / 0.6837 GB, free: 12.64 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.411e-05/0.1439, allocations: 122.4 kB / 0.6838 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.1439, allocations: 7.938 kB / 0.6838 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.682e-05/0.1439, allocations: 15.91 kB / 0.6838 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1439, allocations: 0 / 0.6838 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1439, allocations: 0 / 0.6838 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1439, allocations: 0 / 0.6838 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.144, allocations: 153.6 kB / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.144, allocations: 0 / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.089e-06/0.1441, allocations: 3.938 kB / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1441, allocations: 0 / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1441, allocations: 4 kB / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1441, allocations: 0 / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1441, allocations: 4 kB / 0.684 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.1442, allocations: 105.1 kB / 0.6841 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.1443, allocations: 85.05 kB / 0.6841 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.1443, allocations: 7.984 kB / 0.6841 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.22e-05/0.1443, allocations: 0 / 0.6841 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.1443, allocations: 0 / 0.6841 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.1443, allocations: 8 kB / 0.6841 GB, free: 12.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.442e-05/0.1444, allocations: 79.28 kB / 0.6842 GB, free: 11.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1444, allocations: 7.969 kB / 0.6842 GB, free: 11.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.1446, allocations: 16 kB / 0.6842 GB, free: 11.94 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.0004402/0.145, allocations: 0.6748 MB / 0.6849 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.1452, allocations: 60 kB / 0.685 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1452, allocations: 0 / 0.685 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.196e-05/0.1452, allocations: 23.92 kB / 0.685 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.1454, allocations: 4 kB / 0.685 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/0.1457, allocations: 158.4 kB / 0.6851 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.146, allocations: 0.6768 MB / 0.6858 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.239e-05/0.146, allocations: 12.42 kB / 0.6858 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.146, allocations: 19.38 kB / 0.6858 GB, free: 10.23 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.146, allocations: 0 / 0.6858 GB, free: 10.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01025/0.1563, allocations: 1.516 MB / 0.6873 GB, free: 8.949 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/0.1565, allocations: 291.2 kB / 0.6876 GB, free: 8.566 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/1.947, allocations: 0 / 0.6876 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)