Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, 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.001019/0.001019, allocations: 198.5 kB / 16.14 MB, free: 6.656 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.213/1.213, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8567/0.8567, allocations: 143 MB / 433 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 59.89 kB / 0.5137 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1363, allocations: 82.03 MB / 0.5938 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001488/0.1378, allocations: 0.6068 MB / 0.5944 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007417/0.1386, allocations: 0.7845 MB / 0.5951 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.745e-06/0.1386, allocations: 0 / 0.5951 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.163e-05/0.1386, allocations: 0 / 0.5951 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.686e-06/0.1386, allocations: 0 / 0.5951 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.1388, allocations: 15.97 kB / 0.5951 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 2.873e-05/0.1389, allocations: 4 kB / 0.5951 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.1389, allocations: 0 / 0.5951 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.068e-05/0.1389, allocations: 7.875 kB / 0.5952 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.139, allocations: 23.98 kB / 0.5952 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.295e-06/0.1391, allocations: 3.984 kB / 0.5952 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.105e-06/0.1391, allocations: 0 / 0.5952 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.654e-06/0.1391, allocations: 0 / 0.5952 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.427e-05/0.1391, allocations: 0 / 0.5952 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 2.543e-05/0.1391, allocations: 0 / 0.5952 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1391, allocations: 4 kB / 0.5952 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.01e-07/0.1391, allocations: 4 kB / 0.5952 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.726e-06/0.1391, allocations: 0 / 0.5952 GB, free: 8.488 MB / 0.4981 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.0002298/0.1394, allocations: 303.6 kB / 0.5955 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1394, allocations: 12.09 kB / 0.5955 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.546e-05/0.1394, allocations: 34.73 kB / 0.5955 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.4e-05/0.1395, allocations: 0.9375 kB / 0.5955 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.933e-05/0.1395, allocations: 160.4 kB / 0.5957 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.641e-06/0.1396, allocations: 384 / 0.5957 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-06/0.1396, allocations: 384 / 0.5957 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.975e-05/0.1396, allocations: 38.27 kB / 0.5957 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.1397, allocations: 3.938 kB / 0.5957 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.929e-06/0.1397, allocations: 0 / 0.5957 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1397, allocations: 3.938 kB / 0.5957 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.429e-05/0.1397, allocations: 3.938 kB / 0.5957 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.1399, allocations: 379.5 kB / 0.5961 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.229e-05/0.14, allocations: 177 kB / 0.5963 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.14, allocations: 80.14 kB / 0.5963 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1401, allocations: 75.28 kB / 0.5964 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.1401, allocations: 113.8 kB / 0.5965 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.1401, allocations: 0 / 0.5965 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 5.448e-05/0.1402, allocations: 25.7 kB / 0.5965 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.1402, allocations: 130.7 kB / 0.5967 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.789e-05/0.1403, allocations: 97.84 kB / 0.5968 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.1403, allocations: 29.7 kB / 0.5968 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.1403, allocations: 84.06 kB / 0.5969 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/0.1404, allocations: 4 kB / 0.5969 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.1404, allocations: 9.719 kB / 0.5969 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.315e-05/0.1405, allocations: 310.8 kB / 0.5972 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.011e-06/0.1405, allocations: 4.125 kB / 0.5972 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.787e-06/0.1405, allocations: 4 kB / 0.5972 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.005e-05/0.1405, allocations: 12.8 kB / 0.5972 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1405, allocations: 3.938 kB / 0.5972 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.816e-05/0.1406, allocations: 37.69 kB / 0.5972 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.1406, allocations: 6.344 kB / 0.5972 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.1406, allocations: 0 / 0.5972 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/0.1406, allocations: 0 / 0.5972 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.833e-05/0.1407, allocations: 4 kB / 0.5972 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1407, allocations: 4.094 kB / 0.5972 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.788e-06/0.1407, allocations: 3.984 kB / 0.5973 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-06/0.1407, allocations: 0 / 0.5973 GB, free: 6.137 MB / 0.4981 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.234e-05/0.1408, allocations: 185.1 kB / 0.5974 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.1408, allocations: 108.9 kB / 0.5975 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.971e-05/0.1409, allocations: 112.1 kB / 0.5976 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-05/0.1409, allocations: 180.2 kB / 0.5978 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-05/0.141, allocations: 180.3 kB / 0.598 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.374e-05/0.141, allocations: 180.3 kB / 0.5982 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.1412, allocations: 405.1 kB / 0.5985 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.363e-05/0.1413, allocations: 105 kB / 0.5986 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.934e-05/0.1413, allocations: 108.9 kB / 0.5987 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.223e-05/0.1414, allocations: 188.3 kB / 0.5989 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-05/0.1414, allocations: 176.3 kB / 0.5991 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.572e-05/0.1415, allocations: 188.1 kB / 0.5993 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.054e-05/0.1415, allocations: 176.3 kB / 0.5994 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.1416, allocations: 311.7 kB / 0.5997 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.085e-05/0.1417, allocations: 190 kB / 0.5999 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.917e-05/0.1418, allocations: 180.2 kB / 0.6001 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.962e-05/0.1418, allocations: 101 kB / 0.6002 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.1419, allocations: 184.2 kB / 0.6004 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.1419, allocations: 105 kB / 0.6005 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.526e-05/0.142, allocations: 79.28 kB / 0.6005 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.142, allocations: 0 / 0.6005 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001929/0.1422, allocations: 0 / 0.6005 GB, free: 2.547 MB / 0.4981 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.0003191/0.1425, allocations: 0.8126 MB / 0.6013 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4e-05/0.1425, allocations: 8.094 kB / 0.6013 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.1425, allocations: 0 / 0.6013 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.1425, allocations: 0 / 0.6013 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.1429, allocations: 0.5257 MB / 0.6019 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002539/0.1431, allocations: 182.7 kB / 0.602 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.1433, allocations: 0.6692 MB / 0.6027 GB, free: 260 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.485e-06/0.1433, allocations: 0 / 0.6027 GB, free: 260 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.313e-05/0.1434, allocations: 7.438 kB / 0.6027 GB, free: 252 kB / 0.4981 GB Notification: Performance of SimCode: time 7.554e-06/0.1434, allocations: 0 / 0.6027 GB, free: 252 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2239/0.3673, allocations: 0.8316 MB / 0.6035 GB, free: 44.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.3675, allocations: 284.4 kB / 0.6038 GB, free: 43.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.443/1.81, allocations: 0 / 0.6038 GB, free: 43.91 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)