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.0009607/0.0009609, 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.0009808/0.0009808, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.181/1.181, allocations: 222.9 MB / 239.9 MB, free: 4.594 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.8455/0.8455, allocations: 143 MB / 433.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 59.91 kB / 0.5138 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1362, allocations: 82.04 MB / 0.594 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002049/0.1383, allocations: 1.3 MB / 0.5952 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006837/0.139, allocations: 482.9 kB / 0.5957 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.363e-05/0.139, allocations: 0 / 0.5957 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.522e-05/0.1391, allocations: 4 kB / 0.5957 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.103e-05/0.1391, allocations: 0 / 0.5957 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.1394, allocations: 47.88 kB / 0.5957 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.519e-05/0.1395, allocations: 19.97 kB / 0.5958 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.34e-05/0.1395, allocations: 0 / 0.5958 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.906e-05/0.1395, allocations: 7.938 kB / 0.5958 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.013e-05/0.1396, allocations: 7.984 kB / 0.5958 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.093e-06/0.1396, allocations: 4 kB / 0.5958 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.1397, allocations: 67.86 kB / 0.5958 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.16e-05/0.1398, allocations: 11.98 kB / 0.5958 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.1398, allocations: 11.92 kB / 0.5959 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.1399, allocations: 63.84 kB / 0.5959 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1399, allocations: 0 / 0.5959 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1399, allocations: 0 / 0.5959 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.14, allocations: 0 / 0.5959 GB, free: 7.793 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.000358/0.1403, allocations: 339.7 kB / 0.5962 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.1404, allocations: 8.031 kB / 0.5963 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.562e-05/0.1404, allocations: 42.62 kB / 0.5963 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.1404, allocations: 8.938 kB / 0.5963 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.768e-05/0.1405, allocations: 160.4 kB / 0.5965 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.1405, allocations: 384 / 0.5965 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1405, allocations: 12.36 kB / 0.5965 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.208e-05/0.1406, allocations: 49.75 kB / 0.5965 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1407, allocations: 3.984 kB / 0.5965 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.1407, allocations: 0 / 0.5965 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1407, allocations: 4 kB / 0.5965 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.325e-05/0.1407, allocations: 8 kB / 0.5965 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001128/0.1408, allocations: 157.7 kB / 0.5967 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.721e-05/0.1409, allocations: 30.64 kB / 0.5967 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.448e-05/0.1409, allocations: 20.94 kB / 0.5967 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.839e-06/0.1409, allocations: 0 / 0.5967 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/0.141, allocations: 75.27 kB / 0.5968 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.141, allocations: 4 kB / 0.5968 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0001686/0.1412, allocations: 89.69 kB / 0.5969 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.1413, allocations: 59.39 kB / 0.5969 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.251e-05/0.1413, allocations: 93.77 kB / 0.597 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.1413, allocations: 33.7 kB / 0.5971 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.818e-05/0.1413, allocations: 80.14 kB / 0.5971 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.1414, allocations: 23.81 kB / 0.5972 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.1414, allocations: 25.72 kB / 0.5972 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.212e-05/0.1415, allocations: 322.9 kB / 0.5975 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.582e-05/0.1415, allocations: 27.92 kB / 0.5975 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.054e-05/0.1416, allocations: 62.23 kB / 0.5976 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.774e-05/0.1417, allocations: 97.92 kB / 0.5977 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1417, allocations: 0 / 0.5977 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001463/0.1419, allocations: 125.5 kB / 0.5978 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.1419, allocations: 5.562 kB / 0.5978 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1419, allocations: 4 kB / 0.5978 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.1419, allocations: 0 / 0.5978 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.109e-05/0.142, allocations: 19.98 kB / 0.5978 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.142, allocations: 3.984 kB / 0.5978 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.022e-05/0.142, allocations: 4 kB / 0.5978 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.142, allocations: 7.938 kB / 0.5978 GB, free: 5.551 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 0.0001079/0.1422, allocations: 133.5 kB / 0.598 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.1422, allocations: 7.844 kB / 0.598 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.677e-05/0.1422, allocations: 3.969 kB / 0.598 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1422, allocations: 4 kB / 0.598 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1422, allocations: 0 / 0.598 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.1422, allocations: 0 / 0.598 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.1423, allocations: 161.5 kB / 0.5981 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1423, allocations: 0 / 0.5981 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-06/0.1424, allocations: 3.938 kB / 0.5981 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.1424, allocations: 0 / 0.5981 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1424, allocations: 4 kB / 0.5981 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1424, allocations: 4 kB / 0.5981 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1424, allocations: 4 kB / 0.5982 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.1425, allocations: 105 kB / 0.5983 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.1426, allocations: 81.05 kB / 0.5983 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.1426, allocations: 7.984 kB / 0.5983 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.131e-05/0.1426, allocations: 0 / 0.5983 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.1427, allocations: 4 kB / 0.5983 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.1427, allocations: 4.031 kB / 0.5983 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.128e-05/0.1427, allocations: 75.28 kB / 0.5984 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1427, allocations: 4 kB / 0.5984 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002036/0.1429, allocations: 20 kB / 0.5984 GB, free: 4.84 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.0003963/0.1433, allocations: 0.6688 MB / 0.5991 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001085/0.1434, allocations: 67.89 kB / 0.5992 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1434, allocations: 0 / 0.5992 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.741e-05/0.1435, allocations: 16 kB / 0.5992 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.1436, allocations: 11.92 kB / 0.5992 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.1439, allocations: 155.6 kB / 0.5993 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.1442, allocations: 0.6846 MB / 0.6 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.831e-05/0.1442, allocations: 7.938 kB / 0.6 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.105e-05/0.1442, allocations: 15.42 kB / 0.6 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1442, allocations: 0 / 0.6 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.742/2.886, allocations: 1.504 MB / 0.6015 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003405/2.886, allocations: 282.5 kB / 0.6018 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.099/4.985, allocations: 10.23 kB / 0.6018 GB, free: 1.469 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)