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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7575/0.7575, allocations: 127.4 MB / 134.9 MB, free: 3.449 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 187 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.2 MB / 399.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 91.86 kB / 476.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.505e-05, allocations: 5.094 kB / 0.5467 GB, free: 95.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1918, allocations: 76.77 MB / 0.6217 GB, free: 43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.3353, allocations: 101.9 MB / 0.7212 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003534/0.3358, allocations: 107.9 kB / 0.7213 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.001934/0.3377, allocations: 0.6977 MB / 0.722 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3377, allocations: 3.938 kB / 0.722 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.3378, allocations: 0 / 0.722 GB, free: 4.145 MB / 0.4948 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.0002482/0.338, allocations: 310.6 kB / 0.7223 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.3381, allocations: 15.98 kB / 0.7223 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.3381, allocations: 3.953 kB / 0.7223 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.3382, allocations: 163.1 kB / 0.7225 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.3382, allocations: 4 kB / 0.7225 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.3383, allocations: 0 / 0.7225 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.152e-05/0.3383, allocations: 0 / 0.7225 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.162e-05/0.3384, allocations: 29.7 kB / 0.7225 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.3384, allocations: 0 / 0.7225 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.3384, allocations: 0 / 0.7225 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3384, allocations: 3.953 kB / 0.7225 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002936/0.3387, allocations: 364 kB / 0.7228 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.234e-05/0.3388, allocations: 169.1 kB / 0.723 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.3389, allocations: 80.14 kB / 0.7231 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.3389, allocations: 85.42 kB / 0.7232 GB, free: 2.801 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.339, allocations: 105.8 kB / 0.7233 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.123e-06/0.339, allocations: 0 / 0.7233 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 7.728e-05/0.3391, allocations: 41.58 kB / 0.7233 GB, free: 2.641 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.3391, allocations: 55.36 kB / 0.7234 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.25e-05/0.3392, allocations: 85 kB / 0.7234 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.3392, allocations: 25.7 kB / 0.7235 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.3392, allocations: 80.14 kB / 0.7235 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.3393, allocations: 0 / 0.7235 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/0.3393, allocations: 0 / 0.7235 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3394, allocations: 318.8 kB / 0.7238 GB, free: 2.051 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-06/0.3394, allocations: 8.062 kB / 0.7238 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-06/0.3394, allocations: 0 / 0.7238 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.413e-05/0.3394, allocations: 0 / 0.7238 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3394, allocations: 0 / 0.7238 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.815e-05/0.3395, allocations: 33.69 kB / 0.7239 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3396, allocations: 8 kB / 0.7239 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3396, allocations: 0 / 0.7239 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3396, allocations: 0 / 0.7239 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.482e-05/0.3396, allocations: 4 kB / 0.7239 GB, free: 1.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3397, allocations: 12.03 kB / 0.7239 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.366e-05/0.3397, allocations: 3.953 kB / 0.7239 GB, free: 1.977 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.3397, allocations: 0 / 0.7239 GB, free: 1.977 MB / 0.4948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.041e-05/0.3398, allocations: 176.3 kB / 0.7241 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.42e-05/0.3399, allocations: 134.7 kB / 0.7242 GB, free: 1.652 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.3399, allocations: 104.9 kB / 0.7243 GB, free: 1.543 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.909e-05/0.34, allocations: 104.7 kB / 0.7244 GB, free: 1.438 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.931e-05/0.3401, allocations: 184.3 kB / 0.7246 GB, free: 1.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.65e-05/0.3402, allocations: 188.2 kB / 0.7248 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.005e-05/0.3402, allocations: 181 kB / 0.7249 GB, free: 0.875 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.3404, allocations: 373.8 kB / 0.7253 GB, free: 476 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.045e-05/0.3405, allocations: 108.9 kB / 0.7254 GB, free: 360 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.684e-05/0.3405, allocations: 105 kB / 0.7255 GB, free: 248 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.157e-05/0.3406, allocations: 184.2 kB / 0.7257 GB, free: 56 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-05/0.3407, allocations: 180.2 kB / 0.7258 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.138e-05/0.3407, allocations: 176.3 kB / 0.726 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.795e-05/0.3408, allocations: 184.3 kB / 0.7262 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.341, allocations: 307.7 kB / 0.7265 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/0.341, allocations: 182.1 kB / 0.7266 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-05/0.3411, allocations: 180.2 kB / 0.7268 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.3412, allocations: 101 kB / 0.7269 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.551e-05/0.3413, allocations: 189.1 kB / 0.7271 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/0.3413, allocations: 112.9 kB / 0.7272 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.207e-05/0.3414, allocations: 75.28 kB / 0.7273 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.683e-06/0.3414, allocations: 0 / 0.7273 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000217/0.3416, allocations: 7.875 kB / 0.7273 GB, free: 14.3 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004505/0.3421, allocations: 0.8151 MB / 0.7281 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.023e-05/0.3421, allocations: 4 kB / 0.7281 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3421, allocations: 0 / 0.7281 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.837e-06/0.3422, allocations: 3.938 kB / 0.7281 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.3425, allocations: 0.5146 MB / 0.7286 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.3428, allocations: 147.3 kB / 0.7287 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.343, allocations: 0.6768 MB / 0.7294 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.348e-05/0.3431, allocations: 0 / 0.7294 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.3431, allocations: 7.438 kB / 0.7294 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of SimCode: time 2.8e-07/0.3431, allocations: 0 / 0.7294 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.3645, allocations: 431.2 kB / 0.7298 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003581/0.3649, allocations: 225.6 kB / 0.73 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/1.96, allocations: 1.016 kB / 0.73 GB, free: 11.36 MB / 0.5105 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/linux/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)