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.001116/0.001116, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001235/0.001235, allocations: 196 kB / 16.14 MB, free: 6.656 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.234/1.234, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8618/0.8618, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 64.47 kB / 0.5048 GB, free: 5.613 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1371, allocations: 80.93 MB / 0.5839 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001615/0.1387, allocations: 0.5854 MB / 0.5844 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007727/0.1395, allocations: 0.7845 MB / 0.5852 GB, free: 3.461 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.757e-06/0.1395, allocations: 0 / 0.5852 GB, free: 3.461 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.506e-05/0.1396, allocations: 4 kB / 0.5852 GB, free: 3.457 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.099e-06/0.1396, allocations: 0 / 0.5852 GB, free: 3.457 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.1398, allocations: 11.98 kB / 0.5852 GB, free: 3.445 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.758e-05/0.1398, allocations: 3.984 kB / 0.5852 GB, free: 3.441 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.215e-05/0.1398, allocations: 4 kB / 0.5852 GB, free: 3.438 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.145e-05/0.1399, allocations: 4 kB / 0.5852 GB, free: 3.434 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.14, allocations: 19.92 kB / 0.5852 GB, free: 3.414 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.701e-06/0.14, allocations: 0 / 0.5852 GB, free: 3.414 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.875e-06/0.14, allocations: 0 / 0.5852 GB, free: 3.414 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.314e-06/0.14, allocations: 3.938 kB / 0.5852 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.597e-05/0.14, allocations: 4 kB / 0.5853 GB, free: 3.406 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.528e-05/0.1401, allocations: 7.922 kB / 0.5853 GB, free: 3.398 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1401, allocations: 0 / 0.5853 GB, free: 3.398 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.1401, allocations: 4 kB / 0.5853 GB, free: 3.395 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.1401, allocations: 0 / 0.5853 GB, free: 3.395 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.0002176/0.1403, allocations: 307.6 kB / 0.5856 GB, free: 3.047 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1403, allocations: 8.031 kB / 0.5856 GB, free: 3.039 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.866e-05/0.1404, allocations: 38.73 kB / 0.5856 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.699e-05/0.1404, allocations: 0.9375 kB / 0.5856 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.068e-05/0.1405, allocations: 164.4 kB / 0.5858 GB, free: 2.793 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.1405, allocations: 384 / 0.5858 GB, free: 2.793 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-06/0.1405, allocations: 4.375 kB / 0.5858 GB, free: 2.789 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.41e-05/0.1406, allocations: 33.64 kB / 0.5858 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.949e-06/0.1406, allocations: 0 / 0.5858 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-06/0.1406, allocations: 4 kB / 0.5858 GB, free: 2.746 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1406, allocations: 0 / 0.5858 GB, free: 2.746 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.1406, allocations: 7.938 kB / 0.5858 GB, free: 2.738 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002498/0.1409, allocations: 381.1 kB / 0.5862 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.459e-05/0.141, allocations: 173.1 kB / 0.5863 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.849e-05/0.141, allocations: 80.14 kB / 0.5864 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/0.141, allocations: 75.28 kB / 0.5865 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.1411, allocations: 105.8 kB / 0.5866 GB, free: 1.867 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.195e-06/0.1411, allocations: 3.938 kB / 0.5866 GB, free: 1.863 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.514e-05/0.1412, allocations: 33.64 kB / 0.5866 GB, free: 1.824 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.1413, allocations: 130.7 kB / 0.5867 GB, free: 1.684 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.564e-05/0.1413, allocations: 97.84 kB / 0.5868 GB, free: 1.578 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.1413, allocations: 25.7 kB / 0.5869 GB, free: 1.547 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.1414, allocations: 84.05 kB / 0.5869 GB, free: 1.461 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.1414, allocations: 0 / 0.5869 GB, free: 1.461 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.1414, allocations: 13.72 kB / 0.587 GB, free: 1.441 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.514e-05/0.1415, allocations: 314.8 kB / 0.5873 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-06/0.1415, allocations: 4.125 kB / 0.5873 GB, free: 1.121 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-06/0.1416, allocations: 4 kB / 0.5873 GB, free: 1.117 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.001e-05/0.1416, allocations: 8.797 kB / 0.5873 GB, free: 1.105 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1416, allocations: 0 / 0.5873 GB, free: 1.105 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.153e-05/0.1417, allocations: 37.69 kB / 0.5873 GB, free: 1.062 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.1417, allocations: 8 kB / 0.5873 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.1417, allocations: 0 / 0.5873 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.188e-06/0.1417, allocations: 0 / 0.5873 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.299e-05/0.1417, allocations: 0 / 0.5873 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.1418, allocations: 4.094 kB / 0.5873 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.203e-05/0.1418, allocations: 7.938 kB / 0.5873 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.1418, allocations: 0 / 0.5873 GB, free: 1.043 MB / 494.1 MB 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.021e-05/0.1419, allocations: 185.1 kB / 0.5875 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/0.142, allocations: 104.9 kB / 0.5876 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.077e-05/0.142, allocations: 112.1 kB / 0.5877 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.874e-05/0.1421, allocations: 184.3 kB / 0.5879 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.183e-05/0.1421, allocations: 180.2 kB / 0.5881 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.341e-05/0.1422, allocations: 176.3 kB / 0.5882 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.1424, allocations: 409.1 kB / 0.5886 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.578e-05/0.1424, allocations: 101 kB / 0.5887 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.047e-05/0.1425, allocations: 105 kB / 0.5888 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.548e-05/0.1425, allocations: 184.2 kB / 0.589 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.958e-05/0.1426, allocations: 184.3 kB / 0.5892 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.554e-05/0.1427, allocations: 184.4 kB / 0.5893 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.597e-05/0.1427, allocations: 176.3 kB / 0.5895 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.1428, allocations: 315.7 kB / 0.5898 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.164e-05/0.1429, allocations: 182.1 kB / 0.59 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.703e-05/0.143, allocations: 192.1 kB / 0.5902 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.143, allocations: 101 kB / 0.5903 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.1431, allocations: 180.2 kB / 0.5904 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.1431, allocations: 105 kB / 0.5905 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.689e-05/0.1432, allocations: 83.28 kB / 0.5906 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1432, allocations: 0 / 0.5906 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002096/0.1434, allocations: 0 / 0.5906 GB, free: 13.45 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.0003273/0.1437, allocations: 0.8166 MB / 0.5914 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.02e-05/0.1438, allocations: 0 / 0.5914 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1438, allocations: 4 kB / 0.5914 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.1438, allocations: 0 / 0.5914 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.1441, allocations: 0.5188 MB / 0.5919 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002655/0.1444, allocations: 179.8 kB / 0.5921 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.1446, allocations: 0.6692 MB / 0.5927 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.267e-06/0.1446, allocations: 4 kB / 0.5928 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.323e-05/0.1447, allocations: 7.438 kB / 0.5928 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of SimCode: time 1.583e-06/0.1447, allocations: 0 / 0.5928 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009248/0.1539, allocations: 0.8192 MB / 0.5936 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/0.1542, allocations: 271.8 kB / 0.5938 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/1.665, allocations: 2.188 kB / 0.5938 GB, free: 10.18 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)