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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 191.7 kB / 16.53 MB, free: 6.391 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002093/0.002093, allocations: 290.9 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9423/0.9423, allocations: 169.3 MB / 0.4982 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 97.03 kB / 0.5954 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1356, allocations: 86.98 MB / 0.6803 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001725/0.1374, allocations: 0.5336 MB / 0.6808 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008027/0.1382, allocations: 0.785 MB / 0.6816 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.363e-05/0.1382, allocations: 0 / 0.6816 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.223e-05/0.1383, allocations: 0.7188 kB / 0.6816 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.218e-06/0.1383, allocations: 0 / 0.6816 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.1385, allocations: 24.45 kB / 0.6816 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.564e-05/0.1385, allocations: 5.891 kB / 0.6816 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.187e-05/0.1386, allocations: 4 kB / 0.6816 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.18e-05/0.1386, allocations: 0 / 0.6816 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.1387, allocations: 23.98 kB / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.783e-06/0.1387, allocations: 0 / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.166e-06/0.1388, allocations: 0 / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.295e-06/0.1388, allocations: 0 / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.419e-05/0.1388, allocations: 0 / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.067e-05/0.1388, allocations: 3.984 kB / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1388, allocations: 0 / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1388, allocations: 0 / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1388, allocations: 4 kB / 0.6817 GB, free: 15.13 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002339/0.1391, allocations: 313.4 kB / 0.682 GB, free: 14.78 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1391, allocations: 16 kB / 0.682 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.756e-05/0.1392, allocations: 30.75 kB / 0.682 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.584e-05/0.1392, allocations: 0.9375 kB / 0.682 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.189e-05/0.1392, allocations: 160.4 kB / 0.6822 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.1393, allocations: 384 / 0.6822 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-06/0.1393, allocations: 384 / 0.6822 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.42e-05/0.1393, allocations: 38.2 kB / 0.6822 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1394, allocations: 3.938 kB / 0.6822 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.1394, allocations: 4 kB / 0.6822 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1394, allocations: 0 / 0.6822 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.568e-05/0.1394, allocations: 0 / 0.6822 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.1397, allocations: 379.5 kB / 0.6826 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.208e-05/0.1398, allocations: 169.1 kB / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.1398, allocations: 88.08 kB / 0.6828 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.1398, allocations: 79.22 kB / 0.6829 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.1399, allocations: 109.9 kB / 0.683 GB, free: 13.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1399, allocations: 0 / 0.683 GB, free: 13.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.192e-05/0.1399, allocations: 29.69 kB / 0.683 GB, free: 13.56 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.14, allocations: 126.7 kB / 0.6832 GB, free: 13.42 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.913e-05/0.1401, allocations: 98.14 kB / 0.6832 GB, free: 13.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.1401, allocations: 25.7 kB / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.904e-05/0.1401, allocations: 88.08 kB / 0.6834 GB, free: 13.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-06/0.1401, allocations: 0 / 0.6834 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.1401, allocations: 9.719 kB / 0.6834 GB, free: 13.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.1402, allocations: 310.8 kB / 0.6837 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-06/0.1403, allocations: 7.938 kB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.737e-06/0.1403, allocations: 0 / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.184e-05/0.1403, allocations: 13.05 kB / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.1403, allocations: 7.938 kB / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.569e-05/0.1404, allocations: 41.67 kB / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1404, allocations: 5.875 kB / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.1404, allocations: 0 / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1404, allocations: 0 / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.08e-05/0.1405, allocations: 4 kB / 0.6837 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1405, allocations: 0 / 0.6837 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.147e-05/0.1405, allocations: 0 / 0.6837 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.1405, allocations: 7.875 kB / 0.6837 GB, free: 12.77 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.513e-05/0.1406, allocations: 189.8 kB / 0.6839 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.1407, allocations: 109 kB / 0.684 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.483e-05/0.1407, allocations: 108.1 kB / 0.6841 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.214e-05/0.1408, allocations: 180.2 kB / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-05/0.1408, allocations: 176.3 kB / 0.6845 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-05/0.1409, allocations: 188.2 kB / 0.6847 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.1411, allocations: 405.2 kB / 0.685 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.958e-05/0.1411, allocations: 105 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.1411, allocations: 104.9 kB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.121e-05/0.1412, allocations: 180.3 kB / 0.6854 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.274e-05/0.1413, allocations: 188.7 kB / 0.6856 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-05/0.1413, allocations: 176.3 kB / 0.6858 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.032e-05/0.1414, allocations: 176.3 kB / 0.6859 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.1415, allocations: 311.8 kB / 0.6862 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/0.1416, allocations: 190 kB / 0.6864 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.573e-05/0.1416, allocations: 184.3 kB / 0.6866 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.378e-05/0.1417, allocations: 101 kB / 0.6867 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.1417, allocations: 184.2 kB / 0.6869 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.1418, allocations: 109 kB / 0.687 GB, free: 9.258 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.612e-05/0.1418, allocations: 79.22 kB / 0.687 GB, free: 9.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1418, allocations: 0 / 0.687 GB, free: 9.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002009/0.142, allocations: 4.094 kB / 0.687 GB, free: 9.176 MB / 494.1 MB 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 (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.0003232/0.1424, allocations: 0.8087 MB / 0.6878 GB, free: 8.336 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.243e-05/0.1424, allocations: 11.98 kB / 0.6878 GB, free: 8.324 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1424, allocations: 0 / 0.6878 GB, free: 8.324 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.1424, allocations: 4.062 kB / 0.6878 GB, free: 8.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.1427, allocations: 459.6 kB / 0.6883 GB, free: 7.867 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.143, allocations: 170 kB / 0.6884 GB, free: 7.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.1432, allocations: 0.6729 MB / 0.6891 GB, free: 6.961 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.145e-06/0.1432, allocations: 0 / 0.6891 GB, free: 6.961 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.503e-05/0.1432, allocations: 11.44 kB / 0.6891 GB, free: 6.949 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1432, allocations: 0 / 0.6891 GB, free: 6.949 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/0.1569, allocations: 0.9537 MB / 0.69 GB, free: 6.188 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.8/6.957, allocations: 2.25 kB / 0.69 GB, free: 6.188 MB / 494.1 MB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)