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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8128/0.8128, allocations: 141.8 MB / 149.3 MB, free: 9.172 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 176.8 kB / 182.2 MB, free: 9.434 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009247/0.0009247, allocations: 96.06 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001803/0.001802, allocations: 280.4 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.573e-05/3.575e-05, allocations: 4 kB / 0.6767 GB, free: 12.7 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4949/0.495, allocations: 82.78 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1578/0.6529, allocations: 108.9 MB / 0.8639 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/0.6532, allocations: 99.92 kB / 0.864 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00402/0.6572, allocations: 1.332 MB / 0.8653 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6573, allocations: 0 / 0.8653 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.6573, allocations: 0 / 0.8653 GB, free: 1.379 MB / 0.5261 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.0003122/0.6576, allocations: 350.3 kB / 0.8656 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.6577, allocations: 12.02 kB / 0.8656 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.6577, allocations: 4 kB / 0.8656 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.6579, allocations: 167.1 kB / 0.8658 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.6579, allocations: 3.953 kB / 0.8658 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.6579, allocations: 0 / 0.8658 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.982e-05/0.658, allocations: 11.98 kB / 0.8658 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.484e-05/0.6581, allocations: 43.36 kB / 0.8659 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.6581, allocations: 0 / 0.8659 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.6581, allocations: 11.92 kB / 0.8659 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.6581, allocations: 4 kB / 0.8659 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.6583, allocations: 151 kB / 0.866 GB, free: 0.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.49e-05/0.6584, allocations: 33.16 kB / 0.866 GB, free: 460 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.199e-05/0.6584, allocations: 29.77 kB / 0.8661 GB, free: 424 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.6585, allocations: 7.953 kB / 0.8661 GB, free: 416 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.6585, allocations: 30.56 kB / 0.8661 GB, free: 376 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.6585, allocations: 4 kB / 0.8661 GB, free: 372 kB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000129/0.6586, allocations: 37.69 kB / 0.8662 GB, free: 328 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.6587, allocations: 81.05 kB / 0.8662 GB, free: 228 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.6588, allocations: 131.3 kB / 0.8664 GB, free: 92 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.6588, allocations: 29.77 kB / 0.8664 GB, free: 56 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.6589, allocations: 88.03 kB / 0.8665 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.6589, allocations: 4 kB / 0.8665 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.6589, allocations: 4 kB / 0.8665 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.659, allocations: 310.8 kB / 0.8668 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.412e-05/0.6591, allocations: 27.98 kB / 0.8668 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.933e-05/0.6591, allocations: 23.98 kB / 0.8668 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.6592, allocations: 28 kB / 0.8668 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6592, allocations: 0 / 0.8668 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001394/0.6594, allocations: 98.95 kB / 0.8669 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.6594, allocations: 5.562 kB / 0.8669 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.6594, allocations: 3.953 kB / 0.867 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.6594, allocations: 4 kB / 0.867 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.801e-05/0.6595, allocations: 3.984 kB / 0.867 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.6595, allocations: 3.938 kB / 0.867 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.6596, allocations: 11.84 kB / 0.867 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.6596, allocations: 0 / 0.867 GB, free: 15.43 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.858e-05/0.6596, allocations: 105 kB / 0.8671 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.403e-05/0.6597, allocations: 45.59 kB / 0.8671 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.6597, allocations: 7.953 kB / 0.8671 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.423e-05/0.6597, allocations: 7.969 kB / 0.8671 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.6598, allocations: 0 / 0.8671 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.6598, allocations: 3.938 kB / 0.8671 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.6598, allocations: 0 / 0.8671 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.6599, allocations: 146.1 kB / 0.8673 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6599, allocations: 3.938 kB / 0.8673 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.6599, allocations: 4 kB / 0.8673 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6599, allocations: 64 / 0.8673 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.6599, allocations: 11.95 kB / 0.8673 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.6599, allocations: 0 / 0.8673 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.66, allocations: 0 / 0.8673 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.387e-05/0.66, allocations: 79.61 kB / 0.8674 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.6601, allocations: 89 kB / 0.8675 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.6601, allocations: 7.984 kB / 0.8675 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.746e-05/0.6601, allocations: 0 / 0.8675 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.6602, allocations: 4 kB / 0.8675 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.6602, allocations: 4 kB / 0.8675 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.117e-05/0.6602, allocations: 105.1 kB / 0.8676 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6602, allocations: 0 / 0.8676 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002058/0.6605, allocations: 20 kB / 0.8676 GB, free: 14.7 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004427/0.6609, allocations: 0.7013 MB / 0.8683 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.6611, allocations: 81.69 kB / 0.8684 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.6611, allocations: 0 / 0.8684 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.346e-05/0.6611, allocations: 11.92 kB / 0.8684 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.6612, allocations: 4.812 kB / 0.8684 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.6616, allocations: 130.3 kB / 0.8685 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.6619, allocations: 0.6885 MB / 0.8692 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.046e-05/0.6619, allocations: 3.938 kB / 0.8692 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.662, allocations: 15.44 kB / 0.8692 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.662, allocations: 0 / 0.8692 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.6828, allocations: 1.106 MB / 0.8703 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/0.6831, allocations: 223.2 kB / 0.8705 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.372, allocations: 0.8594 kB / 0.8705 GB, free: 11.61 MB / 0.5417 GB (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/linux/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)