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.006793/0.006793, allocations: 101 kB / 15.73 MB, free: 6.445 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.00153/0.00153, allocations: 191.5 kB / 16.67 MB, free: 6.348 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8257/0.8257, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 71.89 kB / 0.5809 GB, free: 8.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3914, allocations: 80.2 MB / 0.6592 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002127/0.3936, allocations: 1.239 MB / 0.6604 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000752/0.3943, allocations: 496.5 kB / 0.6609 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.774e-05/0.3944, allocations: 1.344 kB / 0.6609 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.283e-05/0.3944, allocations: 0.7031 kB / 0.6609 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.837e-05/0.3945, allocations: 4.656 kB / 0.6609 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.3948, allocations: 54.48 kB / 0.661 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.27e-05/0.3949, allocations: 8.828 kB / 0.661 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.3949, allocations: 2 kB / 0.661 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.945e-05/0.3949, allocations: 4.141 kB / 0.661 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.305e-05/0.395, allocations: 8.125 kB / 0.661 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.669e-06/0.395, allocations: 1.719 kB / 0.661 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.3951, allocations: 65.97 kB / 0.6611 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.847e-05/0.3952, allocations: 12.42 kB / 0.6611 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.3952, allocations: 16.67 kB / 0.6611 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.3954, allocations: 62.95 kB / 0.6612 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3954, allocations: 0 / 0.6612 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3954, allocations: 4.641 kB / 0.6612 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3954, allocations: 1.125 kB / 0.6612 GB, free: 8.637 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.0002743/0.3957, allocations: 341.5 kB / 0.6615 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.3957, allocations: 9.062 kB / 0.6615 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.857e-05/0.3958, allocations: 33.08 kB / 0.6615 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.3958, allocations: 2.375 kB / 0.6615 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.248e-05/0.3958, allocations: 167 kB / 0.6617 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3959, allocations: 9.406 kB / 0.6617 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.3959, allocations: 5.969 kB / 0.6617 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.146e-05/0.396, allocations: 45.52 kB / 0.6617 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.396, allocations: 0 / 0.6617 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.396, allocations: 0 / 0.6617 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.396, allocations: 1.375 kB / 0.6617 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.582e-05/0.396, allocations: 16.27 kB / 0.6618 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.596e-05/0.3961, allocations: 153.8 kB / 0.6619 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.262e-05/0.3962, allocations: 37.02 kB / 0.6619 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.231e-05/0.3962, allocations: 22.28 kB / 0.662 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.3962, allocations: 0 / 0.662 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.3964, allocations: 68.3 kB / 0.662 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/0.3964, allocations: 0 / 0.662 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0001903/0.3966, allocations: 103.4 kB / 0.6621 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.3966, allocations: 60.81 kB / 0.6622 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.714e-05/0.3966, allocations: 95.61 kB / 0.6623 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.3966, allocations: 32.95 kB / 0.6623 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.584e-05/0.3967, allocations: 81.95 kB / 0.6624 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.3967, allocations: 16.86 kB / 0.6624 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.3967, allocations: 33.45 kB / 0.6624 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.3968, allocations: 313.4 kB / 0.6627 GB, free: 7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.046e-05/0.3968, allocations: 21.72 kB / 0.6628 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.518e-05/0.3969, allocations: 72.53 kB / 0.6628 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.806e-05/0.397, allocations: 97.02 kB / 0.6629 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.397, allocations: 4.453 kB / 0.6629 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001374/0.3971, allocations: 110.1 kB / 0.663 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3972, allocations: 6.406 kB / 0.663 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3972, allocations: 5.562 kB / 0.663 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3972, allocations: 2.438 kB / 0.663 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.696e-05/0.3973, allocations: 19.48 kB / 0.6631 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3973, allocations: 3.234 kB / 0.6631 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.311e-05/0.3973, allocations: 10.16 kB / 0.6631 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.3973, allocations: 5.562 kB / 0.6631 GB, free: 6.77 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.621e-05/0.3974, allocations: 129.3 kB / 0.6632 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-06/0.3974, allocations: 0.6562 kB / 0.6632 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.955e-05/0.3974, allocations: 8.531 kB / 0.6632 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.3974, allocations: 1.562 kB / 0.6632 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3975, allocations: 0 / 0.6632 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3975, allocations: 0.5625 kB / 0.6632 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.57e-05/0.3975, allocations: 157.2 kB / 0.6634 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3975, allocations: 0 / 0.6634 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-06/0.3976, allocations: 6.172 kB / 0.6634 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.3976, allocations: 3.938 kB / 0.6634 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.3976, allocations: 1.422 kB / 0.6634 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3976, allocations: 1.375 kB / 0.6634 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3976, allocations: 0 / 0.6634 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.3977, allocations: 121.8 kB / 0.6635 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.3977, allocations: 83.22 kB / 0.6636 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.3977, allocations: 4.25 kB / 0.6636 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.166e-05/0.3978, allocations: 1.062 kB / 0.6636 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.3978, allocations: 2.406 kB / 0.6636 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.3978, allocations: 2.688 kB / 0.6636 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.033e-05/0.3978, allocations: 75.28 kB / 0.6636 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.3978, allocations: 4.031 kB / 0.6637 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002236/0.398, allocations: 23.52 kB / 0.6637 GB, free: 6.148 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.0003365/0.3984, allocations: 0.6652 MB / 0.6643 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.3985, allocations: 67.41 kB / 0.6644 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3985, allocations: 0 / 0.6644 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.833e-05/0.3986, allocations: 17.77 kB / 0.6644 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.3987, allocations: 2.234 kB / 0.6644 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.399, allocations: 155.8 kB / 0.6646 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.389e-05/0.3991, allocations: 0.6767 MB / 0.6652 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.029e-05/0.3992, allocations: 6.234 kB / 0.6652 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.177e-05/0.3992, allocations: 14 kB / 0.6652 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.3992, allocations: 0 / 0.6652 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.4222, allocations: 1.585 MB / 0.6668 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.424, allocations: 8.344 kB / 0.6668 GB, free: 3.934 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)