Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.CountAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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.8049/0.8049, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001128/0.001128, allocations: 176.9 kB / 182.2 MB, free: 9.453 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.44/1.44, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0008429/0.0008427, allocations: 87.55 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001749/0.001749, allocations: 280.8 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.984e-05/1.993e-05, allocations: 4 kB / 0.6767 GB, free: 12.7 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4096, allocations: 82.77 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1474/0.557, allocations: 108 MB / 0.8629 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.5574, allocations: 99.91 kB / 0.863 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001889/0.5593, allocations: 0.6907 MB / 0.8637 GB, free: 3.004 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5593, allocations: 0 / 0.8637 GB, free: 3.004 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.5593, allocations: 4 kB / 0.8637 GB, free: 3 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002963/0.5596, allocations: 318.5 kB / 0.864 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.5597, allocations: 8.031 kB / 0.864 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.5597, allocations: 0 / 0.864 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.5599, allocations: 159.1 kB / 0.8642 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.5599, allocations: 3.953 kB / 0.8642 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.5599, allocations: 0 / 0.8642 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.834e-05/0.56, allocations: 7.938 kB / 0.8642 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.362e-05/0.5601, allocations: 29.64 kB / 0.8642 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.5601, allocations: 0 / 0.8642 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.5601, allocations: 3.984 kB / 0.8642 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.5601, allocations: 4 kB / 0.8642 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.5605, allocations: 360 kB / 0.8646 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.5606, allocations: 165.1 kB / 0.8647 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/0.5606, allocations: 80.14 kB / 0.8648 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.5607, allocations: 79.28 kB / 0.8649 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.287e-05/0.5607, allocations: 117.8 kB / 0.865 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 3.276e-06/0.5608, allocations: 0 / 0.865 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 8.62e-05/0.5608, allocations: 33.62 kB / 0.865 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.5609, allocations: 51.41 kB / 0.8651 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/0.561, allocations: 85 kB / 0.8652 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.561, allocations: 25.7 kB / 0.8652 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.5611, allocations: 88.27 kB / 0.8653 GB, free: 1.227 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-06/0.5611, allocations: 0 / 0.8653 GB, free: 1.227 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/0.5611, allocations: 0 / 0.8653 GB, free: 1.227 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5612, allocations: 310.8 kB / 0.8656 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.273e-06/0.5612, allocations: 0 / 0.8656 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.438e-06/0.5612, allocations: 0 / 0.8656 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.191e-05/0.5613, allocations: 4 kB / 0.8656 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5613, allocations: 0 / 0.8656 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001228/0.5614, allocations: 45.67 kB / 0.8656 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.5614, allocations: 8 kB / 0.8656 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5614, allocations: 0 / 0.8656 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.5615, allocations: 0 / 0.8656 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.361e-05/0.5615, allocations: 4 kB / 0.8656 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.5615, allocations: 1.016 kB / 0.8656 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.239e-05/0.5615, allocations: 0 / 0.8656 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.5616, allocations: 0 / 0.8656 GB, free: 0.8477 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 0.0001158/0.5617, allocations: 178.3 kB / 0.8658 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001031/0.5618, allocations: 142.6 kB / 0.8659 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/0.5619, allocations: 112.9 kB / 0.866 GB, free: 408 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.399e-05/0.5619, allocations: 108.7 kB / 0.8661 GB, free: 292 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.901e-05/0.562, allocations: 180.2 kB / 0.8663 GB, free: 104 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.773e-05/0.5621, allocations: 176.3 kB / 0.8665 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.08e-05/0.5622, allocations: 176.3 kB / 0.8666 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.5624, allocations: 397.7 kB / 0.867 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.845e-05/0.5625, allocations: 101.5 kB / 0.8671 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.652e-05/0.5625, allocations: 101 kB / 0.8672 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.435e-05/0.5626, allocations: 184.2 kB / 0.8674 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.761e-05/0.5627, allocations: 192.1 kB / 0.8676 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.729e-05/0.5628, allocations: 184.3 kB / 0.8678 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.677e-05/0.5629, allocations: 180.2 kB / 0.8679 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.563, allocations: 299.8 kB / 0.8682 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.798e-05/0.5631, allocations: 191.2 kB / 0.8684 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.24e-05/0.5632, allocations: 176.3 kB / 0.8686 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.354e-05/0.5633, allocations: 105 kB / 0.8687 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.5634, allocations: 184.2 kB / 0.8688 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-05/0.5635, allocations: 101 kB / 0.8689 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.574e-05/0.5636, allocations: 83.27 kB / 0.869 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5636, allocations: 0 / 0.869 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002551/0.5638, allocations: 0 / 0.869 GB, free: 13.15 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.000461/0.5643, allocations: 0.8088 MB / 0.8698 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.951e-05/0.5644, allocations: 7.938 kB / 0.8698 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5644, allocations: 0 / 0.8698 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.5644, allocations: 0 / 0.8698 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.5648, allocations: 0.5264 MB / 0.8703 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.5651, allocations: 137 kB / 0.8705 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.5654, allocations: 0.6768 MB / 0.8711 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.287e-05/0.5654, allocations: 0 / 0.8711 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/0.5654, allocations: 7.438 kB / 0.8711 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of SimCode: time 3.31e-07/0.5654, allocations: 0 / 0.8711 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.5852, allocations: 451.5 kB / 0.8716 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002725/0.5855, allocations: 234.4 kB / 0.8718 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.5/2.085, allocations: 4.969 kB / 0.8718 GB, free: 10.2 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)