Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004066/0.004065, allocations: 359.7 kB / 16.59 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.412/1.412, allocations: 165.8 MB / 183.1 MB, free: 5.922 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.149/4.149, allocations: 410.7 MB / 0.6001 GB, free: 37.14 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002588/0.002588, allocations: 203.5 kB / 0.6668 GB, free: 1.816 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004793, allocations: 17.97 kB / 0.7429 GB, free: 73.8 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1416, allocations: 67.45 MB / 0.8088 GB, free: 17.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001354/0.143, allocations: 0.9587 MB / 0.8097 GB, free: 16.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009215/0.144, allocations: 0.4889 MB / 0.8102 GB, free: 15.67 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.145e-05/0.144, allocations: 0 / 0.8102 GB, free: 15.67 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.1441, allocations: 3.938 kB / 0.8102 GB, free: 15.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.029e-05/0.1441, allocations: 0 / 0.8102 GB, free: 15.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.1444, allocations: 35.94 kB / 0.8102 GB, free: 15.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.469e-05/0.1445, allocations: 15.98 kB / 0.8102 GB, free: 15.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.092e-05/0.1446, allocations: 11.88 kB / 0.8103 GB, free: 15.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.462e-05/0.1446, allocations: 8 kB / 0.8103 GB, free: 15.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.06e-05/0.1446, allocations: 11.97 kB / 0.8103 GB, free: 15.58 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.1447, allocations: 0 / 0.8103 GB, free: 15.58 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.1448, allocations: 39.95 kB / 0.8103 GB, free: 15.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/0.1449, allocations: 15.92 kB / 0.8103 GB, free: 15.53 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.1449, allocations: 25.7 kB / 0.8104 GB, free: 15.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.473e-05/0.145, allocations: 39.94 kB / 0.8104 GB, free: 15.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.145, allocations: 7.938 kB / 0.8104 GB, free: 15.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.145, allocations: 0 / 0.8104 GB, free: 15.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1451, allocations: 0 / 0.8104 GB, free: 15.45 MB / 378.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.0003535/0.1454, allocations: 335.5 kB / 0.8107 GB, free: 15.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1455, allocations: 8.031 kB / 0.8107 GB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.1455, allocations: 4 kB / 0.8107 GB, free: 15.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.977e-05/0.1456, allocations: 159.1 kB / 0.8109 GB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.1456, allocations: 3.953 kB / 0.8109 GB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.1457, allocations: 4 kB / 0.8109 GB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.1458, allocations: 49.62 kB / 0.8109 GB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1458, allocations: 0 / 0.8109 GB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1458, allocations: 4 kB / 0.8109 GB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.1458, allocations: 4 kB / 0.8109 GB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.375e-05/0.1459, allocations: 7.984 kB / 0.811 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/0.146, allocations: 153.7 kB / 0.8111 GB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.952e-05/0.1461, allocations: 34.58 kB / 0.8111 GB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.1461, allocations: 20.91 kB / 0.8112 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.1461, allocations: 0 / 0.8112 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.1463, allocations: 71.33 kB / 0.8112 GB, free: 14.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.1463, allocations: 0 / 0.8112 GB, free: 14.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002348/0.1465, allocations: 93.67 kB / 0.8113 GB, free: 14.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.1466, allocations: 55.41 kB / 0.8114 GB, free: 14.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.816e-05/0.1466, allocations: 97.77 kB / 0.8115 GB, free: 14.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1467, allocations: 33.69 kB / 0.8115 GB, free: 14.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.997e-05/0.1467, allocations: 80.14 kB / 0.8116 GB, free: 14.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.1467, allocations: 15.84 kB / 0.8116 GB, free: 14.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-06/0.1467, allocations: 4 kB / 0.8116 GB, free: 14.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.222e-05/0.1468, allocations: 318.9 kB / 0.8119 GB, free: 13.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.569e-05/0.1469, allocations: 23.92 kB / 0.8119 GB, free: 13.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.879e-05/0.147, allocations: 62 kB / 0.812 GB, free: 13.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.914e-05/0.1471, allocations: 35.98 kB / 0.812 GB, free: 13.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1471, allocations: 0 / 0.812 GB, free: 13.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002112/0.1473, allocations: 121.3 kB / 0.8121 GB, free: 13.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1473, allocations: 8 kB / 0.8121 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1473, allocations: 3.938 kB / 0.8121 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1474, allocations: 12.16 kB / 0.8121 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.1475, allocations: 12 kB / 0.8122 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.1475, allocations: 4 kB / 0.8122 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.1476, allocations: 0 / 0.8122 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.1476, allocations: 8 kB / 0.8122 GB, free: 13.4 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.688e-05/0.1477, allocations: 127.8 kB / 0.8123 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.1477, allocations: 11.86 kB / 0.8123 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.257e-05/0.1478, allocations: 3.969 kB / 0.8123 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1478, allocations: 4 kB / 0.8123 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1478, allocations: 0 / 0.8123 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.1478, allocations: 81.09 kB / 0.8124 GB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.1479, allocations: 4 kB / 0.8124 GB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.29e-05/0.1479, allocations: 4 kB / 0.8124 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.1479, allocations: 11.98 kB / 0.8124 GB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001436/0.1481, allocations: 156.9 kB / 0.8126 GB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001568/0.1482, allocations: 254.7 kB / 0.8128 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.746e-05/0.1483, allocations: 12 kB / 0.8128 GB, free: 12.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.739e-05/0.1483, allocations: 75.28 kB / 0.8129 GB, free: 12.62 MB / 378.7 MB Notification: Performance of Backend: time 7.92e-07/0.1483, allocations: 0 / 0.8129 GB, free: 12.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005165/0.1489, allocations: 135.3 kB / 0.813 GB, free: 12.48 MB / 378.7 MB Notification: Performance of SimCode: time 0.0003502/0.1492, allocations: 0.5611 MB / 0.8136 GB, free: 11.88 MB / 378.7 MB Notification: Performance of Templates: time 0.003439/0.1527, allocations: 0.6539 MB / 0.8142 GB, free: 11.27 MB / 378.7 MB