Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_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.00126/0.00126, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001285/0.001285, allocations: 194.6 kB / 16.14 MB, free: 6.664 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.222/1.222, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.895/0.895, allocations: 143 MB / 433 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 59.91 kB / 0.5137 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1465, allocations: 82.05 MB / 0.5938 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.00217/0.1487, allocations: 1.3 MB / 0.595 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007311/0.1495, allocations: 494.8 kB / 0.5955 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.386e-05/0.1495, allocations: 0 / 0.5955 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.601e-05/0.1495, allocations: 0 / 0.5955 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.011e-05/0.1496, allocations: 0 / 0.5955 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.1499, allocations: 47.94 kB / 0.5956 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.945e-05/0.1499, allocations: 23.92 kB / 0.5956 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.242e-05/0.15, allocations: 0 / 0.5956 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.082e-05/0.15, allocations: 11.92 kB / 0.5956 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.312e-05/0.15, allocations: 7.984 kB / 0.5956 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.15, allocations: 0 / 0.5956 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.1502, allocations: 67.86 kB / 0.5957 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.364e-05/0.1502, allocations: 7.984 kB / 0.5957 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.1503, allocations: 11.94 kB / 0.5957 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.1504, allocations: 63.89 kB / 0.5958 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1504, allocations: 0 / 0.5958 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.01e-07/0.1504, allocations: 0 / 0.5958 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.1504, allocations: 4 kB / 0.5958 GB, free: 7.926 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.0003199/0.1508, allocations: 343.7 kB / 0.5961 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.1508, allocations: 8.031 kB / 0.5961 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.135e-05/0.1508, allocations: 42.73 kB / 0.5961 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.209e-05/0.1509, allocations: 4.875 kB / 0.5961 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.413e-05/0.1509, allocations: 164.3 kB / 0.5963 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.151, allocations: 4.375 kB / 0.5963 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.151, allocations: 4.375 kB / 0.5963 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.142e-05/0.1511, allocations: 53.81 kB / 0.5964 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/0.1511, allocations: 0 / 0.5964 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.1511, allocations: 0 / 0.5964 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.1511, allocations: 0 / 0.5964 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.489e-05/0.1511, allocations: 11.98 kB / 0.5964 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.1513, allocations: 153.7 kB / 0.5965 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.99e-05/0.1513, allocations: 38.58 kB / 0.5965 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.307e-05/0.1513, allocations: 16.95 kB / 0.5966 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.1514, allocations: 3.984 kB / 0.5966 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/0.1515, allocations: 71.33 kB / 0.5966 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1515, allocations: 0 / 0.5966 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0001749/0.1517, allocations: 93.61 kB / 0.5967 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.1517, allocations: 55.41 kB / 0.5968 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.915e-05/0.1518, allocations: 105.8 kB / 0.5969 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1518, allocations: 29.7 kB / 0.5969 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.1518, allocations: 80.14 kB / 0.597 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.1518, allocations: 15.84 kB / 0.597 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.1519, allocations: 33.7 kB / 0.597 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.525e-05/0.152, allocations: 314.8 kB / 0.5973 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.689e-05/0.152, allocations: 19.98 kB / 0.5974 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.115e-05/0.1521, allocations: 71.61 kB / 0.5974 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.1523, allocations: 101.9 kB / 0.5975 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1523, allocations: 0 / 0.5975 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001449/0.1524, allocations: 117.4 kB / 0.5976 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1524, allocations: 8 kB / 0.5976 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1524, allocations: 4 kB / 0.5976 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1525, allocations: 7.984 kB / 0.5976 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.939e-05/0.1525, allocations: 20.14 kB / 0.5977 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.1526, allocations: 4 kB / 0.5977 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.1526, allocations: 4 kB / 0.5977 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.1526, allocations: 4 kB / 0.5977 GB, free: 5.684 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.675e-05/0.1527, allocations: 120.9 kB / 0.5978 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.1527, allocations: 15.78 kB / 0.5978 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.962e-05/0.1527, allocations: 7.953 kB / 0.5978 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-06/0.1527, allocations: 0 / 0.5978 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1528, allocations: 7.938 kB / 0.5978 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1528, allocations: 3.938 kB / 0.5978 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.1529, allocations: 153.6 kB / 0.598 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1529, allocations: 0 / 0.598 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-06/0.1529, allocations: 3.938 kB / 0.598 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.1529, allocations: 0 / 0.598 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1529, allocations: 4 kB / 0.598 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1529, allocations: 0 / 0.598 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1529, allocations: 0 / 0.598 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.153, allocations: 113.3 kB / 0.5981 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.1531, allocations: 89.05 kB / 0.5982 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.1531, allocations: 4 kB / 0.5982 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.077e-05/0.1531, allocations: 0 / 0.5982 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.1532, allocations: 0 / 0.5982 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.1532, allocations: 7.984 kB / 0.5982 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.41e-05/0.1532, allocations: 75.28 kB / 0.5983 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1532, allocations: 0 / 0.5983 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002195/0.1534, allocations: 20 kB / 0.5983 GB, free: 4.973 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.0004176/0.1539, allocations: 0.6748 MB / 0.5989 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.154, allocations: 55.91 kB / 0.599 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.154, allocations: 480 / 0.599 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.867e-05/0.154, allocations: 23.94 kB / 0.599 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/0.1541, allocations: 4 kB / 0.599 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003363/0.1545, allocations: 163.6 kB / 0.5992 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.1547, allocations: 0.677 MB / 0.5998 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.912e-05/0.1547, allocations: 4 kB / 0.5998 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.084e-05/0.1547, allocations: 15.44 kB / 0.5999 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1547, allocations: 4.062 kB / 0.5999 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009644/0.1644, allocations: 1.472 MB / 0.6013 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002639/0.1647, allocations: 279.8 kB / 0.6016 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/1.639, allocations: 0 / 0.6016 GB, free: 1.633 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)