Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="IDEAS_IDEAS_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.001416/0.001416, 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.001314/0.001314, allocations: 194.5 kB / 16.14 MB, free: 6.668 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.191/1.191, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6821/0.6821, allocations: 132.2 MB / 422.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 66.8 kB / 0.5012 GB, free: 9.082 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1278, allocations: 80.21 MB / 0.5795 GB, free: 9.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002011/0.1298, allocations: 1.302 MB / 0.5808 GB, free: 7.785 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006731/0.1305, allocations: 484.6 kB / 0.5813 GB, free: 7.312 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.297e-05/0.1305, allocations: 0 / 0.5813 GB, free: 7.312 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.1306, allocations: 0 / 0.5813 GB, free: 7.312 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.941e-05/0.1306, allocations: 0 / 0.5813 GB, free: 7.312 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.1309, allocations: 47.88 kB / 0.5813 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.809e-05/0.1309, allocations: 31.95 kB / 0.5814 GB, free: 7.234 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.181e-05/0.131, allocations: 0 / 0.5814 GB, free: 7.234 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.911e-05/0.131, allocations: 11.94 kB / 0.5814 GB, free: 7.223 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.053e-05/0.131, allocations: 7.938 kB / 0.5814 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.895e-06/0.1311, allocations: 0 / 0.5814 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.1312, allocations: 67.84 kB / 0.5814 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.1312, allocations: 15.97 kB / 0.5815 GB, free: 7.133 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.1313, allocations: 7.938 kB / 0.5815 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.1314, allocations: 67.83 kB / 0.5815 GB, free: 7.059 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1314, allocations: 0 / 0.5815 GB, free: 7.059 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1314, allocations: 0 / 0.5815 GB, free: 7.059 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.1314, allocations: 4 kB / 0.5815 GB, free: 7.055 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.0002893/0.1317, allocations: 339.7 kB / 0.5819 GB, free: 6.676 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.1318, allocations: 8.031 kB / 0.5819 GB, free: 6.668 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.782e-05/0.1318, allocations: 34.75 kB / 0.5819 GB, free: 6.625 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.173e-05/0.1318, allocations: 0.9375 kB / 0.5819 GB, free: 6.625 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.885e-05/0.1319, allocations: 164.4 kB / 0.5821 GB, free: 6.426 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.1319, allocations: 384 / 0.5821 GB, free: 6.426 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.1319, allocations: 11.94 kB / 0.5821 GB, free: 6.414 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.863e-05/0.132, allocations: 53.62 kB / 0.5821 GB, free: 6.355 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.132, allocations: 7.938 kB / 0.5821 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.132, allocations: 0 / 0.5821 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.132, allocations: 0 / 0.5821 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.515e-05/0.1321, allocations: 12 kB / 0.5821 GB, free: 6.336 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.1322, allocations: 153.7 kB / 0.5823 GB, free: 6.137 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.26e-05/0.1322, allocations: 34.56 kB / 0.5823 GB, free: 6.094 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.1323, allocations: 16.95 kB / 0.5823 GB, free: 6.074 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-06/0.1323, allocations: 7.984 kB / 0.5823 GB, free: 6.066 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/0.1324, allocations: 75.33 kB / 0.5824 GB, free: 5.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1324, allocations: 0 / 0.5824 GB, free: 5.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001657/0.1326, allocations: 85.59 kB / 0.5825 GB, free: 5.891 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.1326, allocations: 63.39 kB / 0.5826 GB, free: 5.816 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.461e-05/0.1327, allocations: 89.86 kB / 0.5826 GB, free: 5.719 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1327, allocations: 33.7 kB / 0.5827 GB, free: 5.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.193e-05/0.1327, allocations: 84.17 kB / 0.5828 GB, free: 5.594 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.1327, allocations: 27.72 kB / 0.5828 GB, free: 5.566 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.1328, allocations: 29.72 kB / 0.5828 GB, free: 5.531 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.218e-05/0.1329, allocations: 314.8 kB / 0.5831 GB, free: 5.215 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.803e-05/0.1329, allocations: 23.98 kB / 0.5831 GB, free: 5.191 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.434e-05/0.133, allocations: 65.94 kB / 0.5832 GB, free: 5.105 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.1331, allocations: 101.9 kB / 0.5833 GB, free: 4.984 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1331, allocations: 4 kB / 0.5833 GB, free: 4.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000141/0.1332, allocations: 113.4 kB / 0.5834 GB, free: 4.863 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.1333, allocations: 7.984 kB / 0.5834 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.1333, allocations: 7.938 kB / 0.5834 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.1333, allocations: 4 kB / 0.5834 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.839e-05/0.1334, allocations: 12 kB / 0.5834 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1334, allocations: 4 kB / 0.5834 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.115e-05/0.1334, allocations: 8.125 kB / 0.5834 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.1334, allocations: 4 kB / 0.5834 GB, free: 4.816 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.561e-05/0.1335, allocations: 131.3 kB / 0.5836 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.1335, allocations: 4 kB / 0.5836 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.44e-05/0.1335, allocations: 3.969 kB / 0.5836 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1335, allocations: 0 / 0.5836 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1335, allocations: 0 / 0.5836 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1335, allocations: 0 / 0.5836 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.645e-05/0.1336, allocations: 169.5 kB / 0.5837 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1337, allocations: 0 / 0.5837 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-06/0.1337, allocations: 0 / 0.5837 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.1337, allocations: 0 / 0.5837 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.1337, allocations: 4 kB / 0.5837 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1337, allocations: 0 / 0.5837 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1337, allocations: 0 / 0.5837 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.1338, allocations: 109 kB / 0.5838 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.1338, allocations: 85.02 kB / 0.5839 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.1339, allocations: 12.02 kB / 0.5839 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.256e-05/0.1339, allocations: 4 kB / 0.5839 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.1339, allocations: 0 / 0.5839 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.1339, allocations: 4 kB / 0.5839 GB, free: 4.207 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.301e-05/0.1339, allocations: 75.28 kB / 0.584 GB, free: 4.133 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1339, allocations: 0 / 0.584 GB, free: 4.133 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002078/0.1342, allocations: 24 kB / 0.584 GB, free: 4.109 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.0003745/0.1345, allocations: 0.6716 MB / 0.5847 GB, free: 3.406 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.1347, allocations: 55.91 kB / 0.5848 GB, free: 3.352 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.1347, allocations: 4 kB / 0.5848 GB, free: 3.348 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.665e-05/0.1347, allocations: 19.98 kB / 0.5848 GB, free: 3.328 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/0.1348, allocations: 0.5312 kB / 0.5848 GB, free: 3.328 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003229/0.1351, allocations: 169.1 kB / 0.5849 GB, free: 3.121 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.1353, allocations: 0.677 MB / 0.5856 GB, free: 2.418 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.984e-05/0.1354, allocations: 7.984 kB / 0.5856 GB, free: 2.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.1354, allocations: 11.44 kB / 0.5856 GB, free: 2.398 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1354, allocations: 0 / 0.5856 GB, free: 2.398 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.386/2.522, allocations: 1.441 MB / 0.587 GB, free: 1.164 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003325/2.522, allocations: 262.8 kB / 0.5873 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/4.385, allocations: 0 / 0.5873 GB, free: 0.8164 MB / 494.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)