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: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 109.8 kB / 16.41 MB, free: 6.027 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.001072/0.001073, allocations: 190.1 kB / 17.34 MB, free: 5.633 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6998/0.6998, allocations: 115.3 MB / 406.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 63.61 kB / 0.5577 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1227, allocations: 76.18 MB / 0.6321 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.00217/0.1249, allocations: 1.231 MB / 0.6333 GB, free: 3.184 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008354/0.1258, allocations: 491.1 kB / 0.6338 GB, free: 2.699 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.747e-05/0.1258, allocations: 0 / 0.6338 GB, free: 2.699 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.1259, allocations: 0 / 0.6338 GB, free: 2.699 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.321e-05/0.126, allocations: 0 / 0.6338 GB, free: 2.699 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.1263, allocations: 55.81 kB / 0.6338 GB, free: 2.645 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.1e-05/0.1263, allocations: 11.98 kB / 0.6339 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.892e-05/0.1264, allocations: 4 kB / 0.6339 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.085e-05/0.1264, allocations: 15.86 kB / 0.6339 GB, free: 2.613 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.179e-05/0.1264, allocations: 7.984 kB / 0.6339 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.424e-06/0.1265, allocations: 4 kB / 0.6339 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.1266, allocations: 63.86 kB / 0.6339 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.1267, allocations: 11.98 kB / 0.634 GB, free: 2.527 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.1267, allocations: 15.92 kB / 0.634 GB, free: 2.512 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.1269, allocations: 58.16 kB / 0.634 GB, free: 2.457 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1269, allocations: 0 / 0.634 GB, free: 2.457 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1269, allocations: 0 / 0.634 GB, free: 2.457 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1269, allocations: 0 / 0.634 GB, free: 2.457 MB / 478.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.0003304/0.1272, allocations: 339.5 kB / 0.6343 GB, free: 2.078 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.1273, allocations: 8.031 kB / 0.6344 GB, free: 2.07 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.1273, allocations: 12.84 kB / 0.6344 GB, free: 2.059 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.768e-05/0.1274, allocations: 168.3 kB / 0.6345 GB, free: 1.855 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.1274, allocations: 384 / 0.6345 GB, free: 1.855 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.1274, allocations: 4.375 kB / 0.6345 GB, free: 1.852 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.1275, allocations: 53.98 kB / 0.6346 GB, free: 1.793 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.1275, allocations: 0 / 0.6346 GB, free: 1.793 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1275, allocations: 0 / 0.6346 GB, free: 1.793 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.1276, allocations: 4 kB / 0.6346 GB, free: 1.789 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.529e-05/0.1276, allocations: 4 kB / 0.6346 GB, free: 1.785 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.1277, allocations: 161.7 kB / 0.6347 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.301e-05/0.1278, allocations: 34.52 kB / 0.6348 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.573e-05/0.1278, allocations: 20.94 kB / 0.6348 GB, free: 1.512 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.162e-06/0.1278, allocations: 0 / 0.6348 GB, free: 1.512 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.1279, allocations: 63.34 kB / 0.6349 GB, free: 1.438 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 2.455e-06/0.1279, allocations: 3.984 kB / 0.6349 GB, free: 1.434 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001886/0.1281, allocations: 101.6 kB / 0.635 GB, free: 1.328 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.1282, allocations: 59.39 kB / 0.635 GB, free: 1.258 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.596e-05/0.1282, allocations: 97.77 kB / 0.6351 GB, free: 1.152 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.1283, allocations: 29.7 kB / 0.6351 GB, free: 1.117 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.611e-05/0.1283, allocations: 80.14 kB / 0.6352 GB, free: 1.035 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.1283, allocations: 15.84 kB / 0.6352 GB, free: 1.02 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.1284, allocations: 29.7 kB / 0.6353 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.479e-05/0.1285, allocations: 318.8 kB / 0.6356 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.604e-05/0.1285, allocations: 28 kB / 0.6356 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.086e-05/0.1286, allocations: 65.98 kB / 0.6357 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.1287, allocations: 97.88 kB / 0.6357 GB, free: 444 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.1287, allocations: 3.984 kB / 0.6357 GB, free: 440 kB / 478.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00016/0.1289, allocations: 113.5 kB / 0.6359 GB, free: 320 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1289, allocations: 12.16 kB / 0.6359 GB, free: 308 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1289, allocations: 4 kB / 0.6359 GB, free: 304 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1289, allocations: 3.938 kB / 0.6359 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.923e-05/0.129, allocations: 19.92 kB / 0.6359 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.129, allocations: 0 / 0.6359 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.353e-05/0.1291, allocations: 8 kB / 0.6359 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.1291, allocations: 4 kB / 0.6359 GB, free: 268 kB / 478.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 9.146e-05/0.1292, allocations: 125.8 kB / 0.636 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.1292, allocations: 7.938 kB / 0.636 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.1292, allocations: 7.906 kB / 0.636 GB, free: 108 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1292, allocations: 11.94 kB / 0.6361 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1292, allocations: 0 / 0.6361 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1293, allocations: 0 / 0.6361 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.1294, allocations: 153.6 kB / 0.6362 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1294, allocations: 0 / 0.6362 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.219e-06/0.1294, allocations: 4 kB / 0.6362 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1294, allocations: 3.938 kB / 0.6362 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.1294, allocations: 0 / 0.6362 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1294, allocations: 4 kB / 0.6362 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1294, allocations: 4 kB / 0.6362 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.1296, allocations: 101.1 kB / 0.6363 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.1296, allocations: 81.05 kB / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.1296, allocations: 4 kB / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.58e-05/0.1297, allocations: 7.984 kB / 0.6364 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.1297, allocations: 0 / 0.6364 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.1297, allocations: 0 / 0.6364 GB, free: 15.65 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.695e-05/0.1297, allocations: 83.31 kB / 0.6365 GB, free: 15.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.1297, allocations: 0 / 0.6365 GB, free: 15.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.13, allocations: 19.94 kB / 0.6365 GB, free: 15.55 MB / 494.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.0001776/0.1301, allocations: 131.2 kB / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.1303, allocations: 55.91 kB / 0.6367 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1303, allocations: 448 / 0.6367 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.921e-05/0.1303, allocations: 20 kB / 0.6367 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.1305, allocations: 10.67 kB / 0.6367 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002468/0.1307, allocations: 117.5 kB / 0.6368 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.131, allocations: 0.6768 MB / 0.6375 GB, free: 14.49 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.441e-05/0.131, allocations: 7.984 kB / 0.6375 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.497e-05/0.131, allocations: 15.38 kB / 0.6375 GB, free: 14.47 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.131, allocations: 0 / 0.6375 GB, free: 14.47 MB / 494.1 MB Notification: Performance of Templates: time 0.002548/0.1336, allocations: 0.669 MB / 0.6382 GB, free: 13.85 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)