Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_8_Buildings_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.001164/0.001164, allocations: 91.53 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.4 MB / 222.1 MB, free: 5.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.777/1.777, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.0004941, allocations: 15.66 kB / 0.6739 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2399, allocations: 116.3 MB / 0.7874 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0007442/0.2407, allocations: 282.1 kB / 0.7877 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000982/0.2417, allocations: 0.769 MB / 0.7885 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.161e-05/0.2418, allocations: 0 / 0.7885 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.175e-05/0.2418, allocations: 0 / 0.7885 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.741e-06/0.2418, allocations: 0 / 0.7885 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.242, allocations: 19.91 kB / 0.7885 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.288e-05/0.2421, allocations: 4 kB / 0.7885 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.2421, allocations: 4 kB / 0.7885 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.381e-05/0.2421, allocations: 0 / 0.7885 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.2423, allocations: 19.98 kB / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.2423, allocations: 0 / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.306e-06/0.2423, allocations: 3.938 kB / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.2423, allocations: 3.984 kB / 0.7885 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.094e-05/0.2424, allocations: 25.7 kB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 2.372e-05/0.2424, allocations: 4 kB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2424, allocations: 0 / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2424, allocations: 4 kB / 0.7885 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2424, allocations: 0 / 0.7885 GB, free: 10.65 MB / 0.6075 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.0002517/0.2427, allocations: 303.4 kB / 0.7888 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.2427, allocations: 12.09 kB / 0.7888 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.663e-05/0.2428, allocations: 30.56 kB / 0.7889 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.127e-05/0.2428, allocations: 4 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.2429, allocations: 167 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.2429, allocations: 0 / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.2429, allocations: 0 / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.243, allocations: 41.62 kB / 0.7891 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.2431, allocations: 0 / 0.7891 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-06/0.2431, allocations: 0 / 0.7891 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2431, allocations: 0 / 0.7891 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.704e-05/0.2431, allocations: 0 / 0.7891 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.2434, allocations: 383.5 kB / 0.7894 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.882e-05/0.2435, allocations: 173.1 kB / 0.7896 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.584e-05/0.2436, allocations: 80.14 kB / 0.7897 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.336e-05/0.2436, allocations: 75.28 kB / 0.7898 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.2437, allocations: 109.8 kB / 0.7899 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.2437, allocations: 0 / 0.7899 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.031e-05/0.2437, allocations: 29.73 kB / 0.7899 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.2438, allocations: 134.7 kB / 0.79 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.216e-05/0.2439, allocations: 93.84 kB / 0.7901 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.2439, allocations: 25.7 kB / 0.7901 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.244, allocations: 87.98 kB / 0.7902 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.244, allocations: 4 kB / 0.7902 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-06/0.244, allocations: 0 / 0.7902 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2441, allocations: 314.8 kB / 0.7905 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-06/0.2441, allocations: 0 / 0.7905 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.148e-06/0.2441, allocations: 4.125 kB / 0.7905 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.071e-05/0.2441, allocations: 4 kB / 0.7905 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2441, allocations: 3.938 kB / 0.7905 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.755e-05/0.2443, allocations: 37.7 kB / 0.7906 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2443, allocations: 6.969 kB / 0.7906 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2443, allocations: 0 / 0.7906 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.2443, allocations: 0 / 0.7906 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.755e-05/0.2444, allocations: 7.984 kB / 0.7906 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2444, allocations: 0 / 0.7906 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.366e-05/0.2444, allocations: 4.375 kB / 0.7906 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.2444, allocations: 3.984 kB / 0.7906 GB, free: 8.328 MB / 0.6075 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 9.629e-05/0.2445, allocations: 193.7 kB / 0.7908 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.791e-05/0.2446, allocations: 101 kB / 0.7909 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.979e-05/0.2446, allocations: 104.1 kB / 0.791 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.531e-05/0.2447, allocations: 184.2 kB / 0.7911 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.369e-05/0.2448, allocations: 189.3 kB / 0.7913 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.689e-05/0.2448, allocations: 180.2 kB / 0.7915 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.2451, allocations: 397.2 kB / 0.7919 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-05/0.2451, allocations: 105 kB / 0.792 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.78e-05/0.2452, allocations: 112.9 kB / 0.7921 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.866e-05/0.2453, allocations: 176.3 kB / 0.7923 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.69e-05/0.2453, allocations: 184.2 kB / 0.7924 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.634e-05/0.2454, allocations: 180.3 kB / 0.7926 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.208e-05/0.2455, allocations: 180.3 kB / 0.7928 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.2456, allocations: 316 kB / 0.7931 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.751e-05/0.2457, allocations: 186 kB / 0.7932 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.978e-05/0.2458, allocations: 176.3 kB / 0.7934 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-05/0.2459, allocations: 105 kB / 0.7935 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/0.246, allocations: 188.2 kB / 0.7937 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/0.246, allocations: 101 kB / 0.7938 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.284e-05/0.2461, allocations: 79.28 kB / 0.7939 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2461, allocations: 3.938 kB / 0.7939 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000243/0.2463, allocations: 0 / 0.7939 GB, free: 4.734 MB / 0.6075 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.0004126/0.2467, allocations: 0.8203 MB / 0.7947 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.4e-05/0.2468, allocations: 4.094 kB / 0.7947 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2468, allocations: 0 / 0.7947 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.2468, allocations: 0 / 0.7947 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.2472, allocations: 0.5185 MB / 0.7952 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.2475, allocations: 187.6 kB / 0.7954 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.2478, allocations: 0.6732 MB / 0.796 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.068e-05/0.2478, allocations: 0 / 0.796 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.839e-05/0.2478, allocations: 7.438 kB / 0.796 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2478, allocations: 0 / 0.796 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009954/0.2578, allocations: 0.768 MB / 0.7968 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/0.258, allocations: 257.7 kB / 0.797 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/1.949, allocations: 2.75 kB / 0.797 GB, free: 1.543 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) Environment - environmentSimulation: