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.001131/0.001131, allocations: 108.6 kB / 15.73 MB, free: 72 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.001119/0.001119, allocations: 183 kB / 16.66 MB, free: 6.602 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8669/0.8669, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 63.91 kB / 0.5852 GB, free: 3.789 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3536, allocations: 80.91 MB / 0.6642 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001762/0.3554, allocations: 1.24 MB / 0.6654 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006627/0.3561, allocations: 489.4 kB / 0.6659 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.001e-05/0.3561, allocations: 0 / 0.6659 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.564e-05/0.3562, allocations: 4 kB / 0.6659 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.383e-05/0.3562, allocations: 5.406 kB / 0.6659 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.3565, allocations: 57.48 kB / 0.6659 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.996e-05/0.3566, allocations: 5.938 kB / 0.6659 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.319e-05/0.3566, allocations: 1.312 kB / 0.6659 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.837e-05/0.3566, allocations: 7.828 kB / 0.6659 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.026e-05/0.3567, allocations: 10.77 kB / 0.666 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.973e-06/0.3567, allocations: 0 / 0.666 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.3568, allocations: 66.3 kB / 0.666 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.3569, allocations: 17.08 kB / 0.666 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.3569, allocations: 7.875 kB / 0.666 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.357, allocations: 66.05 kB / 0.6661 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.357, allocations: 0 / 0.6661 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3571, allocations: 0 / 0.6661 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.3571, allocations: 5.469 kB / 0.6661 GB, free: 5.785 MB / 0.4981 GB 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.0002515/0.3573, allocations: 333.5 kB / 0.6664 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.3574, allocations: 13.38 kB / 0.6664 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.529e-05/0.3574, allocations: 32.06 kB / 0.6665 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.283e-05/0.3574, allocations: 5.953 kB / 0.6665 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.536e-05/0.3575, allocations: 169.5 kB / 0.6666 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.3575, allocations: 9.688 kB / 0.6666 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.3575, allocations: 2.438 kB / 0.6667 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.615e-05/0.3576, allocations: 47.5 kB / 0.6667 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.3576, allocations: 0 / 0.6667 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.3576, allocations: 0.8438 kB / 0.6667 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.3576, allocations: 0 / 0.6667 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.44e-05/0.3576, allocations: 11.69 kB / 0.6667 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.059e-05/0.3577, allocations: 158 kB / 0.6669 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.851e-05/0.3578, allocations: 34.5 kB / 0.6669 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.018e-05/0.3578, allocations: 21.17 kB / 0.6669 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.3578, allocations: 5.766 kB / 0.6669 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/0.3579, allocations: 68.3 kB / 0.667 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.358, allocations: 0 / 0.667 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0001746/0.3581, allocations: 101.4 kB / 0.6671 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.3582, allocations: 58.38 kB / 0.6671 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.665e-05/0.3582, allocations: 95.28 kB / 0.6672 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.3582, allocations: 32.42 kB / 0.6673 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.319e-05/0.3582, allocations: 80.14 kB / 0.6673 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.3583, allocations: 15.88 kB / 0.6673 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.3583, allocations: 27.31 kB / 0.6674 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.607e-05/0.3583, allocations: 320.4 kB / 0.6677 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.606e-05/0.3584, allocations: 25.05 kB / 0.6677 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.798e-05/0.3584, allocations: 62.81 kB / 0.6678 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.954e-05/0.3585, allocations: 102.3 kB / 0.6679 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3585, allocations: 5.656 kB / 0.6679 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001448/0.3587, allocations: 117.5 kB / 0.668 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3587, allocations: 6.656 kB / 0.668 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3587, allocations: 9.359 kB / 0.668 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3587, allocations: 3.094 kB / 0.668 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.417e-05/0.3588, allocations: 13.94 kB / 0.668 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3588, allocations: 2.375 kB / 0.668 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.241e-05/0.3589, allocations: 6.375 kB / 0.668 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3589, allocations: 3.938 kB / 0.668 GB, free: 3.848 MB / 0.4981 GB 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 6.176e-05/0.3589, allocations: 131 kB / 0.6681 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-06/0.3589, allocations: 5.266 kB / 0.6682 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.744e-05/0.359, allocations: 11.97 kB / 0.6682 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.359, allocations: 0 / 0.6682 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.359, allocations: 5.125 kB / 0.6682 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.359, allocations: 3.938 kB / 0.6682 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.56e-05/0.3591, allocations: 153 kB / 0.6683 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3591, allocations: 1.188 kB / 0.6683 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-06/0.3591, allocations: 0 / 0.6683 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.3591, allocations: 1.188 kB / 0.6683 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.3591, allocations: 5.109 kB / 0.6683 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.3591, allocations: 0 / 0.6683 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3591, allocations: 5.094 kB / 0.6683 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.3592, allocations: 110.3 kB / 0.6684 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.526e-05/0.3592, allocations: 90.23 kB / 0.6685 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.3593, allocations: 4.125 kB / 0.6685 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.173e-05/0.3593, allocations: 0 / 0.6685 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.3593, allocations: 1.406 kB / 0.6685 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.3593, allocations: 2.844 kB / 0.6685 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.748e-06/0.3593, allocations: 75.31 kB / 0.6686 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.3593, allocations: 4 kB / 0.6686 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002192/0.3595, allocations: 22.66 kB / 0.6686 GB, free: 3.215 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.0002966/0.3598, allocations: 0.6698 MB / 0.6693 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.36, allocations: 63.98 kB / 0.6693 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.36, allocations: 0 / 0.6693 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.651e-05/0.36, allocations: 19.89 kB / 0.6694 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.3601, allocations: 2.594 kB / 0.6694 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.3605, allocations: 154.8 kB / 0.6695 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.068e-05/0.3606, allocations: 0.6749 MB / 0.6702 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.861e-05/0.3606, allocations: 8.734 kB / 0.6702 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/0.3606, allocations: 14.25 kB / 0.6702 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.3606, allocations: 0 / 0.6702 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.3769, allocations: 1.587 MB / 0.6717 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.275/7.652, allocations: 21.12 kB / 0.6718 GB, free: 0.8711 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.csv --start-time 3.5 --stop-time 5.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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)