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: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001253, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001409/0.001409, allocations: 193.4 kB / 16.25 MB, free: 6.629 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 / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002249/0.002249, allocations: 294.9 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9472/0.9472, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 94.58 kB / 0.5948 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1528, allocations: 86.97 MB / 0.6798 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002232/0.155, allocations: 1.342 MB / 0.6811 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006632/0.1557, allocations: 448.8 kB / 0.6815 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.458e-05/0.1558, allocations: 4.625 kB / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.849e-05/0.1558, allocations: 0 / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.191e-05/0.1559, allocations: 9.906 kB / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.1561, allocations: 35.89 kB / 0.6816 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.128e-05/0.1562, allocations: 19.92 kB / 0.6816 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.454e-05/0.1562, allocations: 0 / 0.6816 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.007e-05/0.1563, allocations: 15.94 kB / 0.6816 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.686e-05/0.1563, allocations: 15.97 kB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.849e-06/0.1563, allocations: 4 kB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.1565, allocations: 39.91 kB / 0.6816 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.873e-05/0.1565, allocations: 19.91 kB / 0.6817 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.1565, allocations: 7.938 kB / 0.6817 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.1567, allocations: 64.03 kB / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1567, allocations: 0 / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1567, allocations: 0 / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1567, allocations: 0 / 0.6817 GB, free: 14.92 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.0003291/0.157, allocations: 355.4 kB / 0.6821 GB, free: 14.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1571, allocations: 8.031 kB / 0.6821 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.797e-05/0.1571, allocations: 30.75 kB / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.368e-05/0.1571, allocations: 8.844 kB / 0.6821 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.1572, allocations: 172.4 kB / 0.6823 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.1573, allocations: 4.312 kB / 0.6823 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-06/0.1573, allocations: 384 / 0.6823 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.429e-05/0.1574, allocations: 51.53 kB / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.1574, allocations: 0 / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1574, allocations: 11.98 kB / 0.6823 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1574, allocations: 0 / 0.6823 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.029e-05/0.1574, allocations: 7.938 kB / 0.6824 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.1576, allocations: 174.4 kB / 0.6825 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.963e-05/0.1576, allocations: 37.2 kB / 0.6826 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/0.1577, allocations: 21.78 kB / 0.6826 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-06/0.1577, allocations: 3.938 kB / 0.6826 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.1577, allocations: 42.44 kB / 0.6826 GB, free: 13.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1577, allocations: 0 / 0.6826 GB, free: 13.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001205/0.1578, allocations: 45.62 kB / 0.6827 GB, free: 13.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.1579, allocations: 77.36 kB / 0.6827 GB, free: 13.67 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.577e-05/0.158, allocations: 145.7 kB / 0.6829 GB, free: 13.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.158, allocations: 25.7 kB / 0.6829 GB, free: 13.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.1581, allocations: 88.14 kB / 0.683 GB, free: 13.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.1581, allocations: 3.906 kB / 0.683 GB, free: 13.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.1581, allocations: 25.7 kB / 0.683 GB, free: 13.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.1582, allocations: 322.8 kB / 0.6833 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.767e-05/0.1583, allocations: 20 kB / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.796e-05/0.1583, allocations: 27.98 kB / 0.6834 GB, free: 12.99 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.158e-05/0.1584, allocations: 56.91 kB / 0.6834 GB, free: 12.94 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1584, allocations: 0 / 0.6834 GB, free: 12.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001182/0.1585, allocations: 105.5 kB / 0.6835 GB, free: 12.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.1585, allocations: 4 kB / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.1585, allocations: 0 / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.1585, allocations: 0 / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.354e-05/0.1586, allocations: 4 kB / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1586, allocations: 0 / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.024e-05/0.1586, allocations: 11.84 kB / 0.6835 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.1586, allocations: 0 / 0.6835 GB, free: 12.81 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 7.486e-05/0.1587, allocations: 123.1 kB / 0.6837 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.477e-06/0.1587, allocations: 3.938 kB / 0.6837 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.799e-05/0.1588, allocations: 7.531 kB / 0.6837 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1588, allocations: 0 / 0.6837 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1588, allocations: 0 / 0.6837 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.1588, allocations: 0 / 0.6837 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.1589, allocations: 165.6 kB / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1589, allocations: 0 / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.2e-05/0.1589, allocations: 11.94 kB / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1589, allocations: 4 kB / 0.6838 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.159, allocations: 4 kB / 0.6838 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.159, allocations: 4 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.159, allocations: 3.938 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.133e-05/0.159, allocations: 73.92 kB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.1591, allocations: 84.95 kB / 0.684 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.1591, allocations: 0 / 0.684 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.1591, allocations: 8.031 kB / 0.684 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-06/0.1592, allocations: 0 / 0.684 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.1592, allocations: 0 / 0.684 GB, free: 12.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.78e-05/0.1592, allocations: 103.2 kB / 0.6841 GB, free: 12.12 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1592, allocations: 0 / 0.6841 GB, free: 12.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002055/0.1594, allocations: 19.94 kB / 0.6841 GB, free: 12.11 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.0003901/0.1598, allocations: 0.6327 MB / 0.6848 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.16, allocations: 81.67 kB / 0.6848 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.16, allocations: 0 / 0.6848 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.389e-05/0.16, allocations: 7.938 kB / 0.6848 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.1602, allocations: 6.109 kB / 0.6848 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.1612, allocations: 1.326 MB / 0.6861 GB, free: 9.934 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.1615, allocations: 0.6922 MB / 0.6868 GB, free: 9.215 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.81e-05/0.1615, allocations: 0 / 0.6868 GB, free: 9.215 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.1615, allocations: 11.44 kB / 0.6868 GB, free: 9.207 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1615, allocations: 4 kB / 0.6868 GB, free: 9.203 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01077/0.1723, allocations: 1.628 MB / 0.6884 GB, free: 7.816 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002446/0.1726, allocations: 283.4 kB / 0.6887 GB, free: 7.441 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/1.876, allocations: 6.516 kB / 0.6887 GB, free: 7.438 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)