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.004985/0.004985, allocations: 100.6 kB / 15.73 MB, free: 6.453 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.001125/0.001125, allocations: 184.8 kB / 16.67 MB, free: 6.367 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002158/0.002158, allocations: 278.8 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9167/0.9167, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 100.3 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1453, allocations: 86.98 MB / 0.7659 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001615/0.147, allocations: 0.5285 MB / 0.7665 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008614/0.1478, allocations: 0.7766 MB / 0.7672 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.554e-05/0.1479, allocations: 7.938 kB / 0.7672 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.151e-05/0.1479, allocations: 0 / 0.7672 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.032e-06/0.1479, allocations: 0 / 0.7672 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.1482, allocations: 19.92 kB / 0.7672 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.488e-05/0.1482, allocations: 3.938 kB / 0.7672 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.1483, allocations: 0 / 0.7672 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.658e-05/0.1483, allocations: 7.984 kB / 0.7673 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1484, allocations: 23.98 kB / 0.7673 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.464e-06/0.1484, allocations: 0 / 0.7673 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.126e-06/0.1484, allocations: 0 / 0.7673 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.486e-06/0.1485, allocations: 0 / 0.7673 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.1485, allocations: 0 / 0.7673 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 3.487e-05/0.1485, allocations: 0 / 0.7673 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1485, allocations: 0 / 0.7673 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1485, allocations: 0 / 0.7673 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.1485, allocations: 0 / 0.7673 GB, free: 7.535 MB / 0.5606 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.0002328/0.1488, allocations: 311.6 kB / 0.7676 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1488, allocations: 12.03 kB / 0.7676 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.498e-05/0.1489, allocations: 34.69 kB / 0.7676 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.845e-05/0.1489, allocations: 4.938 kB / 0.7676 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.68e-05/0.149, allocations: 160.4 kB / 0.7678 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.149, allocations: 384 / 0.7678 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-06/0.149, allocations: 4.312 kB / 0.7678 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.8e-05/0.1491, allocations: 34.25 kB / 0.7678 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.1491, allocations: 7.922 kB / 0.7678 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.1491, allocations: 4 kB / 0.7678 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1491, allocations: 0 / 0.7678 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.55e-05/0.1491, allocations: 4 kB / 0.7678 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.1494, allocations: 379.8 kB / 0.7682 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.644e-05/0.1494, allocations: 169.1 kB / 0.7684 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.987e-05/0.1495, allocations: 80.14 kB / 0.7684 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.1495, allocations: 79.28 kB / 0.7685 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.1496, allocations: 109.8 kB / 0.7686 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.1496, allocations: 0 / 0.7686 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.744e-05/0.1496, allocations: 33.64 kB / 0.7686 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.1497, allocations: 126.7 kB / 0.7688 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.863e-05/0.1498, allocations: 97.77 kB / 0.7689 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.1498, allocations: 25.7 kB / 0.7689 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/0.1498, allocations: 92.19 kB / 0.769 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-06/0.1498, allocations: 0 / 0.769 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.1499, allocations: 13.72 kB / 0.769 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.15, allocations: 314.8 kB / 0.7693 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-06/0.15, allocations: 4 kB / 0.7693 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.341e-06/0.15, allocations: 4 kB / 0.7693 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.191e-05/0.15, allocations: 8.859 kB / 0.7693 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.15, allocations: 8 kB / 0.7693 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.116e-05/0.1501, allocations: 37.58 kB / 0.7693 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1501, allocations: 8 kB / 0.7693 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1501, allocations: 0 / 0.7693 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1502, allocations: 0 / 0.7693 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.404e-05/0.1502, allocations: 0 / 0.7693 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1502, allocations: 0 / 0.7693 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.278e-05/0.1502, allocations: 4 kB / 0.7694 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.1502, allocations: 0 / 0.7694 GB, free: 5.168 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.746e-05/0.1503, allocations: 193.7 kB / 0.7695 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.1504, allocations: 101 kB / 0.7696 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.1504, allocations: 116 kB / 0.7697 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.916e-05/0.1505, allocations: 180.3 kB / 0.7699 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.744e-05/0.1505, allocations: 184.7 kB / 0.7701 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.964e-05/0.1506, allocations: 180.2 kB / 0.7703 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.1508, allocations: 405.2 kB / 0.7706 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-05/0.1508, allocations: 108.9 kB / 0.7708 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.918e-05/0.1508, allocations: 105 kB / 0.7709 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.815e-05/0.1509, allocations: 180.4 kB / 0.771 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/0.151, allocations: 184.3 kB / 0.7712 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.624e-05/0.151, allocations: 180.3 kB / 0.7714 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-05/0.1511, allocations: 180.2 kB / 0.7715 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.1512, allocations: 311.7 kB / 0.7718 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.1512, allocations: 178.1 kB / 0.772 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.465e-05/0.1513, allocations: 180.3 kB / 0.7722 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.266e-05/0.1514, allocations: 108.9 kB / 0.7723 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.1514, allocations: 184.2 kB / 0.7725 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.1514, allocations: 104.9 kB / 0.7726 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.991e-05/0.1515, allocations: 83.28 kB / 0.7726 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1515, allocations: 0 / 0.7726 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002015/0.1517, allocations: 0 / 0.7726 GB, free: 1.574 MB / 0.5606 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 (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.0003286/0.152, allocations: 0.8127 MB / 0.7734 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.997e-05/0.1521, allocations: 7.938 kB / 0.7734 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1521, allocations: 0 / 0.7734 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.994e-06/0.1521, allocations: 0 / 0.7734 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.1525, allocations: 459.7 kB / 0.7739 GB, free: 280 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.1528, allocations: 182 kB / 0.7741 GB, free: 56 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2961/0.449, allocations: 0.6729 MB / 0.7747 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.772e-05/0.449, allocations: 0 / 0.7747 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.276e-05/0.4491, allocations: 8.297 kB / 0.7747 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.4491, allocations: 2.5 kB / 0.7747 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.4647, allocations: 0.9767 MB / 0.7757 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.266/7.731, allocations: 8.031 kB / 0.7757 GB, free: 14.41 MB / 0.5606 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/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)