Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7143/0.7143, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 403.4 MB, free: 7.078 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009967/0.0009966, allocations: 104.9 kB / 484.3 MB, free: 8.73 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009061/0.0009061, allocations: 47.92 kB / 0.5619 GB, free: 71.01 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1374, allocations: 80.2 MB / 0.6402 GB, free: 6.742 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002321/0.1397, allocations: 1.309 MB / 0.6415 GB, free: 5.418 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008724/0.1406, allocations: 495.8 kB / 0.642 GB, free: 4.934 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.642e-05/0.1407, allocations: 0 / 0.642 GB, free: 4.934 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.053e-05/0.1407, allocations: 4 kB / 0.642 GB, free: 4.93 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.487e-05/0.1408, allocations: 4 kB / 0.642 GB, free: 4.926 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.1411, allocations: 43.88 kB / 0.642 GB, free: 4.883 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.256e-05/0.1412, allocations: 19.98 kB / 0.642 GB, free: 4.863 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.1413, allocations: 4 kB / 0.642 GB, free: 4.859 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.336e-05/0.1413, allocations: 7.922 kB / 0.642 GB, free: 4.852 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.201e-05/0.1413, allocations: 11.98 kB / 0.642 GB, free: 4.84 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.1414, allocations: 4 kB / 0.6421 GB, free: 4.836 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.1415, allocations: 59.86 kB / 0.6421 GB, free: 4.777 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.052e-05/0.1416, allocations: 19.98 kB / 0.6421 GB, free: 4.758 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.1416, allocations: 7.938 kB / 0.6421 GB, free: 4.75 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.1418, allocations: 63.89 kB / 0.6422 GB, free: 4.688 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1418, allocations: 0 / 0.6422 GB, free: 4.688 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1418, allocations: 0 / 0.6422 GB, free: 4.688 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.1418, allocations: 3.938 kB / 0.6422 GB, free: 4.684 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.0004217/0.1422, allocations: 343.7 kB / 0.6425 GB, free: 4.301 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1423, allocations: 8.031 kB / 0.6425 GB, free: 4.293 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.1423, allocations: 4.922 kB / 0.6425 GB, free: 4.289 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.1424, allocations: 168.4 kB / 0.6427 GB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1424, allocations: 4.375 kB / 0.6427 GB, free: 4.082 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.1425, allocations: 4.125 kB / 0.6427 GB, free: 4.078 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.1426, allocations: 53.62 kB / 0.6428 GB, free: 4.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.1426, allocations: 0 / 0.6428 GB, free: 4.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1426, allocations: 0 / 0.6428 GB, free: 4.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1426, allocations: 0 / 0.6428 GB, free: 4.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.976e-05/0.1427, allocations: 15.92 kB / 0.6428 GB, free: 4.004 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.1428, allocations: 153.8 kB / 0.6429 GB, free: 3.805 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.243e-05/0.1429, allocations: 34.56 kB / 0.643 GB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.528e-05/0.1429, allocations: 20.89 kB / 0.643 GB, free: 3.738 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-06/0.1429, allocations: 0 / 0.643 GB, free: 3.738 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.1431, allocations: 71.38 kB / 0.643 GB, free: 3.656 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1431, allocations: 0 / 0.643 GB, free: 3.656 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002297/0.1433, allocations: 97.52 kB / 0.6431 GB, free: 3.555 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.1434, allocations: 63.44 kB / 0.6432 GB, free: 3.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.467e-05/0.1434, allocations: 93.86 kB / 0.6433 GB, free: 3.379 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.1434, allocations: 25.7 kB / 0.6433 GB, free: 3.348 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.339e-05/0.1435, allocations: 88.12 kB / 0.6434 GB, free: 3.258 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.1435, allocations: 19.69 kB / 0.6434 GB, free: 3.238 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.1436, allocations: 29.72 kB / 0.6434 GB, free: 3.203 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1437, allocations: 318.8 kB / 0.6437 GB, free: 2.883 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.702e-05/0.1437, allocations: 19.98 kB / 0.6438 GB, free: 2.863 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.979e-05/0.1438, allocations: 70 kB / 0.6438 GB, free: 2.773 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1439, allocations: 101.9 kB / 0.6439 GB, free: 2.652 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1439, allocations: 0 / 0.6439 GB, free: 2.652 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001503/0.1441, allocations: 113.5 kB / 0.644 GB, free: 2.535 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1441, allocations: 8 kB / 0.644 GB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1441, allocations: 224 / 0.644 GB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1441, allocations: 8 kB / 0.6441 GB, free: 2.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.167e-05/0.1442, allocations: 11.94 kB / 0.6441 GB, free: 2.508 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.1442, allocations: 4.234 kB / 0.6441 GB, free: 2.504 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.428e-05/0.1443, allocations: 11.91 kB / 0.6441 GB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1443, allocations: 4 kB / 0.6441 GB, free: 2.488 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 (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.097e-05/0.1444, allocations: 125.8 kB / 0.6442 GB, free: 2.355 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-06/0.1444, allocations: 3.938 kB / 0.6442 GB, free: 2.352 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.1444, allocations: 7.969 kB / 0.6442 GB, free: 2.344 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1444, allocations: 0 / 0.6442 GB, free: 2.344 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1444, allocations: 4 kB / 0.6442 GB, free: 2.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.1444, allocations: 3.938 kB / 0.6442 GB, free: 2.336 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.1446, allocations: 157.5 kB / 0.6444 GB, free: 2.133 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1446, allocations: 0 / 0.6444 GB, free: 2.133 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.342e-06/0.1446, allocations: 8 kB / 0.6444 GB, free: 2.125 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.1446, allocations: 0 / 0.6444 GB, free: 2.125 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.1446, allocations: 3.984 kB / 0.6444 GB, free: 2.121 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.1446, allocations: 0 / 0.6444 GB, free: 2.121 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1446, allocations: 3.984 kB / 0.6444 GB, free: 2.117 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.145, allocations: 0.6669 MB / 0.645 GB, free: 1.391 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.145, allocations: 85 kB / 0.6451 GB, free: 1.289 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1451, allocations: 4 kB / 0.6451 GB, free: 1.285 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.113e-05/0.1451, allocations: 0 / 0.6451 GB, free: 1.285 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.1451, allocations: 4 kB / 0.6451 GB, free: 1.281 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1451, allocations: 0 / 0.6451 GB, free: 1.281 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.731e-05/0.1452, allocations: 87.25 kB / 0.6452 GB, free: 1.195 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1452, allocations: 0 / 0.6452 GB, free: 1.195 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003189/0.1455, allocations: 24 kB / 0.6452 GB, free: 1.172 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.0001915/0.1457, allocations: 124.3 kB / 0.6454 GB, free: 1.039 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001188/0.1458, allocations: 63.84 kB / 0.6454 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1458, allocations: 448 / 0.6454 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.94e-05/0.1459, allocations: 20 kB / 0.6454 GB, free: 0.957 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.146, allocations: 3.938 kB / 0.6454 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.1463, allocations: 240.9 kB / 0.6457 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.1466, allocations: 0.6848 MB / 0.6463 GB, free: 15.97 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.353e-05/0.1466, allocations: 7.984 kB / 0.6463 GB, free: 15.96 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.36e-05/0.1466, allocations: 15.5 kB / 0.6464 GB, free: 15.95 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1466, allocations: 0 / 0.6464 GB, free: 15.95 MB / 458.7 MB Notification: Performance of Templates: time 0.002496/0.1491, allocations: 0.6458 MB / 0.647 GB, free: 15.34 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)