Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.007052/0.007052, allocations: 104.5 kB / 15.74 MB, free: 6.441 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.001641/0.001641, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 278.4 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9257/0.9257, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 107.8 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1429, allocations: 86.97 MB / 0.7664 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002054/0.145, allocations: 1.239 MB / 0.7676 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008708/0.1459, allocations: 490.7 kB / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.896e-05/0.146, allocations: 0 / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.146, allocations: 3.938 kB / 0.7681 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.772e-05/0.1461, allocations: 8.5 kB / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.1464, allocations: 51.88 kB / 0.7682 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.367e-05/0.1465, allocations: 11.94 kB / 0.7682 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.1465, allocations: 3.984 kB / 0.7682 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.434e-05/0.1465, allocations: 7.984 kB / 0.7682 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.272e-05/0.1466, allocations: 4 kB / 0.7682 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.704e-06/0.1466, allocations: 0 / 0.7682 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.1467, allocations: 67.84 kB / 0.7683 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.1468, allocations: 8 kB / 0.7683 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.1468, allocations: 7.938 kB / 0.7683 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.147, allocations: 71.78 kB / 0.7683 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.147, allocations: 0 / 0.7683 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.092e-06/0.147, allocations: 0 / 0.7683 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.147, allocations: 0 / 0.7683 GB, free: 6.43 MB / 0.5606 GB 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.0003953/0.1474, allocations: 339.5 kB / 0.7687 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1474, allocations: 8.031 kB / 0.7687 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.1475, allocations: 0.9375 kB / 0.7687 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.772e-05/0.1476, allocations: 172.3 kB / 0.7688 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1476, allocations: 384 / 0.7688 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.1476, allocations: 384 / 0.7688 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.1477, allocations: 58 kB / 0.7689 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.1477, allocations: 0 / 0.7689 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1477, allocations: 0 / 0.7689 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1478, allocations: 0 / 0.7689 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.768e-05/0.1478, allocations: 12 kB / 0.7689 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.1479, allocations: 161.6 kB / 0.7691 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.386e-05/0.148, allocations: 34.56 kB / 0.7691 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.675e-05/0.148, allocations: 20.95 kB / 0.7691 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.1481, allocations: 0 / 0.7691 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.1482, allocations: 71.33 kB / 0.7692 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1482, allocations: 0 / 0.7692 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002115/0.1484, allocations: 97.58 kB / 0.7693 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.1485, allocations: 63.34 kB / 0.7693 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.366e-05/0.1485, allocations: 89.86 kB / 0.7694 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1485, allocations: 33.73 kB / 0.7695 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.833e-05/0.1486, allocations: 84.14 kB / 0.7695 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.1486, allocations: 19.8 kB / 0.7696 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.1486, allocations: 21.72 kB / 0.7696 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.358e-05/0.1487, allocations: 318.8 kB / 0.7699 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.109e-05/0.1488, allocations: 27.92 kB / 0.7699 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-05/0.1488, allocations: 68.75 kB / 0.77 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.149, allocations: 101.9 kB / 0.7701 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.149, allocations: 0 / 0.7701 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000153/0.1491, allocations: 113.5 kB / 0.7702 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1492, allocations: 7.938 kB / 0.7702 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1492, allocations: 3.938 kB / 0.7702 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1492, allocations: 4 kB / 0.7702 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.1493, allocations: 15.94 kB / 0.7702 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.1493, allocations: 464 / 0.7702 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.682e-05/0.1493, allocations: 15.91 kB / 0.7702 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1493, allocations: 7.984 kB / 0.7702 GB, free: 4.234 MB / 0.5606 GB 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.915e-05/0.1494, allocations: 126.4 kB / 0.7703 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.1494, allocations: 3.938 kB / 0.7704 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.774e-05/0.1495, allocations: 3.969 kB / 0.7704 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1495, allocations: 0 / 0.7704 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1495, allocations: 0 / 0.7704 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1495, allocations: 8 kB / 0.7704 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.1496, allocations: 153.7 kB / 0.7705 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1496, allocations: 4 kB / 0.7705 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.793e-06/0.1496, allocations: 7.922 kB / 0.7705 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1496, allocations: 3.938 kB / 0.7705 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.1496, allocations: 4 kB / 0.7705 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1497, allocations: 3.984 kB / 0.7705 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1497, allocations: 0 / 0.7705 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.1498, allocations: 105.1 kB / 0.7706 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.1498, allocations: 84.95 kB / 0.7707 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.1499, allocations: 7.984 kB / 0.7707 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.25e-05/0.1499, allocations: 0 / 0.7707 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.1499, allocations: 0 / 0.7707 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.1499, allocations: 4 kB / 0.7707 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.355e-05/0.1499, allocations: 79.31 kB / 0.7708 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1499, allocations: 0 / 0.7708 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002253/0.1502, allocations: 24 kB / 0.7708 GB, free: 3.527 MB / 0.5606 GB 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.0001802/0.1504, allocations: 137.6 kB / 0.771 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.1505, allocations: 55.86 kB / 0.771 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1505, allocations: 0 / 0.771 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.376e-05/0.1505, allocations: 23.98 kB / 0.771 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.1507, allocations: 3.062 kB / 0.771 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002613/0.1509, allocations: 116.2 kB / 0.7711 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.1512, allocations: 0.686 MB / 0.7718 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.048e-05/0.1512, allocations: 7.938 kB / 0.7718 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.724e-05/0.1512, allocations: 11.44 kB / 0.7718 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.1512, allocations: 0 / 0.7718 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of Templates: time 0.002665/0.1539, allocations: 0.6705 MB / 0.7725 GB, free: 1.816 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)