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.001015/0.001015, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001058/0.001058, allocations: 192.8 kB / 16.14 MB, free: 6.668 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.231/1.231, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002009/0.002009, allocations: 274.2 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8815/0.8815, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 92.95 kB / 0.5946 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1355, allocations: 86.98 MB / 0.6796 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001523/0.137, allocations: 0.5916 MB / 0.6802 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008222/0.1378, allocations: 0.785 MB / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.747e-06/0.1379, allocations: 0 / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.421e-05/0.1379, allocations: 1.625 kB / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.228e-06/0.1379, allocations: 0 / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.1381, allocations: 23.91 kB / 0.681 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.576e-05/0.1381, allocations: 4 kB / 0.681 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.262e-05/0.1382, allocations: 3.031 kB / 0.681 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.237e-05/0.1382, allocations: 0 / 0.681 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.1383, allocations: 15.98 kB / 0.681 GB, free: 15.65 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.262e-06/0.1383, allocations: 0 / 0.681 GB, free: 15.65 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.125e-06/0.1383, allocations: 0 / 0.681 GB, free: 15.65 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.033e-06/0.1383, allocations: 0.7812 kB / 0.681 GB, free: 15.65 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.1384, allocations: 7.984 kB / 0.681 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.725e-05/0.1384, allocations: 1.719 kB / 0.681 GB, free: 15.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1384, allocations: 3.938 kB / 0.681 GB, free: 15.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1384, allocations: 0 / 0.681 GB, free: 15.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.1384, allocations: 0 / 0.681 GB, free: 15.64 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.0002267/0.1386, allocations: 316.5 kB / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1387, allocations: 8.031 kB / 0.6813 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.468e-05/0.1387, allocations: 35.38 kB / 0.6813 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.803e-05/0.1388, allocations: 1.469 kB / 0.6813 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.247e-05/0.1388, allocations: 160.4 kB / 0.6815 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-06/0.1388, allocations: 1.375 kB / 0.6815 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.1389, allocations: 4.375 kB / 0.6815 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.843e-05/0.1389, allocations: 35.2 kB / 0.6815 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1389, allocations: 3.938 kB / 0.6815 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-06/0.139, allocations: 4 kB / 0.6815 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.139, allocations: 0 / 0.6815 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.544e-05/0.139, allocations: 4 kB / 0.6815 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.1392, allocations: 375.5 kB / 0.6819 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.148e-05/0.1393, allocations: 169.1 kB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.089e-05/0.1393, allocations: 92.11 kB / 0.6821 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.1394, allocations: 79.28 kB / 0.6822 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.1394, allocations: 105.8 kB / 0.6823 GB, free: 14.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.1394, allocations: 0 / 0.6823 GB, free: 14.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.869e-05/0.1395, allocations: 25.7 kB / 0.6823 GB, free: 14.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.1396, allocations: 130.7 kB / 0.6825 GB, free: 13.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.745e-05/0.1396, allocations: 98.14 kB / 0.6826 GB, free: 13.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1397, allocations: 25.7 kB / 0.6826 GB, free: 13.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.1397, allocations: 84.08 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.1397, allocations: 0 / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.1397, allocations: 17.72 kB / 0.6827 GB, free: 13.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.834e-05/0.1398, allocations: 310.8 kB / 0.683 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.155e-06/0.1398, allocations: 0 / 0.683 GB, free: 13.37 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-06/0.1398, allocations: 3.938 kB / 0.683 GB, free: 13.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.161e-05/0.1399, allocations: 13.05 kB / 0.683 GB, free: 13.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1399, allocations: 3.938 kB / 0.683 GB, free: 13.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.012e-05/0.14, allocations: 33.69 kB / 0.683 GB, free: 13.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.14, allocations: 4 kB / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.14, allocations: 0 / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.14, allocations: 3.938 kB / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.785e-05/0.14, allocations: 4 kB / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.14, allocations: 0 / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.877e-06/0.1401, allocations: 0 / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.1401, allocations: 8.016 kB / 0.6831 GB, free: 13.29 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.564e-05/0.1401, allocations: 197.7 kB / 0.6832 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.686e-05/0.1402, allocations: 105 kB / 0.6833 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.613e-05/0.1403, allocations: 104.1 kB / 0.6834 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-05/0.1403, allocations: 180.2 kB / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.694e-05/0.1404, allocations: 180.3 kB / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.103e-05/0.1404, allocations: 192.2 kB / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.1406, allocations: 401.2 kB / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.97e-05/0.1407, allocations: 101.5 kB / 0.6844 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.23e-05/0.1407, allocations: 113 kB / 0.6846 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.266e-05/0.1408, allocations: 176.3 kB / 0.6847 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.244e-05/0.1408, allocations: 192.2 kB / 0.6849 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-05/0.1409, allocations: 184.4 kB / 0.6851 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.296e-05/0.141, allocations: 180.3 kB / 0.6853 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.1411, allocations: 315.6 kB / 0.6856 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.1412, allocations: 186 kB / 0.6857 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.625e-05/0.1413, allocations: 180.3 kB / 0.6859 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.24e-05/0.1414, allocations: 101 kB / 0.686 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.949e-05/0.1414, allocations: 184.2 kB / 0.6862 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.1415, allocations: 101 kB / 0.6863 GB, free: 9.766 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.405e-05/0.1415, allocations: 79.27 kB / 0.6863 GB, free: 9.688 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1415, allocations: 0 / 0.6863 GB, free: 9.688 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001979/0.1417, allocations: 4.094 kB / 0.6864 GB, free: 9.684 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.0003318/0.1421, allocations: 0.8126 MB / 0.6871 GB, free: 8.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.684e-05/0.1421, allocations: 7.984 kB / 0.6872 GB, free: 8.832 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.1421, allocations: 4.062 kB / 0.6872 GB, free: 8.828 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.1421, allocations: 0 / 0.6872 GB, free: 8.828 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.1425, allocations: 0.5207 MB / 0.6877 GB, free: 8.305 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.1427, allocations: 175.6 kB / 0.6878 GB, free: 8.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.143, allocations: 0.6692 MB / 0.6885 GB, free: 7.395 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.227e-05/0.143, allocations: 0 / 0.6885 GB, free: 7.395 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.733e-05/0.143, allocations: 15.44 kB / 0.6885 GB, free: 7.383 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.143, allocations: 0 / 0.6885 GB, free: 7.383 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01324/0.1563, allocations: 0.8399 MB / 0.6893 GB, free: 6.758 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/0.1565, allocations: 291.3 kB / 0.6896 GB, free: 6.379 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/1.693, allocations: 2.75 kB / 0.6896 GB, free: 6.379 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 & /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)