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.6933/0.6933, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 185.2 kB / 187.3 MB, free: 11.88 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.23/1.23, allocations: 221.3 MB / 441.4 MB, free: 4.613 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.000806/0.0008058, allocations: 96.92 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001595/0.001595, allocations: 276.8 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.123e-05/3.123e-05, allocations: 4 kB / 0.6836 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3639, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1051/0.469, allocations: 108.6 MB / 0.8705 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.4693, allocations: 95.92 kB / 0.8706 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.001439/0.4708, allocations: 0.6984 MB / 0.8713 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4708, allocations: 0.5 kB / 0.8713 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.4708, allocations: 0.5938 kB / 0.8713 GB, free: 15.12 MB / 0.5417 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.0002121/0.471, allocations: 319.4 kB / 0.8716 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.4711, allocations: 11.97 kB / 0.8716 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.077e-05/0.4711, allocations: 31.16 kB / 0.8716 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.544e-05/0.4711, allocations: 0 / 0.8716 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.725e-05/0.4712, allocations: 167.5 kB / 0.8718 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.312e-06/0.4712, allocations: 4.531 kB / 0.8718 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.4713, allocations: 8.859 kB / 0.8718 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.878e-05/0.4713, allocations: 25.7 kB / 0.8718 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.4713, allocations: 0.8438 kB / 0.8718 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-06/0.4714, allocations: 0 / 0.8718 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.4714, allocations: 0.5312 kB / 0.8718 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.731e-05/0.4714, allocations: 6.906 kB / 0.8718 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002418/0.4716, allocations: 375.5 kB / 0.8722 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.053e-05/0.4717, allocations: 173.1 kB / 0.8723 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.105e-05/0.4717, allocations: 85.28 kB / 0.8724 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.4718, allocations: 75.28 kB / 0.8725 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.4718, allocations: 113.3 kB / 0.8726 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.4718, allocations: 0 / 0.8726 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 5.659e-05/0.4719, allocations: 25.7 kB / 0.8726 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.4719, allocations: 134.6 kB / 0.8728 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.861e-05/0.472, allocations: 89 kB / 0.8728 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.472, allocations: 29.83 kB / 0.8729 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.772e-05/0.472, allocations: 82.16 kB / 0.8729 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.472, allocations: 0 / 0.8729 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-06/0.4721, allocations: 0 / 0.8729 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.097e-05/0.4721, allocations: 314.8 kB / 0.8732 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.631e-06/0.4722, allocations: 4 kB / 0.8733 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-06/0.4722, allocations: 0 / 0.8733 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.47e-05/0.4722, allocations: 3.984 kB / 0.8733 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4722, allocations: 4.062 kB / 0.8733 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.898e-05/0.4723, allocations: 33.7 kB / 0.8733 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.4723, allocations: 4 kB / 0.8733 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4723, allocations: 0 / 0.8733 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.4723, allocations: 0 / 0.8733 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.105e-05/0.4723, allocations: 11.92 kB / 0.8733 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4724, allocations: 0 / 0.8733 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.356e-05/0.4724, allocations: 4 kB / 0.8733 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.4724, allocations: 0 / 0.8733 GB, free: 12.81 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: 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 6.343e-05/0.4725, allocations: 184.2 kB / 0.8735 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.4725, allocations: 109 kB / 0.8736 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/0.4726, allocations: 104.1 kB / 0.8737 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.7e-05/0.4726, allocations: 180.2 kB / 0.8739 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-05/0.4727, allocations: 176.3 kB / 0.874 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.773e-05/0.4727, allocations: 192.1 kB / 0.8742 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.4729, allocations: 405.2 kB / 0.8746 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.239e-05/0.4729, allocations: 104.9 kB / 0.8747 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.012e-05/0.473, allocations: 101.5 kB / 0.8748 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.798e-05/0.473, allocations: 184.2 kB / 0.875 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.064e-05/0.4731, allocations: 188.2 kB / 0.8752 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.765e-05/0.4731, allocations: 184.3 kB / 0.8753 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.938e-05/0.4732, allocations: 180.2 kB / 0.8755 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.4733, allocations: 299.8 kB / 0.8758 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/0.4734, allocations: 194 kB / 0.876 GB, free: 9.898 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.197e-05/0.4734, allocations: 180.3 kB / 0.8761 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.448e-05/0.4735, allocations: 110.1 kB / 0.8762 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.4736, allocations: 176.3 kB / 0.8764 GB, free: 9.422 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.4736, allocations: 105 kB / 0.8765 GB, free: 9.312 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.686e-05/0.4736, allocations: 79.27 kB / 0.8766 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4736, allocations: 0 / 0.8766 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001962/0.4738, allocations: 0 / 0.8766 GB, free: 9.234 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.0003232/0.4742, allocations: 0.8165 MB / 0.8774 GB, free: 8.391 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 3.98e-05/0.4742, allocations: 4 kB / 0.8774 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4742, allocations: 0 / 0.8774 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.916e-06/0.4742, allocations: 0 / 0.8774 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.4745, allocations: 0.5302 MB / 0.8779 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002592/0.4748, allocations: 146.2 kB / 0.8781 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.475, allocations: 0.677 MB / 0.8787 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.129e-05/0.475, allocations: 0 / 0.8787 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.546e-05/0.475, allocations: 7.438 kB / 0.8787 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of SimCode: time 2.91e-07/0.475, allocations: 0 / 0.8787 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01009/0.4851, allocations: 0.7775 MB / 0.8795 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.4854, allocations: 231.7 kB / 0.8797 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.306/1.792, allocations: 7.422 kB / 0.8797 GB, free: 6.145 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)