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.001104/0.001104, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001145/0.001145, allocations: 191.1 kB / 16.14 MB, free: 6.688 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.236/1.236, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8571/0.8571, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 64.09 kB / 0.5048 GB, free: 5.602 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1385, allocations: 80.92 MB / 0.5838 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002034/0.1406, allocations: 1.304 MB / 0.5851 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007004/0.1413, allocations: 492.5 kB / 0.5856 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.153e-05/0.1413, allocations: 3.938 kB / 0.5856 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.1414, allocations: 0 / 0.5856 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.27e-05/0.1414, allocations: 0 / 0.5856 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.1417, allocations: 47.88 kB / 0.5856 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.425e-05/0.1417, allocations: 23.98 kB / 0.5857 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.214e-05/0.1418, allocations: 3.984 kB / 0.5857 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.637e-05/0.1418, allocations: 4 kB / 0.5857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.142e-05/0.1418, allocations: 7.984 kB / 0.5857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.684e-06/0.1418, allocations: 3.938 kB / 0.5857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.142, allocations: 67.84 kB / 0.5857 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.916e-05/0.142, allocations: 12 kB / 0.5858 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.1421, allocations: 11.92 kB / 0.5858 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.1422, allocations: 67.78 kB / 0.5858 GB, free: 2.789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1422, allocations: 0 / 0.5858 GB, free: 2.789 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.1422, allocations: 4 kB / 0.5858 GB, free: 2.785 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.1422, allocations: 0 / 0.5858 GB, free: 2.785 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.0002888/0.1425, allocations: 339.7 kB / 0.5862 GB, free: 2.406 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.1425, allocations: 12.03 kB / 0.5862 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.635e-05/0.1426, allocations: 30.75 kB / 0.5862 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.02e-05/0.1426, allocations: 0.9375 kB / 0.5862 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.989e-05/0.1427, allocations: 164.4 kB / 0.5864 GB, free: 2.156 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.1427, allocations: 4.375 kB / 0.5864 GB, free: 2.152 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.1427, allocations: 3.938 kB / 0.5864 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.771e-05/0.1428, allocations: 57.67 kB / 0.5864 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.019e-06/0.1428, allocations: 0 / 0.5864 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.261e-06/0.1428, allocations: 0 / 0.5864 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-06/0.1428, allocations: 0 / 0.5864 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.411e-05/0.1429, allocations: 11.94 kB / 0.5864 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.143, allocations: 153.7 kB / 0.5866 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.1e-05/0.143, allocations: 30.58 kB / 0.5866 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.923e-05/0.1431, allocations: 20.94 kB / 0.5866 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.42e-06/0.1431, allocations: 4 kB / 0.5866 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/0.1432, allocations: 75.33 kB / 0.5867 GB, free: 1.723 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.1432, allocations: 0 / 0.5867 GB, free: 1.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001644/0.1434, allocations: 97.58 kB / 0.5868 GB, free: 1.621 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.1434, allocations: 59.39 kB / 0.5869 GB, free: 1.551 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.144e-05/0.1434, allocations: 89.86 kB / 0.5869 GB, free: 1.453 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.1435, allocations: 33.7 kB / 0.587 GB, free: 1.414 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.1435, allocations: 84.17 kB / 0.5871 GB, free: 1.328 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.1435, allocations: 15.84 kB / 0.5871 GB, free: 1.312 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.1436, allocations: 33.7 kB / 0.5871 GB, free: 1.273 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.1437, allocations: 310.8 kB / 0.5874 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.647e-05/0.1437, allocations: 31.97 kB / 0.5874 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.293e-05/0.1438, allocations: 69.44 kB / 0.5875 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.695e-05/0.1439, allocations: 93.92 kB / 0.5876 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1439, allocations: 4 kB / 0.5876 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001466/0.144, allocations: 125.3 kB / 0.5877 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.144, allocations: 7.938 kB / 0.5877 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.1441, allocations: 0 / 0.5877 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1441, allocations: 4 kB / 0.5877 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.581e-05/0.1441, allocations: 19.92 kB / 0.5877 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1442, allocations: 0 / 0.5877 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.037e-05/0.1442, allocations: 8.219 kB / 0.5877 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1442, allocations: 4 kB / 0.5877 GB, free: 0.5547 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.664e-05/0.1443, allocations: 131.2 kB / 0.5879 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-06/0.1443, allocations: 3.906 kB / 0.5879 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.1443, allocations: 7.969 kB / 0.5879 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1443, allocations: 4 kB / 0.5879 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1443, allocations: 0 / 0.5879 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.1443, allocations: 4 kB / 0.5879 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.288e-05/0.1444, allocations: 157.5 kB / 0.588 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1444, allocations: 4 kB / 0.588 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-06/0.1445, allocations: 0 / 0.588 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.1445, allocations: 0 / 0.588 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.1445, allocations: 0 / 0.588 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1445, allocations: 0 / 0.588 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1445, allocations: 0 / 0.588 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.1446, allocations: 113 kB / 0.5882 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/0.1446, allocations: 85.05 kB / 0.5882 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.1447, allocations: 7.984 kB / 0.5882 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.317e-05/0.1447, allocations: 3.984 kB / 0.5882 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.1447, allocations: 0 / 0.5882 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.1447, allocations: 4 kB / 0.5882 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.099e-05/0.1447, allocations: 75.28 kB / 0.5883 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1448, allocations: 0 / 0.5883 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002186/0.145, allocations: 24 kB / 0.5883 GB, free: 15.84 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.0004007/0.1454, allocations: 0.671 MB / 0.589 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.1455, allocations: 63.84 kB / 0.5891 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1455, allocations: 0 / 0.5891 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.438e-05/0.1455, allocations: 12 kB / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.1457, allocations: 5.141 kB / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.146, allocations: 165.1 kB / 0.5892 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.1462, allocations: 0.6809 MB / 0.5899 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.857e-05/0.1462, allocations: 4 kB / 0.5899 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.1463, allocations: 7.438 kB / 0.5899 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.1463, allocations: 0 / 0.5899 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009709/0.156, allocations: 1.445 MB / 0.5913 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002533/0.1562, allocations: 276.1 kB / 0.5916 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/1.74, allocations: 0 / 0.5916 GB, free: 12.54 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)