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.001236/0.001236, 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.001197/0.001197, allocations: 194.7 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7469/0.7469, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 60.75 kB / 0.5019 GB, free: 3.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.338, allocations: 80.2 MB / 0.5802 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002082/0.3401, allocations: 1.241 MB / 0.5814 GB, free: 3.711 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007016/0.3409, allocations: 493.5 kB / 0.5819 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.714e-05/0.3409, allocations: 0 / 0.5819 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.637e-05/0.3409, allocations: 3.938 kB / 0.5819 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.749e-05/0.341, allocations: 5.672 kB / 0.5819 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.3413, allocations: 46.75 kB / 0.582 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.582e-05/0.3414, allocations: 8.109 kB / 0.582 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.3414, allocations: 2.656 kB / 0.582 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.159e-05/0.3414, allocations: 3.844 kB / 0.582 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.729e-05/0.3415, allocations: 21.02 kB / 0.582 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.108e-06/0.3415, allocations: 0 / 0.582 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.3417, allocations: 71.69 kB / 0.5821 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.3417, allocations: 11.86 kB / 0.5821 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.3418, allocations: 12.11 kB / 0.5821 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.3419, allocations: 57.09 kB / 0.5821 GB, free: 3.293 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3419, allocations: 0 / 0.5821 GB, free: 3.293 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3419, allocations: 0 / 0.5821 GB, free: 3.293 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3419, allocations: 0 / 0.5821 GB, free: 3.293 MB / 430.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.0002793/0.3422, allocations: 336.8 kB / 0.5825 GB, free: 2.938 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3423, allocations: 10 kB / 0.5825 GB, free: 2.938 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.695e-05/0.3423, allocations: 33.5 kB / 0.5825 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.3423, allocations: 2.312 kB / 0.5825 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.826e-05/0.3424, allocations: 169.6 kB / 0.5827 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.3424, allocations: 5.406 kB / 0.5827 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.3424, allocations: 11.28 kB / 0.5827 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.3425, allocations: 48.08 kB / 0.5827 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.3425, allocations: 1.094 kB / 0.5827 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.3426, allocations: 3.984 kB / 0.5827 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3426, allocations: 3.938 kB / 0.5827 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.838e-05/0.3426, allocations: 8.953 kB / 0.5828 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.79e-05/0.3427, allocations: 154.4 kB / 0.5829 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.346e-05/0.3428, allocations: 36.53 kB / 0.5829 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.3428, allocations: 22.72 kB / 0.583 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.3428, allocations: 0 / 0.583 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/0.3429, allocations: 68.22 kB / 0.583 GB, free: 2.344 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.3429, allocations: 1.125 kB / 0.583 GB, free: 2.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001959/0.3431, allocations: 102.8 kB / 0.5831 GB, free: 2.289 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.3432, allocations: 60.38 kB / 0.5832 GB, free: 2.223 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.099e-05/0.3432, allocations: 95.53 kB / 0.5833 GB, free: 2.121 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.3432, allocations: 33.11 kB / 0.5833 GB, free: 2.086 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.115e-05/0.3432, allocations: 81.33 kB / 0.5834 GB, free: 2.004 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.3433, allocations: 16.86 kB / 0.5834 GB, free: 1.992 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.3433, allocations: 28.88 kB / 0.5834 GB, free: 1.969 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.678e-05/0.3434, allocations: 314.2 kB / 0.5837 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.346e-05/0.3434, allocations: 24.53 kB / 0.5837 GB, free: 1.648 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.76e-05/0.3435, allocations: 76.27 kB / 0.5838 GB, free: 1.578 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.3436, allocations: 96.67 kB / 0.5839 GB, free: 1.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3436, allocations: 4.875 kB / 0.5839 GB, free: 1.496 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001504/0.3437, allocations: 118.2 kB / 0.584 GB, free: 1.434 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3438, allocations: 5.5 kB / 0.584 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3438, allocations: 6.094 kB / 0.584 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3438, allocations: 6.875 kB / 0.584 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.953e-05/0.3439, allocations: 11.55 kB / 0.5841 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.3439, allocations: 10.09 kB / 0.5841 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.398e-05/0.3439, allocations: 10.94 kB / 0.5841 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.3439, allocations: 4.25 kB / 0.5841 GB, free: 1.41 MB / 430.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 6.553e-05/0.344, allocations: 125.6 kB / 0.5842 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.344, allocations: 1.766 kB / 0.5842 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.875e-05/0.3441, allocations: 12.88 kB / 0.5842 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3441, allocations: 1.031 kB / 0.5842 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3441, allocations: 0.6094 kB / 0.5842 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3441, allocations: 0 / 0.5842 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.794e-05/0.3441, allocations: 153.5 kB / 0.5844 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3442, allocations: 0 / 0.5844 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-06/0.3442, allocations: 5.578 kB / 0.5844 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.3442, allocations: 0 / 0.5844 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3442, allocations: 1.938 kB / 0.5844 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.3442, allocations: 5.312 kB / 0.5844 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3442, allocations: 0 / 0.5844 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.3443, allocations: 110 kB / 0.5845 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.3443, allocations: 82.48 kB / 0.5846 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.3443, allocations: 5.781 kB / 0.5846 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.237e-05/0.3444, allocations: 0.75 kB / 0.5846 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.3444, allocations: 1.094 kB / 0.5846 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.3444, allocations: 2.844 kB / 0.5846 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.044e-05/0.3444, allocations: 75.94 kB / 0.5846 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3444, allocations: 4.031 kB / 0.5846 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.3447, allocations: 28 kB / 0.5847 GB, free: 0.8125 MB / 430.1 MB 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.0003072/0.345, allocations: 0.6653 MB / 0.5853 GB, free: 204 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.3451, allocations: 62.75 kB / 0.5854 GB, free: 184 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3451, allocations: 0 / 0.5854 GB, free: 184 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.939e-05/0.3452, allocations: 17.58 kB / 0.5854 GB, free: 180 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.3453, allocations: 4.812 kB / 0.5854 GB, free: 180 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.3456, allocations: 148.7 kB / 0.5855 GB, free: 28 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.3459, allocations: 0.6789 MB / 0.5862 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.231e-05/0.3459, allocations: 8.75 kB / 0.5862 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.3459, allocations: 10.5 kB / 0.5862 GB, free: 15.32 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3459, allocations: 1.031 kB / 0.5862 GB, free: 15.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6993/1.045, allocations: 1.564 MB / 0.5878 GB, free: 14.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.683/10.73, allocations: 2.406 kB / 0.5878 GB, free: 14.98 MB / 446.1 MB (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)