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.0007723/0.0007727, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.0008588/0.0008589, allocations: 177.2 kB / 16.27 MB, free: 6.664 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.28/1.28, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001734/0.001733, allocations: 277.8 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9177/0.9177, allocations: 169.5 MB / 0.5004 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004435, allocations: 14.55 kB / 0.5988 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1592, allocations: 88.54 MB / 0.6853 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001276/0.1605, allocations: 1.003 MB / 0.6862 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007457/0.1613, allocations: 442.2 kB / 0.6867 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.1613, allocations: 4 kB / 0.6867 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.007e-05/0.1614, allocations: 3.938 kB / 0.6867 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.15e-05/0.1614, allocations: 7.969 kB / 0.6867 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.1616, allocations: 25.11 kB / 0.6867 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.031e-05/0.1617, allocations: 43.88 kB / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.1618, allocations: 4 kB / 0.6868 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.388e-05/0.1618, allocations: 11.19 kB / 0.6868 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.293e-05/0.1619, allocations: 15.98 kB / 0.6868 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.686e-06/0.1619, allocations: 0 / 0.6868 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.162, allocations: 43.83 kB / 0.6868 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.228e-05/0.162, allocations: 23.92 kB / 0.6868 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.007e-05/0.1621, allocations: 41.62 kB / 0.6869 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.1622, allocations: 60.03 kB / 0.6869 GB, free: 13.22 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1622, allocations: 0 / 0.6869 GB, free: 13.22 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1622, allocations: 0 / 0.6869 GB, free: 13.22 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.1622, allocations: 4.5 kB / 0.6869 GB, free: 13.22 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.000292/0.1625, allocations: 344.5 kB / 0.6873 GB, free: 12.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1626, allocations: 8.031 kB / 0.6873 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.823e-05/0.1626, allocations: 35.23 kB / 0.6873 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.1626, allocations: 11 kB / 0.6873 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.1628, allocations: 171.3 kB / 0.6875 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-06/0.1628, allocations: 384 / 0.6875 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.1628, allocations: 384 / 0.6875 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.921e-05/0.1629, allocations: 56.2 kB / 0.6875 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-06/0.1629, allocations: 1.719 kB / 0.6875 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.1629, allocations: 0 / 0.6875 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1629, allocations: 4 kB / 0.6875 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.132e-05/0.1629, allocations: 4 kB / 0.6876 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.1631, allocations: 171.2 kB / 0.6877 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.308e-05/0.1632, allocations: 47.39 kB / 0.6878 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.588e-05/0.1632, allocations: 13.78 kB / 0.6878 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.1632, allocations: 6.281 kB / 0.6878 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.1633, allocations: 42.42 kB / 0.6878 GB, free: 12.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1633, allocations: 0 / 0.6878 GB, free: 12.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000122/0.1634, allocations: 50.33 kB / 0.6879 GB, free: 12.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.1634, allocations: 81.69 kB / 0.6879 GB, free: 11.99 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.604e-05/0.1635, allocations: 138.6 kB / 0.6881 GB, free: 11.85 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.1636, allocations: 25.7 kB / 0.6881 GB, free: 11.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.1636, allocations: 92.66 kB / 0.6882 GB, free: 11.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.1636, allocations: 5.125 kB / 0.6882 GB, free: 11.72 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.1637, allocations: 21.7 kB / 0.6882 GB, free: 11.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.499e-05/0.1638, allocations: 323.6 kB / 0.6885 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.959e-05/0.1638, allocations: 24 kB / 0.6885 GB, free: 11.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.117e-05/0.1638, allocations: 28.23 kB / 0.6886 GB, free: 11.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.561e-05/0.1639, allocations: 47.59 kB / 0.6886 GB, free: 11.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1639, allocations: 0 / 0.6886 GB, free: 11.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001242/0.164, allocations: 105.5 kB / 0.6887 GB, free: 11.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.1641, allocations: 4 kB / 0.6887 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.1641, allocations: 0 / 0.6887 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.138e-06/0.1641, allocations: 0 / 0.6887 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.06e-05/0.1641, allocations: 4 kB / 0.6887 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1642, allocations: 7.875 kB / 0.6887 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/0.1642, allocations: 11.84 kB / 0.6887 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1642, allocations: 7.984 kB / 0.6888 GB, free: 11.12 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.976e-05/0.1643, allocations: 115.2 kB / 0.6889 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.1643, allocations: 3.938 kB / 0.6889 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.999e-05/0.1643, allocations: 11.53 kB / 0.6889 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1643, allocations: 0 / 0.6889 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1643, allocations: 0 / 0.6889 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1643, allocations: 3.984 kB / 0.6889 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.1645, allocations: 157.7 kB / 0.689 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1645, allocations: 0 / 0.689 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.121e-05/0.1645, allocations: 7.938 kB / 0.689 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1645, allocations: 4 kB / 0.689 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1645, allocations: 4 kB / 0.689 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1645, allocations: 0 / 0.689 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1645, allocations: 0 / 0.689 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.279e-05/0.1646, allocations: 77.83 kB / 0.6891 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.1647, allocations: 88.89 kB / 0.6892 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.1647, allocations: 4.031 kB / 0.6892 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.162e-05/0.1647, allocations: 4 kB / 0.6892 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.181e-05/0.1647, allocations: 3.984 kB / 0.6892 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.1647, allocations: 0 / 0.6892 GB, free: 10.55 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.386e-05/0.1648, allocations: 103.3 kB / 0.6893 GB, free: 10.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1648, allocations: 0 / 0.6893 GB, free: 10.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002034/0.165, allocations: 23.94 kB / 0.6893 GB, free: 10.43 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.0003686/0.1654, allocations: 0.6249 MB / 0.69 GB, free: 9.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.1655, allocations: 81.67 kB / 0.69 GB, free: 9.684 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1655, allocations: 0 / 0.69 GB, free: 9.684 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.159e-05/0.1655, allocations: 4 kB / 0.69 GB, free: 9.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.1657, allocations: 8 kB / 0.69 GB, free: 9.672 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.1667, allocations: 1.324 MB / 0.6913 GB, free: 8.266 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.167, allocations: 0.6848 MB / 0.692 GB, free: 7.555 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.762e-05/0.167, allocations: 4 kB / 0.692 GB, free: 7.551 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.167, allocations: 11.44 kB / 0.692 GB, free: 7.539 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.167, allocations: 4 kB / 0.692 GB, free: 7.535 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2524/0.4194, allocations: 1.523 MB / 0.6935 GB, free: 6.254 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003568/0.4198, allocations: 288.5 kB / 0.6938 GB, free: 5.875 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.024, allocations: 4 kB / 0.6938 GB, free: 5.871 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)