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.001131/0.001131, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 193.3 kB / 16.53 MB, free: 6.664 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.9506/0.9506, allocations: 143 MB / 433.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 64.05 kB / 0.5143 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1379, allocations: 82.05 MB / 0.5944 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.00171/0.1397, allocations: 0.5406 MB / 0.595 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008586/0.1406, allocations: 0.7805 MB / 0.5957 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.608e-05/0.1406, allocations: 0 / 0.5957 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.015e-05/0.1406, allocations: 0 / 0.5957 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.987e-06/0.1406, allocations: 0 / 0.5957 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.1409, allocations: 19.91 kB / 0.5957 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.66e-05/0.1409, allocations: 7.938 kB / 0.5958 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.141, allocations: 0 / 0.5958 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.209e-05/0.141, allocations: 4 kB / 0.5958 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.1411, allocations: 19.98 kB / 0.5958 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.923e-06/0.1411, allocations: 0 / 0.5958 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.256e-06/0.1411, allocations: 0 / 0.5958 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.275e-06/0.1412, allocations: 0 / 0.5958 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.593e-05/0.1412, allocations: 7.984 kB / 0.5958 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 2.991e-05/0.1412, allocations: 0 / 0.5958 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1412, allocations: 4 kB / 0.5958 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1412, allocations: 0 / 0.5958 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.1412, allocations: 0 / 0.5958 GB, free: 8.062 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.0002466/0.1415, allocations: 315.5 kB / 0.5961 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1415, allocations: 8.031 kB / 0.5961 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.739e-05/0.1416, allocations: 30.75 kB / 0.5961 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.949e-05/0.1416, allocations: 4.938 kB / 0.5961 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.671e-05/0.1417, allocations: 160.4 kB / 0.5963 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1417, allocations: 384 / 0.5963 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.1417, allocations: 8.359 kB / 0.5963 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.348e-05/0.1418, allocations: 34.27 kB / 0.5963 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1418, allocations: 3.938 kB / 0.5963 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-06/0.1418, allocations: 0 / 0.5963 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.1418, allocations: 0 / 0.5963 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.701e-05/0.1418, allocations: 7.938 kB / 0.5963 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002484/0.1421, allocations: 375.5 kB / 0.5967 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.241e-05/0.1422, allocations: 185 kB / 0.5969 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.1422, allocations: 80.14 kB / 0.5969 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1422, allocations: 75.28 kB / 0.597 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.1423, allocations: 105.8 kB / 0.5971 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.1423, allocations: 0 / 0.5971 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.95e-05/0.1424, allocations: 29.64 kB / 0.5971 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.1424, allocations: 130.7 kB / 0.5973 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.809e-05/0.1425, allocations: 97.86 kB / 0.5974 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.1425, allocations: 25.7 kB / 0.5974 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.708e-05/0.1425, allocations: 84.05 kB / 0.5975 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.1426, allocations: 0 / 0.5975 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.1426, allocations: 17.7 kB / 0.5975 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.651e-05/0.1427, allocations: 311 kB / 0.5978 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.404e-06/0.1427, allocations: 4 kB / 0.5978 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-06/0.1427, allocations: 0 / 0.5978 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.471e-05/0.1427, allocations: 12.86 kB / 0.5978 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1427, allocations: 3.938 kB / 0.5978 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.216e-05/0.1428, allocations: 33.64 kB / 0.5978 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1428, allocations: 4 kB / 0.5978 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1429, allocations: 0 / 0.5978 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1429, allocations: 4 kB / 0.5978 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.502e-05/0.1429, allocations: 4.094 kB / 0.5978 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.1429, allocations: 3.984 kB / 0.5979 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.066e-05/0.143, allocations: 0 / 0.5979 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.143, allocations: 0 / 0.5979 GB, free: 5.707 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.567e-05/0.143, allocations: 189.1 kB / 0.598 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.1431, allocations: 104.9 kB / 0.5981 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.087e-05/0.1431, allocations: 108.1 kB / 0.5982 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.764e-05/0.1432, allocations: 180.3 kB / 0.5984 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-05/0.1433, allocations: 192.2 kB / 0.5986 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.981e-05/0.1433, allocations: 176.3 kB / 0.5988 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.1435, allocations: 401.1 kB / 0.5991 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.817e-05/0.1436, allocations: 113 kB / 0.5992 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.257e-05/0.1436, allocations: 105 kB / 0.5993 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.195e-05/0.1437, allocations: 188.1 kB / 0.5995 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.903e-05/0.1437, allocations: 176.3 kB / 0.5997 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.479e-05/0.1438, allocations: 184.2 kB / 0.5999 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-05/0.1438, allocations: 176.3 kB / 0.6 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.144, allocations: 319.7 kB / 0.6003 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.615e-05/0.144, allocations: 178.1 kB / 0.6005 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.854e-05/0.1441, allocations: 180.2 kB / 0.6007 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.495e-05/0.1442, allocations: 105 kB / 0.6008 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.1442, allocations: 192.2 kB / 0.601 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.1443, allocations: 108.9 kB / 0.6011 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.903e-05/0.1443, allocations: 75.28 kB / 0.6011 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1443, allocations: 0 / 0.6011 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000213/0.1445, allocations: 4 kB / 0.6012 GB, free: 2.105 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.0003272/0.1449, allocations: 0.8127 MB / 0.6019 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.63e-05/0.1449, allocations: 3.938 kB / 0.6019 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1449, allocations: 0 / 0.6019 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.145, allocations: 0 / 0.6019 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.1453, allocations: 456 kB / 0.6024 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.1456, allocations: 197.4 kB / 0.6026 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.212/0.3576, allocations: 0.669 MB / 0.6032 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.691e-05/0.3576, allocations: 0 / 0.6032 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.943e-05/0.3577, allocations: 7.438 kB / 0.6032 GB, free: 44.22 MB / 0.4981 GB Notification: Performance of SimCode: time 7.61e-07/0.3577, allocations: 0 / 0.6032 GB, free: 44.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4833/0.8409, allocations: 0.9283 MB / 0.6041 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.72/10.56, allocations: 12.48 kB / 0.6041 GB, free: 43.95 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)