Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7137/0.7137, allocations: 131 MB / 146.3 MB, free: 1.223 MB / 106.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008932/0.0008933, allocations: 191.8 kB / 176.4 MB, free: 4.812 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 225.7 MB / 432 MB, free: 8.762 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007006/0.0007005, allocations: 97.59 kB / 0.5003 GB, free: 9.848 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.000364, allocations: 11.66 kB / 0.5886 GB, free: 72.57 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1308, allocations: 79.59 MB / 0.6663 GB, free: 8.809 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001333/0.1322, allocations: 0.9705 MB / 0.6673 GB, free: 7.824 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008415/0.133, allocations: 0.5324 MB / 0.6678 GB, free: 7.27 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.492e-05/0.1331, allocations: 0 / 0.6678 GB, free: 7.27 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.45e-05/0.1331, allocations: 0 / 0.6678 GB, free: 7.27 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.01e-05/0.1332, allocations: 0 / 0.6678 GB, free: 7.27 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.1334, allocations: 47.88 kB / 0.6678 GB, free: 7.223 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.365e-05/0.1335, allocations: 19.98 kB / 0.6678 GB, free: 7.203 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.858e-05/0.1336, allocations: 3.984 kB / 0.6678 GB, free: 7.199 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.409e-05/0.1336, allocations: 8 kB / 0.6678 GB, free: 7.191 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.275e-05/0.1336, allocations: 11.98 kB / 0.6679 GB, free: 7.18 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.415e-06/0.1336, allocations: 3.938 kB / 0.6679 GB, free: 7.176 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.1338, allocations: 67.84 kB / 0.6679 GB, free: 7.109 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.1339, allocations: 8 kB / 0.6679 GB, free: 7.102 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.1339, allocations: 33.69 kB / 0.668 GB, free: 7.062 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.1341, allocations: 63.78 kB / 0.668 GB, free: 7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1341, allocations: 0 / 0.668 GB, free: 7 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1341, allocations: 0 / 0.668 GB, free: 7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.327e-06/0.1341, allocations: 0 / 0.668 GB, free: 7 MB / 442.7 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.0003549/0.1344, allocations: 335.8 kB / 0.6684 GB, free: 6.625 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1345, allocations: 12.03 kB / 0.6684 GB, free: 6.613 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.1345, allocations: 16.75 kB / 0.6684 GB, free: 6.598 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.1346, allocations: 160.4 kB / 0.6685 GB, free: 6.402 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.1347, allocations: 8.375 kB / 0.6685 GB, free: 6.395 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.1347, allocations: 384 / 0.6685 GB, free: 6.395 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.1348, allocations: 54 kB / 0.6686 GB, free: 6.336 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.1348, allocations: 0 / 0.6686 GB, free: 6.336 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.1348, allocations: 0 / 0.6686 GB, free: 6.336 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1348, allocations: 0 / 0.6686 GB, free: 6.336 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.84e-05/0.1349, allocations: 19.92 kB / 0.6686 GB, free: 6.316 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.135, allocations: 149.7 kB / 0.6688 GB, free: 6.121 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.366e-05/0.1351, allocations: 30.62 kB / 0.6688 GB, free: 6.082 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.487e-05/0.1351, allocations: 16.95 kB / 0.6688 GB, free: 6.062 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.529e-06/0.1351, allocations: 3.938 kB / 0.6688 GB, free: 6.059 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.1353, allocations: 79.33 kB / 0.6689 GB, free: 5.969 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 2.415e-06/0.1353, allocations: 0 / 0.6689 GB, free: 5.969 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002051/0.1355, allocations: 97.59 kB / 0.669 GB, free: 5.867 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.1355, allocations: 55.41 kB / 0.669 GB, free: 5.801 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.955e-05/0.1356, allocations: 89.86 kB / 0.6691 GB, free: 5.703 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1356, allocations: 37.69 kB / 0.6691 GB, free: 5.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.1357, allocations: 80.14 kB / 0.6692 GB, free: 5.578 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1357, allocations: 19.75 kB / 0.6692 GB, free: 5.559 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.1357, allocations: 0 / 0.6692 GB, free: 5.559 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1358, allocations: 322.9 kB / 0.6695 GB, free: 5.234 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.409e-05/0.1359, allocations: 19.98 kB / 0.6696 GB, free: 5.215 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-05/0.1359, allocations: 69.92 kB / 0.6696 GB, free: 5.125 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.136, allocations: 93.94 kB / 0.6697 GB, free: 5.012 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1361, allocations: 0 / 0.6697 GB, free: 5.012 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001586/0.1362, allocations: 117.6 kB / 0.6698 GB, free: 4.891 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1363, allocations: 11.94 kB / 0.6698 GB, free: 4.879 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1363, allocations: 4 kB / 0.6699 GB, free: 4.875 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1363, allocations: 4 kB / 0.6699 GB, free: 4.871 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.381e-05/0.1364, allocations: 15.92 kB / 0.6699 GB, free: 4.855 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.1364, allocations: 4 kB / 0.6699 GB, free: 4.852 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.209e-05/0.1364, allocations: 8 kB / 0.6699 GB, free: 4.844 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1364, allocations: 4 kB / 0.6699 GB, free: 4.84 MB / 442.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.1365, allocations: 129.9 kB / 0.67 GB, free: 4.703 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-06/0.1366, allocations: 3.938 kB / 0.67 GB, free: 4.699 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.528e-05/0.1366, allocations: 3.969 kB / 0.67 GB, free: 4.699 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1366, allocations: 0 / 0.67 GB, free: 4.699 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.1366, allocations: 0 / 0.67 GB, free: 4.699 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1366, allocations: 0 / 0.67 GB, free: 4.699 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.1367, allocations: 161.5 kB / 0.6702 GB, free: 4.492 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1367, allocations: 3.938 kB / 0.6702 GB, free: 4.488 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-06/0.1367, allocations: 0 / 0.6702 GB, free: 4.488 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.1368, allocations: 7.938 kB / 0.6702 GB, free: 4.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1368, allocations: 4 kB / 0.6702 GB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1368, allocations: 0 / 0.6702 GB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1368, allocations: 240 / 0.6702 GB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.1369, allocations: 117 kB / 0.6703 GB, free: 4.344 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.137, allocations: 85.05 kB / 0.6704 GB, free: 4.242 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.137, allocations: 4 kB / 0.6704 GB, free: 4.238 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.164e-05/0.137, allocations: 0 / 0.6704 GB, free: 4.238 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.137, allocations: 3.984 kB / 0.6704 GB, free: 4.234 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.137, allocations: 8.031 kB / 0.6704 GB, free: 4.227 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.267e-05/0.1371, allocations: 75.28 kB / 0.6705 GB, free: 4.152 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1371, allocations: 0 / 0.6705 GB, free: 4.152 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002105/0.1373, allocations: 20 kB / 0.6705 GB, free: 4.133 MB / 442.7 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.0001873/0.1375, allocations: 136.2 kB / 0.6706 GB, free: 3.992 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.1376, allocations: 56.28 kB / 0.6707 GB, free: 3.938 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1376, allocations: 4.062 kB / 0.6707 GB, free: 3.934 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.867e-05/0.1376, allocations: 16 kB / 0.6707 GB, free: 3.918 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.1378, allocations: 2.234 kB / 0.6707 GB, free: 3.918 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.138, allocations: 136.6 kB / 0.6708 GB, free: 3.754 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.1383, allocations: 0.677 MB / 0.6715 GB, free: 3.051 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.262e-05/0.1383, allocations: 7.984 kB / 0.6715 GB, free: 3.043 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.37e-05/0.1383, allocations: 15.5 kB / 0.6715 GB, free: 3.027 MB / 442.7 MB Notification: Performance of SimCode: time 1.9e-07/0.1383, allocations: 0 / 0.6715 GB, free: 3.027 MB / 442.7 MB Notification: Performance of Templates: time 0.002345/0.1407, allocations: 0.6324 MB / 0.6721 GB, free: 2.398 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)