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.009099/0.009099, allocations: 102.6 kB / 15.73 MB, free: 6.066 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.001782/0.001782, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.8644/0.8644, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 61.03 kB / 0.5951 GB, free: 12.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1528, allocations: 82.05 MB / 0.6752 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002806/0.1557, allocations: 1.24 MB / 0.6764 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1568, allocations: 491.1 kB / 0.6769 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.1569, allocations: 0 / 0.6769 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.1569, allocations: 0 / 0.6769 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.317e-05/0.157, allocations: 3.984 kB / 0.6769 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.1574, allocations: 55.81 kB / 0.677 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.603e-05/0.1575, allocations: 11.98 kB / 0.677 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.547e-05/0.1576, allocations: 7.984 kB / 0.677 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.201e-05/0.1576, allocations: 0 / 0.677 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.865e-05/0.1577, allocations: 8 kB / 0.677 GB, free: 9 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.337e-06/0.1577, allocations: 3.938 kB / 0.677 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.1579, allocations: 75.83 kB / 0.6771 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.484e-05/0.1579, allocations: 4 kB / 0.6771 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.331e-05/0.158, allocations: 8 kB / 0.6771 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.1581, allocations: 69.05 kB / 0.6771 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1582, allocations: 0 / 0.6771 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.924e-06/0.1582, allocations: 0 / 0.6771 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.1582, allocations: 0 / 0.6771 GB, free: 8.844 MB / 0.5137 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.0003999/0.1586, allocations: 330.4 kB / 0.6774 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1586, allocations: 16.03 kB / 0.6775 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.1587, allocations: 38.73 kB / 0.6775 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.1587, allocations: 8.781 kB / 0.6775 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.603e-05/0.1588, allocations: 165 kB / 0.6777 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.1588, allocations: 384 / 0.6777 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.1588, allocations: 384 / 0.6777 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.1589, allocations: 57.81 kB / 0.6777 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.159, allocations: 0 / 0.6777 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.159, allocations: 0 / 0.6777 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.159, allocations: 0 / 0.6777 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.216e-05/0.159, allocations: 23.91 kB / 0.6777 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.1592, allocations: 157.9 kB / 0.6779 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.094e-05/0.1593, allocations: 30.64 kB / 0.6779 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.195e-05/0.1593, allocations: 20.89 kB / 0.6779 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.07e-06/0.1593, allocations: 0 / 0.6779 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.1595, allocations: 79.27 kB / 0.678 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.1595, allocations: 0 / 0.678 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0002033/0.1597, allocations: 93.67 kB / 0.6781 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.1598, allocations: 59.39 kB / 0.6782 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.731e-05/0.1598, allocations: 93.86 kB / 0.6783 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.1598, allocations: 33.69 kB / 0.6783 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.1599, allocations: 80.14 kB / 0.6784 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.1599, allocations: 15.81 kB / 0.6784 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.16, allocations: 29.7 kB / 0.6784 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1601, allocations: 318.9 kB / 0.6787 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.333e-05/0.1601, allocations: 23.98 kB / 0.6787 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-05/0.1602, allocations: 69.92 kB / 0.6788 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.1603, allocations: 93.94 kB / 0.6789 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1604, allocations: 0 / 0.6789 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001727/0.1605, allocations: 125.4 kB / 0.679 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1606, allocations: 4 kB / 0.679 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1606, allocations: 3.938 kB / 0.679 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1606, allocations: 4 kB / 0.679 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.562e-05/0.1607, allocations: 12 kB / 0.679 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.1607, allocations: 3.984 kB / 0.679 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.735e-05/0.1607, allocations: 8 kB / 0.679 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.1607, allocations: 4 kB / 0.679 GB, free: 6.609 MB / 0.5137 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.0001017/0.1609, allocations: 130.6 kB / 0.6792 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.1609, allocations: 3.938 kB / 0.6792 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.097e-05/0.1609, allocations: 3.969 kB / 0.6792 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1609, allocations: 0 / 0.6792 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1609, allocations: 3.984 kB / 0.6792 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1609, allocations: 4 kB / 0.6792 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.1611, allocations: 149.6 kB / 0.6793 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1611, allocations: 3.938 kB / 0.6793 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.376e-06/0.1611, allocations: 7.922 kB / 0.6793 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1611, allocations: 0 / 0.6793 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1611, allocations: 4 kB / 0.6793 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1611, allocations: 0 / 0.6793 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1611, allocations: 3.938 kB / 0.6793 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.1612, allocations: 109 kB / 0.6795 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.1613, allocations: 85.05 kB / 0.6795 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.1613, allocations: 8 kB / 0.6795 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.401e-05/0.1613, allocations: 0 / 0.6795 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.1614, allocations: 8.031 kB / 0.6795 GB, free: 6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.1614, allocations: 0 / 0.6795 GB, free: 6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.554e-05/0.1614, allocations: 75.28 kB / 0.6796 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1614, allocations: 0 / 0.6796 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002472/0.1617, allocations: 27.98 kB / 0.6796 GB, free: 5.898 MB / 0.5137 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.0004936/0.1622, allocations: 0.671 MB / 0.6803 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.1623, allocations: 55.86 kB / 0.6804 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1623, allocations: 0 / 0.6804 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.111e-05/0.1624, allocations: 15.98 kB / 0.6804 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.1625, allocations: 4.875 kB / 0.6804 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004435/0.163, allocations: 163 kB / 0.6805 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.1632, allocations: 0.6772 MB / 0.6812 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.061e-05/0.1632, allocations: 8 kB / 0.6812 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.1633, allocations: 15.44 kB / 0.6812 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.1633, allocations: 0 / 0.6812 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.1815, allocations: 1.628 MB / 0.6828 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.509/7.691, allocations: 12.34 kB / 0.6828 GB, free: 2.77 MB / 0.5137 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)