Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 179.4 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.47/0.47, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.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: 221.3 MB / 348.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008952/0.0008952, allocations: 102.4 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.667e-05/3.673e-05, allocations: 7.984 kB / 0.4897 GB, free: 5.215 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3507, allocations: 72.3 MB / 0.5604 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.4784, allocations: 101.5 MB / 0.6595 GB, free: 2.773 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/0.4788, allocations: 99.91 kB / 0.6596 GB, free: 2.676 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001712/0.4805, allocations: 0.6911 MB / 0.6603 GB, free: 1.992 MB / 474.7 MB Notification: Performance of FrontEnd: time 5.43e-06/0.4805, allocations: 4 kB / 0.6603 GB, free: 1.988 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.4805, allocations: 3.938 kB / 0.6603 GB, free: 1.984 MB / 474.7 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.000308/0.4808, allocations: 326.5 kB / 0.6606 GB, free: 1.621 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.4809, allocations: 15.98 kB / 0.6606 GB, free: 1.605 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.105e-05/0.4809, allocations: 30.56 kB / 0.6606 GB, free: 1.566 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.016e-05/0.481, allocations: 3.953 kB / 0.6606 GB, free: 1.562 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.889e-05/0.4811, allocations: 159.1 kB / 0.6608 GB, free: 1.367 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.4811, allocations: 0 / 0.6608 GB, free: 1.367 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.4811, allocations: 0 / 0.6608 GB, free: 1.367 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.192e-05/0.4812, allocations: 37.69 kB / 0.6608 GB, free: 1.324 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.4812, allocations: 0 / 0.6608 GB, free: 1.324 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.4812, allocations: 3.984 kB / 0.6608 GB, free: 1.32 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4812, allocations: 4.797 kB / 0.6608 GB, free: 1.316 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.767e-05/0.4813, allocations: 3.938 kB / 0.6608 GB, free: 1.312 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002689/0.4815, allocations: 375.5 kB / 0.6612 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.835e-05/0.4816, allocations: 169.1 kB / 0.6614 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.4817, allocations: 80.14 kB / 0.6614 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.4817, allocations: 83.3 kB / 0.6615 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.4817, allocations: 109.8 kB / 0.6616 GB, free: 448 kB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.4817, allocations: 0 / 0.6616 GB, free: 448 kB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 6.483e-05/0.4818, allocations: 33.59 kB / 0.6616 GB, free: 408 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.4819, allocations: 131.6 kB / 0.6618 GB, free: 264 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.796e-05/0.482, allocations: 92.91 kB / 0.6619 GB, free: 164 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.482, allocations: 25.7 kB / 0.6619 GB, free: 132 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.482, allocations: 80.14 kB / 0.662 GB, free: 48 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.482, allocations: 3.938 kB / 0.662 GB, free: 44 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-06/0.482, allocations: 0 / 0.662 GB, free: 44 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4822, allocations: 310.8 kB / 0.6623 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.212e-06/0.4822, allocations: 128 / 0.6623 GB, free: 15.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.599e-06/0.4822, allocations: 8 kB / 0.6623 GB, free: 15.72 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.226e-05/0.4822, allocations: 4 kB / 0.6623 GB, free: 15.72 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4822, allocations: 0.6562 kB / 0.6623 GB, free: 15.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.481e-05/0.4823, allocations: 37.62 kB / 0.6623 GB, free: 15.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.4823, allocations: 8 kB / 0.6623 GB, free: 15.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.4823, allocations: 0 / 0.6623 GB, free: 15.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.4823, allocations: 3.953 kB / 0.6623 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.255e-05/0.4824, allocations: 0 / 0.6623 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4824, allocations: 0 / 0.6623 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.071e-05/0.4824, allocations: 10.62 kB / 0.6623 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.4824, allocations: 4 kB / 0.6623 GB, free: 15.65 MB / 490.7 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 () * 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 8.731e-05/0.4825, allocations: 176.3 kB / 0.6625 GB, free: 15.47 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.753e-05/0.4826, allocations: 101 kB / 0.6626 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.556e-05/0.4826, allocations: 112 kB / 0.6627 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.491e-05/0.4827, allocations: 184.3 kB / 0.6629 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-05/0.4828, allocations: 188.2 kB / 0.6631 GB, free: 14.87 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.99e-05/0.4828, allocations: 176.3 kB / 0.6632 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.483, allocations: 401.2 kB / 0.6636 GB, free: 14.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.27e-05/0.4831, allocations: 104.9 kB / 0.6637 GB, free: 14.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.4831, allocations: 101.5 kB / 0.6638 GB, free: 14.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.291e-05/0.4832, allocations: 188.2 kB / 0.664 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.336e-05/0.4833, allocations: 188.2 kB / 0.6642 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-05/0.4834, allocations: 176.3 kB / 0.6643 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.859e-05/0.4834, allocations: 180.2 kB / 0.6645 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.4836, allocations: 311.7 kB / 0.6648 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.358e-05/0.4837, allocations: 182.1 kB / 0.665 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.105e-05/0.4838, allocations: 180.2 kB / 0.6651 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.41e-05/0.4838, allocations: 105 kB / 0.6652 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.335e-05/0.4839, allocations: 176.3 kB / 0.6654 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.004e-05/0.484, allocations: 109.8 kB / 0.6655 GB, free: 12.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.793e-05/0.484, allocations: 87.17 kB / 0.6656 GB, free: 12.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.484, allocations: 4 kB / 0.6656 GB, free: 12.07 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002125/0.4842, allocations: 3.984 kB / 0.6656 GB, free: 12.07 MB / 490.7 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 () * 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.000444/0.4847, allocations: 0.801 MB / 0.6664 GB, free: 11.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 4.4e-05/0.4847, allocations: 8.031 kB / 0.6664 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.4847, allocations: 0 / 0.6664 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.532e-06/0.4847, allocations: 0.8438 kB / 0.6664 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.4851, allocations: 0.5224 MB / 0.6669 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.4854, allocations: 150.9 kB / 0.6671 GB, free: 10.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.4857, allocations: 0.6732 MB / 0.6677 GB, free: 9.824 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.147e-05/0.4857, allocations: 3.984 kB / 0.6677 GB, free: 9.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.4857, allocations: 7.438 kB / 0.6677 GB, free: 9.812 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4857, allocations: 0 / 0.6677 GB, free: 9.812 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01198/0.4977, allocations: 0.7686 MB / 0.6685 GB, free: 9.277 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.4979, allocations: 220.8 kB / 0.6687 GB, free: 9.051 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.413/1.911, allocations: 4 kB / 0.6687 GB, free: 9.047 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)