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.0009554/0.0009554, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009888/0.0009889, allocations: 192.8 kB / 16.13 MB, free: 6.707 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.244/1.244, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002047, allocations: 280 kB / 290.2 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8812/0.8812, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 92.09 kB / 0.5946 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1357, allocations: 86.99 MB / 0.6796 GB, free: 1.016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.00208/0.1379, allocations: 1.296 MB / 0.6809 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007917/0.1387, allocations: 487.2 kB / 0.6813 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.469e-05/0.1387, allocations: 0 / 0.6813 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.003e-05/0.1387, allocations: 0 / 0.6813 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.723e-05/0.1388, allocations: 4 kB / 0.6813 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.1391, allocations: 43.88 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.725e-05/0.1392, allocations: 23.97 kB / 0.6814 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.1392, allocations: 4 kB / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.821e-05/0.1392, allocations: 4 kB / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.733e-05/0.1393, allocations: 11.98 kB / 0.6814 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.117e-06/0.1393, allocations: 0 / 0.6814 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.1394, allocations: 67.86 kB / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.1395, allocations: 11.97 kB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.1395, allocations: 11.94 kB / 0.6815 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.1397, allocations: 72.05 kB / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1397, allocations: 0 / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.1397, allocations: 3.938 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.1397, allocations: 0 / 0.6816 GB, free: 14.98 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.0003275/0.1401, allocations: 335.6 kB / 0.6819 GB, free: 14.61 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1401, allocations: 8.031 kB / 0.6819 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.1401, allocations: 42.67 kB / 0.6819 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.1402, allocations: 8.844 kB / 0.6819 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.963e-05/0.1403, allocations: 160.4 kB / 0.6821 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1403, allocations: 384 / 0.6821 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.1403, allocations: 4.375 kB / 0.6821 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.405e-05/0.1404, allocations: 49.81 kB / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-06/0.1404, allocations: 0 / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.1404, allocations: 4 kB / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1404, allocations: 4 kB / 0.6822 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.695e-05/0.1405, allocations: 11.92 kB / 0.6822 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001208/0.1406, allocations: 165.7 kB / 0.6823 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.468e-05/0.1406, allocations: 30.58 kB / 0.6824 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.1407, allocations: 16.95 kB / 0.6824 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-06/0.1407, allocations: 0 / 0.6824 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/0.1408, allocations: 71.33 kB / 0.6824 GB, free: 13.92 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1408, allocations: 0 / 0.6824 GB, free: 13.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001772/0.141, allocations: 101.6 kB / 0.6825 GB, free: 13.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.141, allocations: 55.41 kB / 0.6826 GB, free: 13.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.002e-05/0.1411, allocations: 93.86 kB / 0.6827 GB, free: 13.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1411, allocations: 33.69 kB / 0.6827 GB, free: 13.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.321e-05/0.1411, allocations: 80.14 kB / 0.6828 GB, free: 13.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.1411, allocations: 19.8 kB / 0.6828 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.1412, allocations: 33.73 kB / 0.6828 GB, free: 13.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.654e-05/0.1413, allocations: 318.8 kB / 0.6831 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.548e-05/0.1413, allocations: 23.92 kB / 0.6832 GB, free: 13.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.014e-05/0.1414, allocations: 65.98 kB / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.1415, allocations: 97.88 kB / 0.6833 GB, free: 12.92 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1415, allocations: 0 / 0.6833 GB, free: 12.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001469/0.1416, allocations: 125.4 kB / 0.6834 GB, free: 12.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.1417, allocations: 4 kB / 0.6834 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1417, allocations: 4 kB / 0.6835 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1417, allocations: 0 / 0.6835 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.302e-05/0.1418, allocations: 15.94 kB / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1418, allocations: 3.984 kB / 0.6835 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.122e-05/0.1418, allocations: 8 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.1418, allocations: 4 kB / 0.6835 GB, free: 12.75 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 7.734e-05/0.1419, allocations: 130.6 kB / 0.6836 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.1419, allocations: 3.938 kB / 0.6836 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.737e-05/0.1419, allocations: 11.89 kB / 0.6836 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.142, allocations: 4 kB / 0.6836 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.142, allocations: 0 / 0.6836 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.142, allocations: 0 / 0.6836 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.789e-05/0.1421, allocations: 149.6 kB / 0.6838 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1421, allocations: 3.984 kB / 0.6838 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.731e-06/0.1421, allocations: 7.938 kB / 0.6838 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.1421, allocations: 4 kB / 0.6838 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1421, allocations: 0 / 0.6838 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1421, allocations: 0 / 0.6838 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1421, allocations: 4 kB / 0.6838 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.1422, allocations: 105.1 kB / 0.6839 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.1423, allocations: 81.05 kB / 0.684 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1423, allocations: 4 kB / 0.684 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.305e-05/0.1423, allocations: 32 / 0.684 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/0.1423, allocations: 15.92 kB / 0.684 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.1424, allocations: 4 kB / 0.684 GB, free: 12.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.772e-05/0.1424, allocations: 75.28 kB / 0.6841 GB, free: 12.06 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1424, allocations: 4 kB / 0.6841 GB, free: 12.06 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002137/0.1426, allocations: 19.98 kB / 0.6841 GB, free: 12.04 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.0004376/0.1431, allocations: 0.6825 MB / 0.6847 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.1432, allocations: 59.84 kB / 0.6848 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1432, allocations: 3.938 kB / 0.6848 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.789e-05/0.1432, allocations: 16 kB / 0.6848 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.1434, allocations: 0 / 0.6848 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.1437, allocations: 163.1 kB / 0.685 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.1439, allocations: 0.677 MB / 0.6856 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.846e-05/0.144, allocations: 4 kB / 0.6856 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.144, allocations: 15.44 kB / 0.6857 GB, free: 10.33 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.144, allocations: 0 / 0.6857 GB, free: 10.33 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01567/0.1597, allocations: 1.467 MB / 0.6871 GB, free: 9.078 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/0.1599, allocations: 286.8 kB / 0.6874 GB, free: 8.699 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/1.767, allocations: 2.406 kB / 0.6874 GB, free: 8.699 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)