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.001016/0.001016, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002265/0.002265, allocations: 287.1 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9387/0.9387, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 97.02 kB / 0.5954 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1569, allocations: 86.98 MB / 0.6803 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002272/0.1592, allocations: 1.278 MB / 0.6816 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000731/0.1599, allocations: 453.3 kB / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.16, allocations: 0 / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.991e-05/0.1601, allocations: 3.938 kB / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.525e-05/0.1602, allocations: 4.656 kB / 0.682 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.1604, allocations: 35.88 kB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.234e-05/0.1605, allocations: 17.81 kB / 0.6821 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.404e-05/0.1605, allocations: 4 kB / 0.6821 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.1606, allocations: 19.91 kB / 0.6821 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.459e-05/0.1606, allocations: 11.94 kB / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.958e-06/0.1607, allocations: 0 / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.1608, allocations: 46.59 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.42e-05/0.1609, allocations: 15.92 kB / 0.6822 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.1609, allocations: 11.94 kB / 0.6822 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.161, allocations: 64.03 kB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.161, allocations: 0 / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.161, allocations: 0 / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1611, allocations: 0 / 0.6822 GB, free: 14.61 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.0003699/0.1614, allocations: 356.1 kB / 0.6826 GB, free: 14.22 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1615, allocations: 13.75 kB / 0.6826 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.13e-05/0.1615, allocations: 30.75 kB / 0.6826 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.1615, allocations: 4.844 kB / 0.6826 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.1617, allocations: 167.1 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1617, allocations: 1.25 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.158e-06/0.1617, allocations: 4.375 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.1618, allocations: 53.19 kB / 0.6828 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1618, allocations: 0 / 0.6828 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.1619, allocations: 0 / 0.6828 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1619, allocations: 4.922 kB / 0.6828 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.433e-05/0.1619, allocations: 7.938 kB / 0.6828 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.1621, allocations: 182.4 kB / 0.683 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.041e-05/0.1621, allocations: 37.09 kB / 0.6831 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.833e-05/0.1622, allocations: 25.83 kB / 0.6831 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.1622, allocations: 0 / 0.6831 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.1622, allocations: 38.5 kB / 0.6831 GB, free: 13.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.1622, allocations: 7.875 kB / 0.6831 GB, free: 13.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001395/0.1624, allocations: 45.62 kB / 0.6832 GB, free: 13.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.1624, allocations: 85.11 kB / 0.6832 GB, free: 13.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.1626, allocations: 133.7 kB / 0.6834 GB, free: 13.22 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1626, allocations: 29.7 kB / 0.6834 GB, free: 13.19 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.1626, allocations: 88.38 kB / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.1626, allocations: 7.906 kB / 0.6835 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.1627, allocations: 25.72 kB / 0.6835 GB, free: 13.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1628, allocations: 318.8 kB / 0.6838 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.592e-05/0.1629, allocations: 23.98 kB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.986e-05/0.1629, allocations: 24 kB / 0.6839 GB, free: 12.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.557e-05/0.163, allocations: 55.89 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.163, allocations: 0 / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001272/0.1631, allocations: 93.53 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1631, allocations: 8 kB / 0.684 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.1631, allocations: 3.984 kB / 0.684 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1632, allocations: 0 / 0.684 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.3e-05/0.1632, allocations: 4 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1632, allocations: 0 / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.32e-05/0.1633, allocations: 11.84 kB / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1633, allocations: 0 / 0.684 GB, free: 12.51 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.879e-05/0.1633, allocations: 115.2 kB / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.1634, allocations: 11.92 kB / 0.6842 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.814e-05/0.1634, allocations: 7.531 kB / 0.6842 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1634, allocations: 0 / 0.6842 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1634, allocations: 0 / 0.6842 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.1634, allocations: 0 / 0.6842 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.919e-05/0.1635, allocations: 173.5 kB / 0.6843 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1635, allocations: 4 kB / 0.6843 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.901e-05/0.1635, allocations: 3.938 kB / 0.6843 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1636, allocations: 4 kB / 0.6843 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1636, allocations: 4 kB / 0.6843 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1636, allocations: 0 / 0.6843 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1636, allocations: 0 / 0.6843 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.562e-05/0.1637, allocations: 73.98 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.1637, allocations: 88.94 kB / 0.6845 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.1637, allocations: 7.938 kB / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.613e-05/0.1637, allocations: 0 / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.15e-05/0.1638, allocations: 3.938 kB / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.1638, allocations: 0 / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.681e-05/0.1638, allocations: 103.3 kB / 0.6846 GB, free: 11.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1638, allocations: 0 / 0.6846 GB, free: 11.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.1641, allocations: 31.88 kB / 0.6846 GB, free: 11.79 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.0003659/0.1644, allocations: 0.6211 MB / 0.6852 GB, free: 11.14 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.1646, allocations: 89.61 kB / 0.6853 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1646, allocations: 0 / 0.6853 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.321e-05/0.1646, allocations: 4 kB / 0.6853 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.1648, allocations: 3.984 kB / 0.6853 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.1658, allocations: 1.309 MB / 0.6866 GB, free: 9.645 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.1661, allocations: 0.6883 MB / 0.6873 GB, free: 8.93 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.99e-05/0.1661, allocations: 3.984 kB / 0.6873 GB, free: 8.926 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.1662, allocations: 15.44 kB / 0.6873 GB, free: 8.91 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1662, allocations: 0 / 0.6873 GB, free: 8.91 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.1839, allocations: 1.702 MB / 0.689 GB, free: 7.406 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.07/7.254, allocations: 12.16 kB / 0.689 GB, free: 7.398 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)