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.001298/0.001297, allocations: 105.8 kB / 15.98 MB, free: 5.871 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.001373/0.001373, allocations: 190.8 kB / 16.91 MB, free: 5.738 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.304/1.304, allocations: 222.9 MB / 240.6 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6461/0.6461, allocations: 115.3 MB / 406.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.75 kB / 493.2 MB, free: 6.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1325, allocations: 76.19 MB / 0.5561 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002298/0.1348, allocations: 1.304 MB / 0.5574 GB, free: 9.246 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007708/0.1356, allocations: 482.9 kB / 0.5578 GB, free: 8.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.679e-05/0.1356, allocations: 0 / 0.5578 GB, free: 8.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.1357, allocations: 0 / 0.5578 GB, free: 8.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.098e-05/0.1358, allocations: 11.98 kB / 0.5578 GB, free: 8.758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.1361, allocations: 43.89 kB / 0.5579 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.216e-05/0.1361, allocations: 15.98 kB / 0.5579 GB, free: 8.699 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.806e-05/0.1362, allocations: 0 / 0.5579 GB, free: 8.699 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.327e-05/0.1362, allocations: 4 kB / 0.5579 GB, free: 8.695 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.621e-05/0.1363, allocations: 15.91 kB / 0.5579 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.615e-06/0.1363, allocations: 0 / 0.5579 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.1364, allocations: 67.86 kB / 0.558 GB, free: 8.613 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.1365, allocations: 7.984 kB / 0.558 GB, free: 8.605 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.1365, allocations: 15.94 kB / 0.558 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.1367, allocations: 55.91 kB / 0.558 GB, free: 8.535 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1367, allocations: 3.938 kB / 0.558 GB, free: 8.531 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1367, allocations: 0 / 0.558 GB, free: 8.531 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1367, allocations: 0 / 0.558 GB, free: 8.531 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.0003326/0.137, allocations: 343.7 kB / 0.5584 GB, free: 8.148 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1371, allocations: 8.031 kB / 0.5584 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.971e-05/0.1371, allocations: 30.75 kB / 0.5584 GB, free: 8.102 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/0.1371, allocations: 4.938 kB / 0.5584 GB, free: 8.098 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.588e-05/0.1372, allocations: 164.4 kB / 0.5586 GB, free: 7.898 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1372, allocations: 4.375 kB / 0.5586 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.1373, allocations: 4.375 kB / 0.5586 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.1374, allocations: 53.75 kB / 0.5586 GB, free: 7.832 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.1374, allocations: 0 / 0.5586 GB, free: 7.832 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.984e-06/0.1374, allocations: 0 / 0.5586 GB, free: 7.832 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1374, allocations: 0 / 0.5586 GB, free: 7.832 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.881e-05/0.1374, allocations: 19.92 kB / 0.5587 GB, free: 7.812 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.1376, allocations: 153.7 kB / 0.5588 GB, free: 7.613 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.024e-05/0.1376, allocations: 34.56 kB / 0.5588 GB, free: 7.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.654e-05/0.1377, allocations: 20.95 kB / 0.5589 GB, free: 7.547 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.1377, allocations: 3.938 kB / 0.5589 GB, free: 7.543 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.1378, allocations: 67.33 kB / 0.5589 GB, free: 7.465 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.1379, allocations: 3.938 kB / 0.5589 GB, free: 7.461 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001989/0.1381, allocations: 93.67 kB / 0.559 GB, free: 7.363 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.1381, allocations: 63.42 kB / 0.5591 GB, free: 7.289 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.241e-05/0.1382, allocations: 97.77 kB / 0.5592 GB, free: 7.184 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.1382, allocations: 29.7 kB / 0.5592 GB, free: 7.148 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.532e-05/0.1382, allocations: 84.14 kB / 0.5593 GB, free: 7.062 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.1382, allocations: 15.83 kB / 0.5593 GB, free: 7.047 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.1383, allocations: 29.72 kB / 0.5593 GB, free: 7.012 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1384, allocations: 322.8 kB / 0.5596 GB, free: 6.688 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.657e-05/0.1384, allocations: 19.98 kB / 0.5596 GB, free: 6.668 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.1385, allocations: 69.94 kB / 0.5597 GB, free: 6.578 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1386, allocations: 97.92 kB / 0.5598 GB, free: 6.461 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1386, allocations: 0 / 0.5598 GB, free: 6.461 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001501/0.1388, allocations: 117.4 kB / 0.5599 GB, free: 6.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1388, allocations: 7.984 kB / 0.5599 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.1388, allocations: 4 kB / 0.5599 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1388, allocations: 8.156 kB / 0.5599 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.983e-05/0.1389, allocations: 16 kB / 0.56 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.139, allocations: 0 / 0.56 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.425e-05/0.139, allocations: 8 kB / 0.56 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.139, allocations: 4 kB / 0.56 GB, free: 6.293 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 8.939e-05/0.1391, allocations: 126.7 kB / 0.5601 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.1391, allocations: 7.844 kB / 0.5601 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.914e-05/0.1391, allocations: 3.969 kB / 0.5601 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1391, allocations: 4 kB / 0.5601 GB, free: 6.145 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1392, allocations: 4 kB / 0.5601 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1392, allocations: 3.938 kB / 0.5601 GB, free: 6.137 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.1393, allocations: 157.6 kB / 0.5603 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1393, allocations: 0 / 0.5603 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.012e-06/0.1393, allocations: 3.938 kB / 0.5603 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1393, allocations: 0 / 0.5603 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.1393, allocations: 0 / 0.5603 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1393, allocations: 240 / 0.5603 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1393, allocations: 4 kB / 0.5603 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.1395, allocations: 117 kB / 0.5604 GB, free: 5.793 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.228e-05/0.1395, allocations: 81.05 kB / 0.5605 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.1395, allocations: 7.984 kB / 0.5605 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.19e-05/0.1395, allocations: 0 / 0.5605 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.1396, allocations: 4 kB / 0.5605 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.1396, allocations: 0 / 0.5605 GB, free: 5.684 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.905e-05/0.1396, allocations: 79.22 kB / 0.5605 GB, free: 5.605 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1396, allocations: 0 / 0.5605 GB, free: 5.605 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000219/0.1398, allocations: 28.03 kB / 0.5606 GB, free: 5.578 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.0004386/0.1403, allocations: 0.667 MB / 0.5612 GB, free: 4.883 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.1404, allocations: 64.19 kB / 0.5613 GB, free: 4.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1404, allocations: 4.125 kB / 0.5613 GB, free: 4.816 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.019e-05/0.1405, allocations: 19.98 kB / 0.5613 GB, free: 4.797 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.1406, allocations: 4 kB / 0.5613 GB, free: 4.793 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.141, allocations: 147.2 kB / 0.5614 GB, free: 4.609 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.1412, allocations: 0.6807 MB / 0.5621 GB, free: 3.902 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.212e-05/0.1412, allocations: 7.984 kB / 0.5621 GB, free: 3.895 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.1413, allocations: 11.5 kB / 0.5621 GB, free: 3.883 MB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1413, allocations: 0 / 0.5621 GB, free: 3.883 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01105/0.1523, allocations: 1.479 MB / 0.5636 GB, free: 2.629 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002665/0.1526, allocations: 279.2 kB / 0.5638 GB, free: 2.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/1.87, allocations: 0 / 0.5638 GB, free: 2.27 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/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)