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.001001/0.001001, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00101/0.00101, allocations: 191 kB / 16.25 MB, free: 6.621 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.169/1.169, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6698/0.6698, allocations: 132.2 MB / 422.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 63.7 kB / 0.5014 GB, free: 4.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3194, allocations: 80.2 MB / 0.5797 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002027/0.3215, allocations: 1.301 MB / 0.581 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006299/0.3221, allocations: 487.3 kB / 0.5815 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.493e-05/0.3221, allocations: 1.188 kB / 0.5815 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.3222, allocations: 4.703 kB / 0.5815 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.991e-05/0.3222, allocations: 0 / 0.5815 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.3225, allocations: 50.23 kB / 0.5815 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.824e-05/0.3226, allocations: 16.56 kB / 0.5815 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.3226, allocations: 2.109 kB / 0.5815 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.865e-05/0.3226, allocations: 4.297 kB / 0.5815 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.961e-05/0.3227, allocations: 9.781 kB / 0.5815 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.542e-06/0.3227, allocations: 1.25 kB / 0.5815 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.3228, allocations: 70.94 kB / 0.5816 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.187e-05/0.3229, allocations: 12.53 kB / 0.5816 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.3229, allocations: 17.12 kB / 0.5816 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.323, allocations: 56.77 kB / 0.5817 GB, free: 3.246 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.323, allocations: 0 / 0.5817 GB, free: 3.246 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.323, allocations: 0 / 0.5817 GB, free: 3.246 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.323, allocations: 0.5156 kB / 0.5817 GB, free: 3.246 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.0002296/0.3233, allocations: 344.9 kB / 0.582 GB, free: 2.883 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.3233, allocations: 9.281 kB / 0.582 GB, free: 2.883 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.562e-05/0.3233, allocations: 33.08 kB / 0.5821 GB, free: 2.844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.121e-05/0.3234, allocations: 6.312 kB / 0.5821 GB, free: 2.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.265e-05/0.3234, allocations: 170.6 kB / 0.5822 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.3234, allocations: 1.125 kB / 0.5822 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.3234, allocations: 6.438 kB / 0.5822 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.272e-05/0.3235, allocations: 53.08 kB / 0.5823 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.68e-06/0.3235, allocations: 0.5156 kB / 0.5823 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.3235, allocations: 0 / 0.5823 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.025e-06/0.3236, allocations: 1.5 kB / 0.5823 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.411e-05/0.3236, allocations: 16.78 kB / 0.5823 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.172e-05/0.3237, allocations: 156.2 kB / 0.5825 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.912e-05/0.3237, allocations: 33.77 kB / 0.5825 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.071e-05/0.3237, allocations: 18.7 kB / 0.5825 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.7e-06/0.3238, allocations: 0 / 0.5825 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.688e-05/0.3239, allocations: 65.06 kB / 0.5826 GB, free: 2.297 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.3239, allocations: 0 / 0.5826 GB, free: 2.297 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001642/0.324, allocations: 102.1 kB / 0.5827 GB, free: 2.242 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.3241, allocations: 61.03 kB / 0.5827 GB, free: 2.176 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.623e-05/0.3241, allocations: 92.08 kB / 0.5828 GB, free: 2.078 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.3241, allocations: 28.45 kB / 0.5828 GB, free: 2.047 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.299e-05/0.3241, allocations: 85.44 kB / 0.5829 GB, free: 1.961 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.3241, allocations: 21.08 kB / 0.5829 GB, free: 1.945 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.3242, allocations: 24.64 kB / 0.583 GB, free: 1.926 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.544e-05/0.3242, allocations: 318.5 kB / 0.5833 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.602e-05/0.3243, allocations: 25.06 kB / 0.5833 GB, free: 1.602 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.756e-05/0.3243, allocations: 66.06 kB / 0.5834 GB, free: 1.539 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.1e-05/0.3244, allocations: 100 kB / 0.5835 GB, free: 1.457 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3244, allocations: 0.6562 kB / 0.5835 GB, free: 1.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001381/0.3246, allocations: 113.3 kB / 0.5836 GB, free: 1.398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.3246, allocations: 10.44 kB / 0.5836 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3246, allocations: 2.062 kB / 0.5836 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.3246, allocations: 1.875 kB / 0.5836 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.924e-05/0.3247, allocations: 15.88 kB / 0.5836 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3247, allocations: 6.922 kB / 0.5836 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/0.3247, allocations: 19.25 kB / 0.5836 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.3247, allocations: 4.188 kB / 0.5836 GB, free: 1.371 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.134e-05/0.3248, allocations: 130.3 kB / 0.5837 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.717e-06/0.3248, allocations: 5.094 kB / 0.5837 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.402e-05/0.3248, allocations: 4.672 kB / 0.5838 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3248, allocations: 0.8125 kB / 0.5838 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3248, allocations: 0 / 0.5838 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3249, allocations: 9.25 kB / 0.5838 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.363e-05/0.3249, allocations: 156.9 kB / 0.5839 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3249, allocations: 0 / 0.5839 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-06/0.3249, allocations: 0 / 0.5839 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3249, allocations: 2.203 kB / 0.5839 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.325, allocations: 2.031 kB / 0.5839 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.325, allocations: 0 / 0.5839 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.325, allocations: 4 kB / 0.5839 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.841e-05/0.3251, allocations: 105.9 kB / 0.584 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.352e-05/0.3251, allocations: 83.03 kB / 0.5841 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.3251, allocations: 9.484 kB / 0.5841 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.125e-05/0.3251, allocations: 0 / 0.5841 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.3251, allocations: 1.938 kB / 0.5841 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.3252, allocations: 3.531 kB / 0.5841 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.726e-06/0.3252, allocations: 79.31 kB / 0.5842 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3252, allocations: 0 / 0.5842 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000211/0.3254, allocations: 31.8 kB / 0.5842 GB, free: 0.7617 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.0003045/0.3257, allocations: 0.6585 MB / 0.5849 GB, free: 160 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.3258, allocations: 65.94 kB / 0.5849 GB, free: 136 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3258, allocations: 1.25 kB / 0.5849 GB, free: 136 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.688e-05/0.3259, allocations: 19.95 kB / 0.5849 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.326, allocations: 3.094 kB / 0.5849 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.3263, allocations: 153.3 kB / 0.5851 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.3265, allocations: 0.6786 MB / 0.5858 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.03e-05/0.3266, allocations: 8.906 kB / 0.5858 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.157e-05/0.3266, allocations: 10.17 kB / 0.5858 GB, free: 15.27 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3266, allocations: 0 / 0.5858 GB, free: 15.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.616/1.943, allocations: 1.485 MB / 0.5872 GB, free: 15.05 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002523/1.943, allocations: 261.3 kB / 0.5875 GB, free: 14.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/3.574, allocations: 0 / 0.5875 GB, free: 14.7 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)