Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="IBPSA_latest_IBPSA_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.0007241/0.0007242, allocations: 93.41 kB / 15.7 MB, free: 472 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.0007891/0.000789, allocations: 174 kB / 16.58 MB, free: 5.66 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.195/1.195, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6123/0.6123, allocations: 113.7 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002716/0.0002717, allocations: 15.98 kB / 493.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1184, allocations: 77.11 MB / 0.5569 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001112/0.1195, allocations: 0.955 MB / 0.5579 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007089/0.1203, allocations: 453.4 kB / 0.5583 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.737e-05/0.1203, allocations: 0 / 0.5583 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.368e-05/0.1203, allocations: 0 / 0.5583 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.294e-05/0.1204, allocations: 4 kB / 0.5583 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.1206, allocations: 47.81 kB / 0.5584 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.91e-05/0.1207, allocations: 15.98 kB / 0.5584 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.335e-05/0.1207, allocations: 0 / 0.5584 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.026e-05/0.1208, allocations: 8 kB / 0.5584 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.665e-05/0.1208, allocations: 19.91 kB / 0.5584 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.135e-06/0.1208, allocations: 0 / 0.5584 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1209, allocations: 39.95 kB / 0.5584 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.785e-05/0.121, allocations: 7.984 kB / 0.5584 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.429e-05/0.121, allocations: 37.64 kB / 0.5585 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.988e-05/0.1211, allocations: 31.95 kB / 0.5585 GB, free: 10 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1211, allocations: 0 / 0.5585 GB, free: 10 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1211, allocations: 0 / 0.5585 GB, free: 10 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.1212, allocations: 0 / 0.5585 GB, free: 10 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.0002745/0.1214, allocations: 331.6 kB / 0.5588 GB, free: 9.633 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.1215, allocations: 12.03 kB / 0.5588 GB, free: 9.621 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.156e-05/0.1215, allocations: 30.56 kB / 0.5589 GB, free: 9.582 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.1216, allocations: 3.906 kB / 0.5589 GB, free: 9.578 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.813e-05/0.1216, allocations: 167 kB / 0.559 GB, free: 9.375 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.1217, allocations: 0 / 0.559 GB, free: 9.375 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.1217, allocations: 11.95 kB / 0.559 GB, free: 9.363 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.1218, allocations: 45.69 kB / 0.5591 GB, free: 9.312 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.1218, allocations: 0 / 0.5591 GB, free: 9.312 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.1218, allocations: 7.984 kB / 0.5591 GB, free: 9.305 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1218, allocations: 3.938 kB / 0.5591 GB, free: 9.301 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.505e-05/0.1219, allocations: 12 kB / 0.5591 GB, free: 9.289 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.122, allocations: 153.7 kB / 0.5592 GB, free: 9.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.505e-05/0.122, allocations: 26.64 kB / 0.5593 GB, free: 9.055 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.305e-05/0.1221, allocations: 20.94 kB / 0.5593 GB, free: 9.031 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/0.1221, allocations: 0 / 0.5593 GB, free: 9.031 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.1222, allocations: 83.28 kB / 0.5594 GB, free: 8.938 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.1222, allocations: 0 / 0.5594 GB, free: 8.938 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001836/0.1224, allocations: 85.67 kB / 0.5595 GB, free: 8.848 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.1225, allocations: 63.41 kB / 0.5595 GB, free: 8.773 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.061e-05/0.1225, allocations: 97.75 kB / 0.5596 GB, free: 8.668 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.1225, allocations: 33.64 kB / 0.5596 GB, free: 8.629 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.469e-05/0.1226, allocations: 84.14 kB / 0.5597 GB, free: 8.543 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.1226, allocations: 15.88 kB / 0.5597 GB, free: 8.527 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.1226, allocations: 4 kB / 0.5597 GB, free: 8.523 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.1227, allocations: 318.8 kB / 0.56 GB, free: 8.203 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.525e-05/0.1227, allocations: 19.98 kB / 0.5601 GB, free: 8.184 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.547e-05/0.1228, allocations: 65.94 kB / 0.5601 GB, free: 8.098 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.134e-05/0.1229, allocations: 31.98 kB / 0.5602 GB, free: 8.066 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1229, allocations: 0 / 0.5602 GB, free: 8.066 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001529/0.123, allocations: 117.4 kB / 0.5603 GB, free: 7.945 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.123, allocations: 7.953 kB / 0.5603 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1231, allocations: 8.219 kB / 0.5603 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.1231, allocations: 0 / 0.5603 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.597e-05/0.1231, allocations: 15.94 kB / 0.5603 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1232, allocations: 7.984 kB / 0.5603 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/0.1232, allocations: 0 / 0.5603 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1232, allocations: 8 kB / 0.5603 GB, free: 7.898 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 ($PRE.QAggShi_flow[5],QAggShi_flow[5],$PRE.QAggShi_flow[4],QAggShi_flow[4],$PRE.QAggShi_flow[3],QAggShi_flow[3],$PRE.QAggShi_flow[2],QAggShi_flow[2],$PRE.QAggShi_flow[1],QAggShi_flow[1],$PRE.curCel,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.201e-05/0.1233, allocations: 122.5 kB / 0.5604 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-06/0.1233, allocations: 0 / 0.5604 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.752e-05/0.1233, allocations: 15.92 kB / 0.5604 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.1233, allocations: 0 / 0.5604 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1234, allocations: 3.984 kB / 0.5605 GB, free: 7.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1234, allocations: 0 / 0.5605 GB, free: 7.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.1235, allocations: 153.5 kB / 0.5606 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1235, allocations: 0 / 0.5606 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.13e-06/0.1235, allocations: 7.922 kB / 0.5606 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1235, allocations: 0 / 0.5606 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1235, allocations: 4 kB / 0.5606 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.1235, allocations: 3.953 kB / 0.5606 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1235, allocations: 0 / 0.5606 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.1236, allocations: 109.1 kB / 0.5607 GB, free: 7.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.1237, allocations: 85.03 kB / 0.5608 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.1237, allocations: 4 kB / 0.5608 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.336e-05/0.1237, allocations: 4 kB / 0.5608 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.1237, allocations: 7.953 kB / 0.5608 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.1238, allocations: 0 / 0.5608 GB, free: 7.293 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.72e-05/0.1238, allocations: 83.22 kB / 0.5609 GB, free: 7.211 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1238, allocations: 4.031 kB / 0.5609 GB, free: 7.207 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002173/0.124, allocations: 23.98 kB / 0.5609 GB, free: 7.184 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000401/0.1244, allocations: 0.6648 MB / 0.5616 GB, free: 6.492 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.1245, allocations: 60.14 kB / 0.5616 GB, free: 6.434 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1246, allocations: 0 / 0.5616 GB, free: 6.434 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.803e-05/0.1246, allocations: 19.98 kB / 0.5616 GB, free: 6.414 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.1247, allocations: 4.609 kB / 0.5616 GB, free: 6.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.1251, allocations: 154.3 kB / 0.5618 GB, free: 6.219 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.1253, allocations: 0.6848 MB / 0.5625 GB, free: 5.508 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.21e-05/0.1253, allocations: 8.25 kB / 0.5625 GB, free: 5.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.1253, allocations: 11.42 kB / 0.5625 GB, free: 5.488 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1253, allocations: 0 / 0.5625 GB, free: 5.488 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01042/0.1358, allocations: 1.388 MB / 0.5638 GB, free: 4.336 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/0.136, allocations: 255.9 kB / 0.5641 GB, free: 4.004 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.468/1.604, allocations: 2.812 kB / 0.5641 GB, free: 4.004 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) Environment - environmentSimulation: