Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.008856/0.008855, allocations: 173.4 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7354/0.7354, allocations: 135.2 MB / 151.1 MB, free: 13.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 223.2 MB / 406.8 MB, free: 3.219 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009881/0.0009877, allocations: 95.95 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003567, allocations: 12 kB / 0.5692 GB, free: 13.99 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4013, allocations: 82.3 MB / 0.6496 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1607/0.5621, allocations: 111.4 MB / 0.7583 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.5624, allocations: 107.9 kB / 0.7584 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001672/0.5641, allocations: 0.6863 MB / 0.7591 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5641, allocations: 0 / 0.7591 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.5641, allocations: 4 kB / 0.7591 GB, free: 3.766 MB / 0.5261 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.0002787/0.5644, allocations: 327.4 kB / 0.7594 GB, free: 3.398 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.5644, allocations: 8.031 kB / 0.7594 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.5645, allocations: 30.56 kB / 0.7595 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.14e-05/0.5645, allocations: 4 kB / 0.7595 GB, free: 3.348 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.716e-05/0.5646, allocations: 170.9 kB / 0.7596 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.5646, allocations: 0 / 0.7596 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.5647, allocations: 4 kB / 0.7596 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.126e-05/0.5647, allocations: 25.7 kB / 0.7597 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.5648, allocations: 0 / 0.7597 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.5648, allocations: 0 / 0.7597 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.5648, allocations: 0 / 0.7597 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.898e-05/0.5648, allocations: 4 kB / 0.7597 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/0.5651, allocations: 383.5 kB / 0.76 GB, free: 2.676 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.726e-05/0.5652, allocations: 169.1 kB / 0.7602 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.381e-05/0.5652, allocations: 75.28 kB / 0.7603 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.5653, allocations: 113.9 kB / 0.7604 GB, free: 2.305 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.5653, allocations: 4 kB / 0.7604 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 6.38e-05/0.5654, allocations: 25.7 kB / 0.7604 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.5655, allocations: 130.7 kB / 0.7605 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.757e-05/0.5655, allocations: 92.94 kB / 0.7606 GB, free: 2.031 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.5656, allocations: 25.7 kB / 0.7606 GB, free: 2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.5656, allocations: 84.05 kB / 0.7607 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-06/0.5656, allocations: 0 / 0.7607 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-06/0.5656, allocations: 128 / 0.7607 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.5657, allocations: 318.8 kB / 0.761 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.701e-06/0.5657, allocations: 0 / 0.761 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.603e-06/0.5657, allocations: 8 kB / 0.761 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.548e-05/0.5658, allocations: 0 / 0.761 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.5658, allocations: 0 / 0.761 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.004e-05/0.5659, allocations: 33.69 kB / 0.7611 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.5659, allocations: 4 kB / 0.7611 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.5659, allocations: 4 kB / 0.7611 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.5659, allocations: 4.094 kB / 0.7611 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.94e-05/0.566, allocations: 0 / 0.7611 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.566, allocations: 0 / 0.7611 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.186e-05/0.566, allocations: 3.938 kB / 0.7611 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.566, allocations: 3.938 kB / 0.7611 GB, free: 1.527 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.5661, allocations: 193 kB / 0.7613 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.29e-05/0.5662, allocations: 101 kB / 0.7614 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.271e-05/0.5662, allocations: 116.1 kB / 0.7615 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.788e-05/0.5663, allocations: 184.2 kB / 0.7616 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-05/0.5664, allocations: 176.3 kB / 0.7618 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-05/0.5665, allocations: 180.2 kB / 0.762 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.5667, allocations: 405.2 kB / 0.7624 GB, free: 100 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.287e-05/0.5668, allocations: 105 kB / 0.7625 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.5668, allocations: 108.9 kB / 0.7626 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.261e-05/0.5669, allocations: 176.7 kB / 0.7627 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.567, allocations: 180.2 kB / 0.7629 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.713e-05/0.5671, allocations: 192.2 kB / 0.7631 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-05/0.5672, allocations: 176.3 kB / 0.7633 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.5674, allocations: 313.4 kB / 0.7636 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.544e-05/0.5674, allocations: 186 kB / 0.7637 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.721e-05/0.5675, allocations: 180.2 kB / 0.7639 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.136e-05/0.5676, allocations: 109 kB / 0.764 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.5677, allocations: 180.2 kB / 0.7642 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.689e-05/0.5677, allocations: 105 kB / 0.7643 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.619e-05/0.5678, allocations: 75.28 kB / 0.7644 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5678, allocations: 0 / 0.7644 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002183/0.568, allocations: 4 kB / 0.7644 GB, free: 13.93 MB / 0.5417 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 (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.0004538/0.5685, allocations: 0.8166 MB / 0.7652 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.213e-05/0.5685, allocations: 0 / 0.7652 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5685, allocations: 0 / 0.7652 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.5685, allocations: 0 / 0.7652 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.5689, allocations: 0.5241 MB / 0.7657 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.5692, allocations: 187.7 kB / 0.7659 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.5695, allocations: 0.6692 MB / 0.7665 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.389e-05/0.5695, allocations: 0 / 0.7665 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.5695, allocations: 11.44 kB / 0.7665 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of SimCode: time 3.3e-07/0.5695, allocations: 0 / 0.7665 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01149/0.581, allocations: 0.7316 MB / 0.7672 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002487/0.5813, allocations: 241.5 kB / 0.7675 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.462/2.044, allocations: 0 / 0.7675 GB, free: 10.88 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)