Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.AggregationCellTimes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004408/0.004408, allocations: 100.5 kB / 15.73 MB, free: 6.031 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.001032/0.001032, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002159/0.002159, allocations: 278.9 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9263/0.9263, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 95.84 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1431, allocations: 86.98 MB / 0.7664 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001981/0.1451, allocations: 1.282 MB / 0.7677 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006575/0.1458, allocations: 446.8 kB / 0.7681 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.533e-05/0.1458, allocations: 0 / 0.7681 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.824e-05/0.1459, allocations: 0 / 0.7681 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.552e-05/0.1459, allocations: 11.94 kB / 0.7681 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.1462, allocations: 35.88 kB / 0.7682 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.089e-05/0.1463, allocations: 23.94 kB / 0.7682 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.1463, allocations: 11.97 kB / 0.7682 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.634e-05/0.1463, allocations: 4 kB / 0.7682 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.068e-05/0.1464, allocations: 7.938 kB / 0.7682 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.1464, allocations: 4 kB / 0.7682 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.1466, allocations: 47.88 kB / 0.7682 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.661e-05/0.1466, allocations: 11.98 kB / 0.7683 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.1466, allocations: 15.88 kB / 0.7683 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.1468, allocations: 63.75 kB / 0.7683 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1468, allocations: 0 / 0.7683 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1468, allocations: 0 / 0.7683 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.1468, allocations: 4 kB / 0.7683 GB, free: 6.449 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003291/0.1471, allocations: 355.2 kB / 0.7687 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.1472, allocations: 8.031 kB / 0.7687 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.1472, allocations: 4.938 kB / 0.7687 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.1473, allocations: 166.9 kB / 0.7688 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.1473, allocations: 384 / 0.7688 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.1473, allocations: 4.359 kB / 0.7689 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.405e-05/0.1474, allocations: 55.67 kB / 0.7689 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1475, allocations: 0 / 0.7689 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1475, allocations: 4 kB / 0.7689 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1475, allocations: 4 kB / 0.7689 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.2e-05/0.1475, allocations: 7.984 kB / 0.7689 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.1477, allocations: 175 kB / 0.7691 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.471e-05/0.1477, allocations: 41.16 kB / 0.7691 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.312e-05/0.1477, allocations: 25.77 kB / 0.7692 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.1478, allocations: 0 / 0.7692 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.1478, allocations: 34.5 kB / 0.7692 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 3.176e-06/0.1478, allocations: 0 / 0.7692 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001196/0.1479, allocations: 49.53 kB / 0.7692 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.148, allocations: 93.23 kB / 0.7693 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.418e-05/0.1481, allocations: 133.8 kB / 0.7694 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.1481, allocations: 25.7 kB / 0.7695 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.1481, allocations: 100 kB / 0.7696 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.1481, allocations: 3.906 kB / 0.7696 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.1482, allocations: 29.64 kB / 0.7696 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.81e-05/0.1483, allocations: 318.8 kB / 0.7699 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.919e-05/0.1483, allocations: 23.98 kB / 0.7699 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.791e-05/0.1483, allocations: 31.98 kB / 0.77 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.203e-05/0.1484, allocations: 43.97 kB / 0.77 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1484, allocations: 0 / 0.77 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001153/0.1485, allocations: 93.69 kB / 0.7701 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1486, allocations: 15.86 kB / 0.7701 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.1486, allocations: 0 / 0.7701 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.1486, allocations: 96 / 0.7701 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.326e-05/0.1486, allocations: 4 kB / 0.7701 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1486, allocations: 0 / 0.7701 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.067e-05/0.1487, allocations: 15.83 kB / 0.7701 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.1487, allocations: 4 kB / 0.7701 GB, free: 4.371 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.382e-05/0.1488, allocations: 118.5 kB / 0.7702 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.1488, allocations: 7.844 kB / 0.7702 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.662e-05/0.1488, allocations: 7.531 kB / 0.7703 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.1488, allocations: 0 / 0.7703 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.1488, allocations: 0 / 0.7703 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1488, allocations: 0 / 0.7703 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.61e-05/0.1489, allocations: 161.7 kB / 0.7704 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1489, allocations: 0 / 0.7704 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.817e-05/0.1489, allocations: 8 kB / 0.7704 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1489, allocations: 3.938 kB / 0.7704 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.149, allocations: 4 kB / 0.7704 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.149, allocations: 3.984 kB / 0.7704 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.149, allocations: 0 / 0.7704 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.27e-05/0.149, allocations: 73.84 kB / 0.7705 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.1491, allocations: 89.06 kB / 0.7706 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.1491, allocations: 0 / 0.7706 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.805e-05/0.1491, allocations: 4 kB / 0.7706 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.289e-05/0.1491, allocations: 4 kB / 0.7706 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.1491, allocations: 0 / 0.7706 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.427e-05/0.1492, allocations: 99.27 kB / 0.7707 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1492, allocations: 0 / 0.7707 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002019/0.1494, allocations: 27.92 kB / 0.7707 GB, free: 3.672 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001464/0.1496, allocations: 119.2 kB / 0.7708 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.1497, allocations: 89.55 kB / 0.7709 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1497, allocations: 0 / 0.7709 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.259e-05/0.1497, allocations: 11.98 kB / 0.7709 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.1499, allocations: 0 / 0.7709 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002285/0.1501, allocations: 146.2 kB / 0.7711 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.1503, allocations: 0.6846 MB / 0.7717 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.017e-05/0.1503, allocations: 11.98 kB / 0.7717 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.291e-05/0.1504, allocations: 7.438 kB / 0.7717 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.1504, allocations: 0 / 0.7717 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of Templates: time 0.002411/0.1528, allocations: 0.5457 MB / 0.7723 GB, free: 2.043 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)