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.7711/0.7711, allocations: 143.3 MB / 158.3 MB, free: 5.809 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.001334/0.001334, allocations: 181 kB / 191.5 MB, free: 5.766 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.429/1.429, allocations: 223.2 MB / 447.7 MB, free: 4.742 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.0009173/0.0009171, allocations: 92.33 kB / 0.5187 GB, free: 1.102 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001848/0.001848, allocations: 261.1 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004836, allocations: 17.75 kB / 0.693 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1613, allocations: 82.79 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1579/0.3192, allocations: 108.7 MB / 0.88 GB, free: 0.8789 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.3196, allocations: 102.3 kB / 0.8801 GB, free: 0.7812 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.001675/0.3212, allocations: 0.688 MB / 0.8808 GB, free: 92 kB / 0.5417 GB Notification: Performance of FrontEnd: time 2.394e-06/0.3213, allocations: 0 / 0.8808 GB, free: 92 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3213, allocations: 0 / 0.8808 GB, free: 92 kB / 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.3623/0.6836, allocations: 319.4 kB / 0.8811 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.6836, allocations: 8.594 kB / 0.8811 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.6837, allocations: 32.25 kB / 0.8811 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.377e-05/0.6837, allocations: 0 / 0.8811 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.941e-05/0.6838, allocations: 168.6 kB / 0.8813 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.6838, allocations: 1.141 kB / 0.8813 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.6838, allocations: 0.6562 kB / 0.8813 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.299e-05/0.6839, allocations: 28.42 kB / 0.8813 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.6839, allocations: 2.406 kB / 0.8813 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.684, allocations: 1.688 kB / 0.8813 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.684, allocations: 0 / 0.8813 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.085e-05/0.684, allocations: 5.125 kB / 0.8813 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.6843, allocations: 382.2 kB / 0.8817 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.696e-05/0.6843, allocations: 172.1 kB / 0.8818 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.6843, allocations: 75.94 kB / 0.8819 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.6844, allocations: 110.4 kB / 0.882 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.6844, allocations: 0.5312 kB / 0.882 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 6.484e-05/0.6844, allocations: 29.72 kB / 0.882 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.6845, allocations: 128.1 kB / 0.8822 GB, free: 108 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.868e-05/0.6846, allocations: 93.36 kB / 0.8822 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.721e-06/0.6846, allocations: 26.42 kB / 0.8823 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.832e-05/0.6846, allocations: 83.11 kB / 0.8823 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-06/0.6846, allocations: 0 / 0.8823 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-06/0.6846, allocations: 1.969 kB / 0.8823 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.23e-05/0.6847, allocations: 316.9 kB / 0.8826 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-06/0.6847, allocations: 1.125 kB / 0.8827 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-06/0.6847, allocations: 4.688 kB / 0.8827 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.659e-05/0.6847, allocations: 6.109 kB / 0.8827 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.6847, allocations: 0 / 0.8827 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.179e-05/0.6848, allocations: 30.89 kB / 0.8827 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.6848, allocations: 6.188 kB / 0.8827 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.6848, allocations: 1.312 kB / 0.8827 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.6849, allocations: 0 / 0.8827 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.787e-05/0.6849, allocations: 2.484 kB / 0.8827 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.6849, allocations: 224 / 0.8827 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.159e-05/0.6849, allocations: 7.188 kB / 0.8827 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.6849, allocations: 1.828 kB / 0.8827 GB, free: 107.5 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 () * Number of clocked 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 5.461e-05/0.685, allocations: 190.6 kB / 0.8829 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.6851, allocations: 107.2 kB / 0.883 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.6851, allocations: 114.4 kB / 0.8831 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.6851, allocations: 177.7 kB / 0.8833 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.058e-05/0.6852, allocations: 186.9 kB / 0.8834 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.452e-05/0.6852, allocations: 176.9 kB / 0.8836 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.6853, allocations: 409.7 kB / 0.884 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-05/0.6854, allocations: 107 kB / 0.8841 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.501e-05/0.6854, allocations: 102 kB / 0.8842 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-05/0.6854, allocations: 185.9 kB / 0.8844 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.6854, allocations: 178.4 kB / 0.8846 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.638e-05/0.6855, allocations: 181.9 kB / 0.8847 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.871e-05/0.6855, allocations: 186.9 kB / 0.8849 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.175e-05/0.6856, allocations: 309.4 kB / 0.8852 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.6856, allocations: 188.6 kB / 0.8854 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.6857, allocations: 179.8 kB / 0.8856 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.164e-05/0.6857, allocations: 106.7 kB / 0.8857 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.6858, allocations: 177.7 kB / 0.8858 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.6858, allocations: 106.4 kB / 0.8859 GB, free: 104 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.767e-05/0.6858, allocations: 80.09 kB / 0.886 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6858, allocations: 0 / 0.886 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002497/0.6861, allocations: 1.312 kB / 0.886 GB, free: 103.9 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 () * Number of clocked 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.0002558/0.6863, allocations: 0.8187 MB / 0.8868 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.013e-05/0.6864, allocations: 9.344 kB / 0.8868 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6864, allocations: 1.094 kB / 0.8868 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.6864, allocations: 0 / 0.8868 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.6866, allocations: 0.5188 MB / 0.8873 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.6869, allocations: 181.6 kB / 0.8875 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.687, allocations: 0.6786 MB / 0.8882 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.276e-05/0.687, allocations: 0 / 0.8882 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.6871, allocations: 7.438 kB / 0.8882 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of SimCode: time 3e-07/0.6871, allocations: 1.125 kB / 0.8882 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01078/0.6978, allocations: 0.765 MB / 0.8889 GB, free: 101.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/0.6981, allocations: 264.8 kB / 0.8892 GB, free: 101.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/2.226, allocations: 0 / 0.8892 GB, free: 101.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)