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.0009027/0.0009027, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.005501/0.005502, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.26/1.26, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8936/0.8936, allocations: 135.3 MB / 426.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.0002969, allocations: 12.91 kB / 0.5077 GB, free: 4.586 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1473, allocations: 82.31 MB / 0.5881 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0006651/0.148, allocations: 270.9 kB / 0.5884 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008456/0.1488, allocations: 0.7806 MB / 0.5891 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.137e-06/0.1489, allocations: 0 / 0.5891 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.299e-05/0.1489, allocations: 0 / 0.5891 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.177e-06/0.1489, allocations: 4 kB / 0.5891 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.1491, allocations: 15.98 kB / 0.5892 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.074e-05/0.1491, allocations: 0 / 0.5892 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4e-05/0.1492, allocations: 0 / 0.5892 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.14e-05/0.1492, allocations: 0 / 0.5892 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.1493, allocations: 23.92 kB / 0.5892 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.246e-06/0.1493, allocations: 4 kB / 0.5892 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.567e-06/0.1494, allocations: 0 / 0.5892 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.217e-06/0.1494, allocations: 0 / 0.5892 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.1494, allocations: 29.7 kB / 0.5892 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.884e-05/0.1494, allocations: 7.969 kB / 0.5892 GB, free: 1.289 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1494, allocations: 0 / 0.5892 GB, free: 1.289 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1494, allocations: 0 / 0.5892 GB, free: 1.289 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1495, allocations: 0 / 0.5892 GB, free: 1.289 MB / 494.1 MB 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.0002048/0.1497, allocations: 303.6 kB / 0.5895 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1497, allocations: 12.09 kB / 0.5895 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.133e-05/0.1497, allocations: 38.69 kB / 0.5896 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.754e-05/0.1498, allocations: 0.9375 kB / 0.5896 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.145e-05/0.1498, allocations: 160.4 kB / 0.5897 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.1499, allocations: 4.359 kB / 0.5897 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5e-06/0.1499, allocations: 384 / 0.5897 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.02e-05/0.1499, allocations: 37.64 kB / 0.5898 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-06/0.15, allocations: 0 / 0.5898 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-06/0.15, allocations: 0 / 0.5898 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.15, allocations: 0 / 0.5898 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.457e-05/0.15, allocations: 0 / 0.5898 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002423/0.1502, allocations: 387.4 kB / 0.5901 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.699e-05/0.1503, allocations: 170.8 kB / 0.5903 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.682e-05/0.1504, allocations: 80.14 kB / 0.5904 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.1504, allocations: 75.28 kB / 0.5904 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.1504, allocations: 113.9 kB / 0.5905 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.654e-06/0.1504, allocations: 3.984 kB / 0.5906 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 5.636e-05/0.1505, allocations: 29.64 kB / 0.5906 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.1505, allocations: 130.6 kB / 0.5907 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.612e-05/0.1506, allocations: 93.86 kB / 0.5908 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.1506, allocations: 33.64 kB / 0.5908 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.806e-05/0.1507, allocations: 84.17 kB / 0.5909 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-06/0.1507, allocations: 4 kB / 0.5909 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.1507, allocations: 9.719 kB / 0.5909 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.791e-05/0.1508, allocations: 318.8 kB / 0.5912 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-06/0.1508, allocations: 0 / 0.5912 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-06/0.1508, allocations: 4 kB / 0.5912 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.93e-05/0.1508, allocations: 4.859 kB / 0.5912 GB, free: 15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1508, allocations: 0 / 0.5912 GB, free: 15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.312e-05/0.1509, allocations: 41.7 kB / 0.5913 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.151, allocations: 9.875 kB / 0.5913 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.151, allocations: 0 / 0.5913 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.151, allocations: 0 / 0.5913 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.362e-05/0.151, allocations: 0 / 0.5913 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.151, allocations: 0 / 0.5913 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.18e-05/0.1511, allocations: 3.984 kB / 0.5913 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.1511, allocations: 4 kB / 0.5913 GB, free: 14.94 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.68e-05/0.1511, allocations: 185.1 kB / 0.5915 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.1512, allocations: 105 kB / 0.5916 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.371e-05/0.1513, allocations: 108 kB / 0.5917 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.767e-05/0.1513, allocations: 184.3 kB / 0.5918 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.996e-05/0.1514, allocations: 184.2 kB / 0.592 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-05/0.1514, allocations: 176.3 kB / 0.5922 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.1516, allocations: 405.2 kB / 0.5926 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.969e-05/0.1517, allocations: 104.9 kB / 0.5927 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.1517, allocations: 109 kB / 0.5928 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.242e-05/0.1518, allocations: 184.2 kB / 0.593 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.174e-05/0.1518, allocations: 184.3 kB / 0.5931 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.121e-05/0.1519, allocations: 176.5 kB / 0.5933 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.256e-05/0.1519, allocations: 184.2 kB / 0.5935 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.152, allocations: 315.7 kB / 0.5938 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.1521, allocations: 178.1 kB / 0.5939 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.203e-05/0.1522, allocations: 180.3 kB / 0.5941 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.485e-05/0.1523, allocations: 112.9 kB / 0.5942 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.1523, allocations: 180.2 kB / 0.5944 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.1523, allocations: 108.9 kB / 0.5945 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.504e-05/0.1524, allocations: 79.28 kB / 0.5946 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1524, allocations: 0 / 0.5946 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001958/0.1526, allocations: 0 / 0.5946 GB, free: 11.35 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.0003104/0.1529, allocations: 0.8127 MB / 0.5954 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.555e-05/0.153, allocations: 7.875 kB / 0.5954 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.153, allocations: 0 / 0.5954 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.946e-06/0.153, allocations: 4 kB / 0.5954 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.1533, allocations: 0.5189 MB / 0.5959 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.1536, allocations: 177.6 kB / 0.5961 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.1538, allocations: 0.6731 MB / 0.5967 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.013e-05/0.1538, allocations: 0 / 0.5967 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.467e-05/0.1538, allocations: 7.438 kB / 0.5967 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1538, allocations: 0 / 0.5967 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5341/0.6879, allocations: 0.7499 MB / 0.5975 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003178/0.6882, allocations: 272.7 kB / 0.5977 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.443, allocations: 5.875 kB / 0.5977 GB, free: 8.156 MB / 0.4981 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)