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.0008542/0.0008542, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005224/0.005224, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.336/1.336, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001666/0.001666, allocations: 270.9 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9483/0.9483, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004083, allocations: 15.61 kB / 0.5988 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1441, allocations: 88.54 MB / 0.6853 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001167/0.1453, allocations: 0.9628 MB / 0.6862 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007746/0.1461, allocations: 483.4 kB / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.175e-05/0.1462, allocations: 1 kB / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.177e-05/0.1462, allocations: 0 / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.215e-05/0.1463, allocations: 2.062 kB / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.1465, allocations: 43.94 kB / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.958e-05/0.1466, allocations: 23.92 kB / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.264e-05/0.1466, allocations: 0 / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.244e-05/0.1467, allocations: 14.34 kB / 0.6868 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.269e-05/0.1467, allocations: 4 kB / 0.6868 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-06/0.1467, allocations: 0 / 0.6868 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.1469, allocations: 67.86 kB / 0.6868 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.263e-05/0.1469, allocations: 7.984 kB / 0.6868 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.258e-05/0.147, allocations: 33.64 kB / 0.6869 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.1471, allocations: 76.05 kB / 0.6869 GB, free: 13.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1471, allocations: 0.5 kB / 0.6869 GB, free: 13.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1471, allocations: 1.25 kB / 0.6869 GB, free: 13.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.1471, allocations: 0 / 0.6869 GB, free: 13.21 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.0003025/0.1474, allocations: 329 kB / 0.6873 GB, free: 12.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1475, allocations: 8.031 kB / 0.6873 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.457e-05/0.1475, allocations: 42.73 kB / 0.6873 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.152e-05/0.1475, allocations: 4.844 kB / 0.6873 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.81e-05/0.1476, allocations: 165.1 kB / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.1476, allocations: 3.219 kB / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.1477, allocations: 4.375 kB / 0.6875 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.1478, allocations: 53.81 kB / 0.6875 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.019e-06/0.1478, allocations: 0 / 0.6875 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.1478, allocations: 0 / 0.6875 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1478, allocations: 0 / 0.6875 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.751e-05/0.1478, allocations: 15.98 kB / 0.6875 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.148, allocations: 163.3 kB / 0.6877 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.226e-05/0.148, allocations: 30.58 kB / 0.6877 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.415e-05/0.1481, allocations: 20.89 kB / 0.6877 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.13e-06/0.1481, allocations: 0.5 kB / 0.6877 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.1482, allocations: 69.05 kB / 0.6878 GB, free: 12.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.1482, allocations: 4.719 kB / 0.6878 GB, free: 12.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001826/0.1484, allocations: 93.61 kB / 0.6879 GB, free: 12.06 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.1485, allocations: 60.28 kB / 0.688 GB, free: 11.99 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.44e-05/0.1485, allocations: 89.86 kB / 0.688 GB, free: 11.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1485, allocations: 34.31 kB / 0.6881 GB, free: 11.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.1486, allocations: 85.58 kB / 0.6882 GB, free: 11.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.1486, allocations: 15.81 kB / 0.6882 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.1486, allocations: 21.7 kB / 0.6882 GB, free: 11.72 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.1487, allocations: 315.5 kB / 0.6885 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.075e-05/0.1488, allocations: 20.02 kB / 0.6885 GB, free: 11.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.054e-05/0.1489, allocations: 70.56 kB / 0.6886 GB, free: 11.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.149, allocations: 101.9 kB / 0.6887 GB, free: 11.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.149, allocations: 0 / 0.6887 GB, free: 11.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001688/0.1492, allocations: 121.4 kB / 0.6888 GB, free: 11.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1492, allocations: 4 kB / 0.6888 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.1492, allocations: 8.219 kB / 0.6888 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.1492, allocations: 0 / 0.6888 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.895e-05/0.1493, allocations: 19.94 kB / 0.6888 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1493, allocations: 0 / 0.6888 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.1493, allocations: 4 kB / 0.6888 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.1493, allocations: 7.984 kB / 0.6888 GB, free: 11.01 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 9.488e-05/0.1495, allocations: 122.4 kB / 0.689 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.1495, allocations: 3.938 kB / 0.689 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.651e-05/0.1495, allocations: 7.969 kB / 0.689 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1495, allocations: 4 kB / 0.689 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1495, allocations: 0 / 0.689 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1495, allocations: 0 / 0.689 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.1496, allocations: 161.6 kB / 0.6891 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.1496, allocations: 0 / 0.6891 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-06/0.1497, allocations: 7.875 kB / 0.6891 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1497, allocations: 0 / 0.6891 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.1497, allocations: 3.984 kB / 0.6891 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1497, allocations: 4 kB / 0.6891 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1497, allocations: 0 / 0.6891 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.1498, allocations: 105.1 kB / 0.6892 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.1499, allocations: 85.03 kB / 0.6893 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.1499, allocations: 7.984 kB / 0.6893 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.195e-05/0.1499, allocations: 0 / 0.6893 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.1499, allocations: 4 kB / 0.6893 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1499, allocations: 3.938 kB / 0.6893 GB, free: 10.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.979e-05/0.15, allocations: 75.28 kB / 0.6894 GB, free: 10.33 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.15, allocations: 8.031 kB / 0.6894 GB, free: 10.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.1502, allocations: 20 kB / 0.6894 GB, free: 10.3 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.0004788/0.1507, allocations: 0.686 MB / 0.6901 GB, free: 9.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.1508, allocations: 56.14 kB / 0.6902 GB, free: 9.535 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1508, allocations: 3.938 kB / 0.6902 GB, free: 9.531 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.03e-05/0.1509, allocations: 23.98 kB / 0.6902 GB, free: 9.508 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.151, allocations: 2.109 kB / 0.6902 GB, free: 9.508 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.1514, allocations: 162.2 kB / 0.6903 GB, free: 9.309 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.1516, allocations: 0.677 MB / 0.691 GB, free: 8.605 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.343e-05/0.1517, allocations: 8.312 kB / 0.691 GB, free: 8.598 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.1517, allocations: 15.42 kB / 0.691 GB, free: 8.582 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1517, allocations: 0 / 0.691 GB, free: 8.582 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01063/0.1623, allocations: 1.393 MB / 0.6924 GB, free: 7.426 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/0.1626, allocations: 292.2 kB / 0.6927 GB, free: 7.047 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/1.797, allocations: 2.578 kB / 0.6927 GB, free: 7.047 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)