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.001137/0.001137, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001145/0.001145, allocations: 193 kB / 16.25 MB, free: 6.617 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.193/1.193, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.8628/0.8628, allocations: 143 MB / 433.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 63.91 kB / 0.5138 GB, free: 11.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1383, allocations: 82.04 MB / 0.594 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001599/0.14, allocations: 0.5951 MB / 0.5945 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008175/0.1408, allocations: 0.7845 MB / 0.5953 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.413e-05/0.1408, allocations: 3.938 kB / 0.5953 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.517e-05/0.1409, allocations: 0 / 0.5953 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.741e-06/0.1409, allocations: 0 / 0.5953 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.1411, allocations: 15.98 kB / 0.5953 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.725e-05/0.1412, allocations: 0 / 0.5953 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.1412, allocations: 0 / 0.5953 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.548e-05/0.1413, allocations: 0 / 0.5953 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.1414, allocations: 23.97 kB / 0.5953 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.1414, allocations: 3.938 kB / 0.5953 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.529e-06/0.1414, allocations: 3.938 kB / 0.5954 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.1415, allocations: 4 kB / 0.5954 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.639e-05/0.1415, allocations: 0 / 0.5954 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 3.407e-05/0.1415, allocations: 0 / 0.5954 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1415, allocations: 0 / 0.5954 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1415, allocations: 0 / 0.5954 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.1415, allocations: 0 / 0.5954 GB, free: 8.375 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.0002832/0.1418, allocations: 319.6 kB / 0.5957 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1419, allocations: 8.031 kB / 0.5957 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.048e-05/0.1419, allocations: 30.75 kB / 0.5957 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.075e-05/0.1419, allocations: 0.9375 kB / 0.5957 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1421, allocations: 160.4 kB / 0.5959 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1421, allocations: 4.375 kB / 0.5959 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-06/0.1421, allocations: 4.312 kB / 0.5959 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.1422, allocations: 26.27 kB / 0.5959 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1422, allocations: 3.938 kB / 0.5959 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1422, allocations: 7.984 kB / 0.5959 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1422, allocations: 0 / 0.5959 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.083e-05/0.1423, allocations: 7.938 kB / 0.5959 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.1426, allocations: 375.5 kB / 0.5963 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.1427, allocations: 173.1 kB / 0.5964 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.393e-05/0.1427, allocations: 84.14 kB / 0.5965 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.1428, allocations: 75.28 kB / 0.5966 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.1428, allocations: 113.8 kB / 0.5967 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.1428, allocations: 0 / 0.5967 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.454e-05/0.1429, allocations: 33.69 kB / 0.5967 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.143, allocations: 126.7 kB / 0.5968 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.735e-05/0.1431, allocations: 97.86 kB / 0.5969 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.1431, allocations: 25.7 kB / 0.597 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/0.1431, allocations: 84.05 kB / 0.597 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.1431, allocations: 0 / 0.597 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.1431, allocations: 17.72 kB / 0.5971 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1433, allocations: 310.8 kB / 0.5974 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.941e-06/0.1433, allocations: 0 / 0.5974 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.647e-06/0.1433, allocations: 0 / 0.5974 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.321e-05/0.1433, allocations: 20.97 kB / 0.5974 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.1433, allocations: 3.938 kB / 0.5974 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.981e-05/0.1434, allocations: 29.7 kB / 0.5974 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1434, allocations: 4 kB / 0.5974 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1434, allocations: 0 / 0.5974 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1434, allocations: 4 kB / 0.5974 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.705e-05/0.1435, allocations: 3.938 kB / 0.5974 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1435, allocations: 0 / 0.5974 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.097e-06/0.1435, allocations: 0 / 0.5974 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.1435, allocations: 4.031 kB / 0.5974 GB, free: 6.02 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 0.0001034/0.1436, allocations: 193.1 kB / 0.5976 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.737e-05/0.1437, allocations: 108.9 kB / 0.5977 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/0.1438, allocations: 104.1 kB / 0.5978 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.869e-05/0.1438, allocations: 180.3 kB / 0.598 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.126e-05/0.1439, allocations: 188.1 kB / 0.5982 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.998e-05/0.144, allocations: 180.3 kB / 0.5983 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.1442, allocations: 409.1 kB / 0.5987 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.716e-05/0.1443, allocations: 105 kB / 0.5988 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.677e-05/0.1443, allocations: 104.9 kB / 0.5989 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-05/0.1444, allocations: 184.3 kB / 0.5991 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.422e-05/0.1445, allocations: 184.2 kB / 0.5993 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.281e-05/0.1445, allocations: 188.2 kB / 0.5995 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.84e-05/0.1446, allocations: 176.3 kB / 0.5996 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.1447, allocations: 311.7 kB / 0.5999 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.028e-05/0.1448, allocations: 182.1 kB / 0.6001 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.717e-05/0.1449, allocations: 180.2 kB / 0.6003 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.318e-05/0.1449, allocations: 105 kB / 0.6004 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.145, allocations: 180.2 kB / 0.6005 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.145, allocations: 105 kB / 0.6006 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.271e-05/0.1451, allocations: 75.28 kB / 0.6007 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1451, allocations: 4.094 kB / 0.6007 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001943/0.1453, allocations: 4 kB / 0.6007 GB, free: 2.422 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.0003495/0.1456, allocations: 0.8126 MB / 0.6015 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.823e-05/0.1457, allocations: 0 / 0.6015 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1457, allocations: 4.062 kB / 0.6015 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.1457, allocations: 4 kB / 0.6015 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.146, allocations: 459.2 kB / 0.602 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.1463, allocations: 173.9 kB / 0.6021 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.1466, allocations: 0.669 MB / 0.6028 GB, free: 220 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.399e-05/0.1466, allocations: 7.984 kB / 0.6028 GB, free: 212 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.795e-05/0.1466, allocations: 15.38 kB / 0.6028 GB, free: 196 kB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1466, allocations: 0 / 0.6028 GB, free: 196 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.176/1.322, allocations: 0.8628 MB / 0.6036 GB, free: 44.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/1.323, allocations: 282.3 kB / 0.6039 GB, free: 44.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/3.695, allocations: 1.016 kB / 0.6039 GB, free: 44.05 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)