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.007455/0.007461, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001646/0.001646, allocations: 188.9 kB / 16.67 MB, free: 5.969 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7372/0.7372, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 64.14 kB / 0.5809 GB, free: 8.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4026, allocations: 80.21 MB / 0.6592 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001867/0.4045, allocations: 1.236 MB / 0.6604 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007568/0.4053, allocations: 497.9 kB / 0.6609 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.211e-05/0.4053, allocations: 0 / 0.6609 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/0.4053, allocations: 0 / 0.6609 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.988e-05/0.4054, allocations: 6.188 kB / 0.6609 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.4057, allocations: 53.45 kB / 0.661 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.845e-05/0.4058, allocations: 9.156 kB / 0.661 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.4058, allocations: 1.906 kB / 0.661 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.515e-05/0.4059, allocations: 9.125 kB / 0.661 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.239e-05/0.4059, allocations: 7.109 kB / 0.661 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.4059, allocations: 1.594 kB / 0.661 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.4061, allocations: 67.48 kB / 0.6611 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.923e-05/0.4061, allocations: 14.92 kB / 0.6611 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.4062, allocations: 9.828 kB / 0.6611 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.4063, allocations: 68.22 kB / 0.6611 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4063, allocations: 0 / 0.6611 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4063, allocations: 0 / 0.6611 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.4063, allocations: 1.688 kB / 0.6611 GB, free: 8.582 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.0002877/0.4066, allocations: 331.8 kB / 0.6615 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.4067, allocations: 9.812 kB / 0.6615 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.745e-05/0.4067, allocations: 32.72 kB / 0.6615 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.4067, allocations: 2.406 kB / 0.6615 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.278e-05/0.4068, allocations: 166.9 kB / 0.6617 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.4068, allocations: 13.12 kB / 0.6617 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.4068, allocations: 2.344 kB / 0.6617 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.4069, allocations: 52.33 kB / 0.6617 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.4069, allocations: 1.5 kB / 0.6617 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.4069, allocations: 0.6094 kB / 0.6617 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.407, allocations: 0 / 0.6617 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.892e-05/0.407, allocations: 9.109 kB / 0.6617 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001056/0.4071, allocations: 157.2 kB / 0.6619 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.499e-05/0.4071, allocations: 39.45 kB / 0.6619 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.431e-05/0.4072, allocations: 24.12 kB / 0.6619 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.4072, allocations: 0 / 0.6619 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/0.4073, allocations: 71.73 kB / 0.662 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.4073, allocations: 0 / 0.662 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0002005/0.4075, allocations: 92.06 kB / 0.6621 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.4076, allocations: 56.47 kB / 0.6622 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.442e-05/0.4076, allocations: 96.14 kB / 0.6623 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.4076, allocations: 36.48 kB / 0.6623 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.32e-05/0.4076, allocations: 81.83 kB / 0.6624 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.4077, allocations: 17.08 kB / 0.6624 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.4077, allocations: 28.5 kB / 0.6624 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.797e-05/0.4077, allocations: 314.2 kB / 0.6627 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.948e-05/0.4078, allocations: 21.42 kB / 0.6627 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.798e-05/0.4079, allocations: 81.06 kB / 0.6628 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.864e-05/0.408, allocations: 96.67 kB / 0.6629 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.408, allocations: 3.938 kB / 0.6629 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001454/0.4081, allocations: 121.6 kB / 0.663 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.4081, allocations: 6.562 kB / 0.663 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4081, allocations: 5.078 kB / 0.663 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.4082, allocations: 3.828 kB / 0.663 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.823e-05/0.4082, allocations: 15.27 kB / 0.663 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.4083, allocations: 2.5 kB / 0.663 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.4083, allocations: 7.328 kB / 0.6631 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.4083, allocations: 4.375 kB / 0.6631 GB, free: 6.715 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 7.063e-05/0.4084, allocations: 128.8 kB / 0.6632 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.4084, allocations: 2.094 kB / 0.6632 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.049e-05/0.4084, allocations: 8.484 kB / 0.6632 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.4084, allocations: 5.031 kB / 0.6632 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.4084, allocations: 0 / 0.6632 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4084, allocations: 1.938 kB / 0.6632 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.104e-05/0.4085, allocations: 160.5 kB / 0.6634 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4085, allocations: 0 / 0.6634 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-06/0.4085, allocations: 0.6094 kB / 0.6634 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.4085, allocations: 1.375 kB / 0.6634 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.4085, allocations: 1.781 kB / 0.6634 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.4086, allocations: 0 / 0.6634 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4086, allocations: 0.6562 kB / 0.6634 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.4087, allocations: 118.5 kB / 0.6635 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.4087, allocations: 79.08 kB / 0.6635 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.4087, allocations: 4.719 kB / 0.6635 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.077e-05/0.4087, allocations: 0 / 0.6635 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.4088, allocations: 6.266 kB / 0.6636 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.4088, allocations: 3.391 kB / 0.6636 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.206e-05/0.4088, allocations: 79.22 kB / 0.6636 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4088, allocations: 1.188 kB / 0.6636 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002186/0.409, allocations: 26.19 kB / 0.6637 GB, free: 6.094 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.0003489/0.4094, allocations: 0.6664 MB / 0.6643 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.4095, allocations: 63.83 kB / 0.6644 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4095, allocations: 4.062 kB / 0.6644 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.863e-05/0.4096, allocations: 16.73 kB / 0.6644 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.4097, allocations: 3.172 kB / 0.6644 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.41, allocations: 161.1 kB / 0.6645 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.212e-05/0.4101, allocations: 0.6779 MB / 0.6652 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.033e-05/0.4102, allocations: 9.453 kB / 0.6652 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/0.4102, allocations: 10.66 kB / 0.6652 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.4102, allocations: 64 / 0.6652 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.4257, allocations: 1.607 MB / 0.6668 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.253/7.679, allocations: 7.906 kB / 0.6668 GB, free: 3.93 MB / 0.4981 GB (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)