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.001187/0.001187, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.001017/0.001017, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.221/1.221, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002152/0.002152, allocations: 279 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.885/0.885, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 94.3 kB / 0.5967 GB, free: 14.4 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.147, allocations: 86.97 MB / 0.6816 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002128/0.1491, allocations: 1.274 MB / 0.6829 GB, free: 6.137 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006545/0.1498, allocations: 450.9 kB / 0.6833 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.468e-05/0.1499, allocations: 0 / 0.6833 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.809e-05/0.1499, allocations: 3.938 kB / 0.6833 GB, free: 5.688 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.745e-05/0.15, allocations: 3.984 kB / 0.6833 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.1502, allocations: 35.83 kB / 0.6834 GB, free: 5.648 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.568e-05/0.1503, allocations: 23.92 kB / 0.6834 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.194e-05/0.1503, allocations: 3.984 kB / 0.6834 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.477e-05/0.1504, allocations: 11.94 kB / 0.6834 GB, free: 5.609 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.969e-05/0.1504, allocations: 15.97 kB / 0.6834 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.225e-06/0.1504, allocations: 0 / 0.6834 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1506, allocations: 43.91 kB / 0.6835 GB, free: 5.551 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.1506, allocations: 19.92 kB / 0.6835 GB, free: 5.531 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.1506, allocations: 11.88 kB / 0.6835 GB, free: 5.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.1508, allocations: 63.8 kB / 0.6835 GB, free: 5.457 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1508, allocations: 0 / 0.6835 GB, free: 5.457 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1508, allocations: 0 / 0.6835 GB, free: 5.457 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1508, allocations: 0 / 0.6835 GB, free: 5.457 MB / 494.1 MB 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.0003181/0.1511, allocations: 351.4 kB / 0.6839 GB, free: 5.066 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.1512, allocations: 12.03 kB / 0.6839 GB, free: 5.055 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.791e-05/0.1512, allocations: 4.844 kB / 0.6839 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.1513, allocations: 176.4 kB / 0.6841 GB, free: 4.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.1513, allocations: 8.312 kB / 0.6841 GB, free: 4.832 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.1514, allocations: 384 / 0.6841 GB, free: 4.832 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.838e-05/0.1514, allocations: 43.73 kB / 0.6841 GB, free: 4.777 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.1515, allocations: 3.938 kB / 0.6841 GB, free: 4.773 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-06/0.1515, allocations: 0 / 0.6841 GB, free: 4.773 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1515, allocations: 0 / 0.6841 GB, free: 4.773 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.168e-05/0.1515, allocations: 15.98 kB / 0.6841 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.1517, allocations: 178.5 kB / 0.6843 GB, free: 4.531 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.445e-05/0.1517, allocations: 37.22 kB / 0.6843 GB, free: 4.477 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.995e-05/0.1518, allocations: 17.77 kB / 0.6844 GB, free: 4.453 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.1518, allocations: 8 kB / 0.6844 GB, free: 4.445 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.1518, allocations: 38.44 kB / 0.6844 GB, free: 4.398 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1518, allocations: 0 / 0.6844 GB, free: 4.398 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001161/0.1519, allocations: 53.53 kB / 0.6845 GB, free: 4.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.152, allocations: 77.11 kB / 0.6845 GB, free: 4.246 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.1521, allocations: 140.9 kB / 0.6847 GB, free: 4.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.1521, allocations: 29.95 kB / 0.6847 GB, free: 4.066 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.1521, allocations: 84.12 kB / 0.6848 GB, free: 3.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.1522, allocations: 11.91 kB / 0.6848 GB, free: 3.969 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.1522, allocations: 25.7 kB / 0.6848 GB, free: 3.938 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.1523, allocations: 314.8 kB / 0.6851 GB, free: 3.621 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.889e-05/0.1523, allocations: 27.98 kB / 0.6851 GB, free: 3.594 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.673e-05/0.1524, allocations: 23.98 kB / 0.6852 GB, free: 3.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.231e-05/0.1524, allocations: 40.84 kB / 0.6852 GB, free: 3.527 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1524, allocations: 4 kB / 0.6852 GB, free: 3.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001188/0.1526, allocations: 105.5 kB / 0.6853 GB, free: 3.414 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1526, allocations: 14.28 kB / 0.6853 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.1526, allocations: 0 / 0.6853 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.1526, allocations: 0 / 0.6853 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.809e-05/0.1527, allocations: 4 kB / 0.6853 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1527, allocations: 0 / 0.6853 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.83e-05/0.1527, allocations: 7.844 kB / 0.6853 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1527, allocations: 4 kB / 0.6853 GB, free: 3.387 MB / 494.1 MB 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.332e-05/0.1528, allocations: 113.8 kB / 0.6854 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.1528, allocations: 7.938 kB / 0.6854 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.64e-05/0.1528, allocations: 7.531 kB / 0.6855 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1528, allocations: 4 kB / 0.6855 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1528, allocations: 0 / 0.6855 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1528, allocations: 0 / 0.6855 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.048e-05/0.1529, allocations: 161.6 kB / 0.6856 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1529, allocations: 96 / 0.6856 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.762e-05/0.153, allocations: 4 kB / 0.6856 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/0.153, allocations: 11.91 kB / 0.6856 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.153, allocations: 0 / 0.6856 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.153, allocations: 4 kB / 0.6856 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.153, allocations: 7.938 kB / 0.6856 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.92e-05/0.1531, allocations: 69.89 kB / 0.6857 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.1531, allocations: 88.95 kB / 0.6858 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.1531, allocations: 0 / 0.6858 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.594e-05/0.1532, allocations: 0 / 0.6858 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.1532, allocations: 8.031 kB / 0.6858 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.1532, allocations: 8 kB / 0.6858 GB, free: 2.801 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.772e-05/0.1532, allocations: 102.1 kB / 0.6859 GB, free: 2.703 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1533, allocations: 4 kB / 0.6859 GB, free: 2.699 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001954/0.1535, allocations: 16 kB / 0.6859 GB, free: 2.684 MB / 494.1 MB 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.0001403/0.1536, allocations: 120.7 kB / 0.686 GB, free: 2.559 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.1537, allocations: 81.62 kB / 0.6861 GB, free: 2.473 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1538, allocations: 4 kB / 0.6861 GB, free: 2.469 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.223e-05/0.1538, allocations: 7.984 kB / 0.6861 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.1539, allocations: 4.703 kB / 0.6861 GB, free: 2.457 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.1542, allocations: 150.3 kB / 0.6863 GB, free: 2.281 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.1544, allocations: 0.6922 MB / 0.6869 GB, free: 1.562 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.749e-05/0.1545, allocations: 0 / 0.6869 GB, free: 1.562 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.258e-05/0.1545, allocations: 7.562 kB / 0.687 GB, free: 1.555 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1545, allocations: 4 kB / 0.687 GB, free: 1.551 MB / 494.1 MB Notification: Performance of Templates: time 0.002492/0.157, allocations: 0.5535 MB / 0.6875 GB, free: 1.047 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)