Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IDEAS_dev_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_dev_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005382/0.005382, allocations: 104.1 kB / 15.74 MB, free: 6.047 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.001203/0.001203, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7885/0.7885, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 70.81 kB / 0.5852 GB, free: 21.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1439, allocations: 80.92 MB / 0.6642 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001682/0.1456, allocations: 0.5419 MB / 0.6647 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009166/0.1465, allocations: 0.7808 MB / 0.6655 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.77e-05/0.1466, allocations: 0 / 0.6655 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.167e-05/0.1466, allocations: 0 / 0.6655 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.1466, allocations: 0 / 0.6655 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.1469, allocations: 27.91 kB / 0.6655 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.96e-05/0.1469, allocations: 0 / 0.6655 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.147, allocations: 4 kB / 0.6655 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.522e-05/0.147, allocations: 4 kB / 0.6655 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.1471, allocations: 15.98 kB / 0.6655 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.694e-06/0.1471, allocations: 4 kB / 0.6655 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.005e-06/0.1472, allocations: 0 / 0.6655 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.1472, allocations: 3.984 kB / 0.6655 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.798e-05/0.1472, allocations: 7.938 kB / 0.6655 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 3.444e-05/0.1472, allocations: 0 / 0.6655 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1472, allocations: 0 / 0.6655 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1472, allocations: 0 / 0.6655 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1473, allocations: 0 / 0.6655 GB, free: 4.902 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.000276/0.1475, allocations: 319.5 kB / 0.6659 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.1476, allocations: 9.109 kB / 0.6659 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.451e-05/0.1476, allocations: 30.75 kB / 0.6659 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.235e-05/0.1477, allocations: 4.938 kB / 0.6659 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.1478, allocations: 160.4 kB / 0.6661 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1478, allocations: 4.312 kB / 0.6661 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.1478, allocations: 4.125 kB / 0.6661 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.368e-05/0.1479, allocations: 25.7 kB / 0.6661 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1479, allocations: 4 kB / 0.6661 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.1479, allocations: 4 kB / 0.6661 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1479, allocations: 7.984 kB / 0.6661 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.849e-05/0.1479, allocations: 4 kB / 0.6661 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.1482, allocations: 375.4 kB / 0.6665 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.934e-05/0.1483, allocations: 173.2 kB / 0.6666 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.1484, allocations: 84.14 kB / 0.6667 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.1484, allocations: 75.28 kB / 0.6668 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.1485, allocations: 109.8 kB / 0.6669 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.1485, allocations: 0 / 0.6669 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.102e-05/0.1485, allocations: 29.64 kB / 0.6669 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.1486, allocations: 130.7 kB / 0.667 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.319e-05/0.1487, allocations: 97.86 kB / 0.6671 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.1487, allocations: 25.7 kB / 0.6672 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.177e-05/0.1487, allocations: 80.14 kB / 0.6672 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.1487, allocations: 0 / 0.6672 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.1488, allocations: 13.72 kB / 0.6672 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.149, allocations: 314.8 kB / 0.6675 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-06/0.149, allocations: 0 / 0.6675 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-06/0.149, allocations: 7.984 kB / 0.6675 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.419e-05/0.149, allocations: 9.047 kB / 0.6676 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.149, allocations: 0 / 0.6676 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.968e-05/0.1491, allocations: 37.64 kB / 0.6676 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1491, allocations: 8 kB / 0.6676 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1491, allocations: 0 / 0.6676 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1492, allocations: 0 / 0.6676 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.017e-05/0.1492, allocations: 0 / 0.6676 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1492, allocations: 0 / 0.6676 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.018e-05/0.1492, allocations: 0 / 0.6676 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.1493, allocations: 7.938 kB / 0.6676 GB, free: 2.555 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 8.968e-05/0.1493, allocations: 193.1 kB / 0.6678 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.1494, allocations: 104.9 kB / 0.6679 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.998e-05/0.1495, allocations: 104.1 kB / 0.668 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.576e-05/0.1495, allocations: 188.2 kB / 0.6682 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.164e-05/0.1496, allocations: 180.2 kB / 0.6683 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.814e-05/0.1496, allocations: 188.2 kB / 0.6685 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.1499, allocations: 405.1 kB / 0.6689 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.001e-05/0.1499, allocations: 101 kB / 0.669 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.523e-05/0.1499, allocations: 105 kB / 0.6691 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.644e-05/0.15, allocations: 184.2 kB / 0.6693 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-05/0.1501, allocations: 188.3 kB / 0.6695 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.626e-05/0.1501, allocations: 180.2 kB / 0.6696 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-05/0.1502, allocations: 176.3 kB / 0.6698 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.1503, allocations: 311.9 kB / 0.6701 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.1504, allocations: 182.1 kB / 0.6703 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.706e-05/0.1505, allocations: 188.2 kB / 0.6705 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-05/0.1506, allocations: 105 kB / 0.6706 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.278e-05/0.1506, allocations: 180.2 kB / 0.6707 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.842e-05/0.1507, allocations: 108.9 kB / 0.6708 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.581e-05/0.1507, allocations: 79.28 kB / 0.6709 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.5e-07/0.1507, allocations: 0 / 0.6709 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002077/0.1509, allocations: 4.094 kB / 0.6709 GB, free: 14.95 MB / 0.5137 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.0003805/0.1513, allocations: 0.81 MB / 0.6717 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.373e-05/0.1514, allocations: 3.938 kB / 0.6717 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1514, allocations: 64 / 0.6717 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.1514, allocations: 8 kB / 0.6717 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.1517, allocations: 454.5 kB / 0.6721 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.1521, allocations: 185.8 kB / 0.6723 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.1524, allocations: 0.6729 MB / 0.673 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.19e-05/0.1524, allocations: 0 / 0.673 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.029e-05/0.1524, allocations: 11.44 kB / 0.673 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.1524, allocations: 0 / 0.673 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01645/0.1689, allocations: 0.94 MB / 0.6739 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.445/7.614, allocations: 11.69 kB / 0.6739 GB, free: 11.96 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)