Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="IDEAS_dev_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_dev_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.001141/0.001141, allocations: 108 kB / 15.6 MB, free: 132 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.001226/0.001226, allocations: 198.3 kB / 16.53 MB, free: 6.391 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.261/1.261, 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/IDEAS 3.0.0-master/package.mo): time 0.9466/0.9466, allocations: 135.1 MB / 425.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 64.11 kB / 0.5055 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1883, allocations: 80.93 MB / 0.5845 GB, free: 4.383 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002174/0.1906, allocations: 1.228 MB / 0.5857 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007254/0.1913, allocations: 488.4 kB / 0.5862 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.593e-05/0.1913, allocations: 0 / 0.5862 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.579e-05/0.1914, allocations: 8 kB / 0.5862 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.677e-05/0.1914, allocations: 3.938 kB / 0.5862 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.1917, allocations: 51.88 kB / 0.5862 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.363e-05/0.1918, allocations: 15.97 kB / 0.5863 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.1918, allocations: 0 / 0.5863 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.197e-05/0.1919, allocations: 7.938 kB / 0.5863 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.257e-05/0.1919, allocations: 7.984 kB / 0.5863 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.686e-06/0.1919, allocations: 0 / 0.5863 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.1921, allocations: 63.86 kB / 0.5863 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.188e-05/0.1921, allocations: 11.98 kB / 0.5863 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.1922, allocations: 19.92 kB / 0.5864 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.1923, allocations: 55.84 kB / 0.5864 GB, free: 2.418 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1923, allocations: 0 / 0.5864 GB, free: 2.418 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1923, allocations: 0 / 0.5864 GB, free: 2.418 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1923, allocations: 0 / 0.5864 GB, free: 2.418 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.0003226/0.1926, allocations: 347.7 kB / 0.5867 GB, free: 2.031 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.1927, allocations: 8.031 kB / 0.5868 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.631e-05/0.1927, allocations: 30.75 kB / 0.5868 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.1927, allocations: 8.938 kB / 0.5868 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.583e-05/0.1928, allocations: 160.4 kB / 0.5869 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-06/0.1928, allocations: 4.312 kB / 0.587 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.1928, allocations: 11.92 kB / 0.587 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.096e-05/0.1929, allocations: 49.62 kB / 0.587 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1929, allocations: 0 / 0.587 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.193, allocations: 4 kB / 0.587 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.193, allocations: 0 / 0.587 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.65e-05/0.193, allocations: 12 kB / 0.587 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.1931, allocations: 153.7 kB / 0.5872 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.353e-05/0.1932, allocations: 34.52 kB / 0.5872 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/0.1932, allocations: 24.94 kB / 0.5872 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/0.1932, allocations: 0 / 0.5872 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001217/0.1933, allocations: 67.33 kB / 0.5873 GB, free: 1.348 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1934, allocations: 3.938 kB / 0.5873 GB, free: 1.344 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001922/0.1936, allocations: 97.59 kB / 0.5874 GB, free: 1.242 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.1936, allocations: 63.39 kB / 0.5875 GB, free: 1.168 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.662e-05/0.1936, allocations: 89.86 kB / 0.5875 GB, free: 1.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1937, allocations: 29.7 kB / 0.5876 GB, free: 1.035 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.796e-05/0.1937, allocations: 84.14 kB / 0.5876 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.1937, allocations: 19.81 kB / 0.5877 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.1938, allocations: 25.72 kB / 0.5877 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1939, allocations: 322.8 kB / 0.588 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.177e-05/0.1939, allocations: 27.95 kB / 0.588 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.9e-05/0.194, allocations: 62 kB / 0.5881 GB, free: 476 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.1941, allocations: 97.92 kB / 0.5882 GB, free: 356 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1941, allocations: 4 kB / 0.5882 GB, free: 352 kB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001515/0.1943, allocations: 117.3 kB / 0.5883 GB, free: 228 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1943, allocations: 6.562 kB / 0.5883 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1943, allocations: 8.234 kB / 0.5883 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1943, allocations: 0 / 0.5883 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-05/0.1944, allocations: 15.98 kB / 0.5883 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1944, allocations: 3.984 kB / 0.5883 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.342e-05/0.1945, allocations: 8 kB / 0.5883 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.1945, allocations: 4 kB / 0.5883 GB, free: 184 kB / 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.931e-05/0.1946, allocations: 130.4 kB / 0.5885 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.1946, allocations: 3.906 kB / 0.5885 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.1946, allocations: 11.97 kB / 0.5885 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1946, allocations: 3.938 kB / 0.5885 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1946, allocations: 0 / 0.5885 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1946, allocations: 3.984 kB / 0.5885 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.1948, allocations: 161.5 kB / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1948, allocations: 0 / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.487e-06/0.1948, allocations: 0 / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1948, allocations: 0 / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.1948, allocations: 0 / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1948, allocations: 4 kB / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1948, allocations: 4 kB / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.1949, allocations: 109 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.195, allocations: 81.02 kB / 0.5888 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.195, allocations: 7.984 kB / 0.5888 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.374e-05/0.195, allocations: 4 kB / 0.5888 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.195, allocations: 0 / 0.5888 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1951, allocations: 4 kB / 0.5888 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.341e-05/0.1951, allocations: 75.28 kB / 0.5889 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1951, allocations: 4.031 kB / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002216/0.1953, allocations: 23.94 kB / 0.5889 GB, free: 15.46 MB / 0.4981 GB 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.00049/0.1958, allocations: 0.667 MB / 0.5896 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.196, allocations: 63.98 kB / 0.5897 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.196, allocations: 0 / 0.5897 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.144e-05/0.196, allocations: 20 kB / 0.5897 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.1962, allocations: 3.984 kB / 0.5897 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.1966, allocations: 155.1 kB / 0.5898 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.1969, allocations: 0.6807 MB / 0.5905 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.271e-05/0.1969, allocations: 8.438 kB / 0.5905 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.1969, allocations: 19.36 kB / 0.5905 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1969, allocations: 0 / 0.5905 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.2153, allocations: 1.556 MB / 0.592 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.444/7.66, allocations: 17.44 kB / 0.5921 GB, free: 12.38 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)