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.001771/0.001771, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.003144/0.003143, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.559/2.559, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.586/1.586, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006682/0.0006684, allocations: 8 kB / 0.5069 GB, free: 5.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3075, allocations: 82.31 MB / 0.5873 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001027/0.3086, allocations: 270.9 kB / 0.5876 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.3103, allocations: 0.7612 MB / 0.5883 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.781e-05/0.3104, allocations: 0 / 0.5883 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.3104, allocations: 4 kB / 0.5883 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.123e-06/0.3104, allocations: 0 / 0.5883 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.3107, allocations: 19.91 kB / 0.5883 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.534e-05/0.3108, allocations: 0 / 0.5883 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.067e-05/0.3109, allocations: 0 / 0.5883 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.015e-05/0.3109, allocations: 0 / 0.5883 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.3111, allocations: 23.98 kB / 0.5884 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.3111, allocations: 0 / 0.5884 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.4e-06/0.3111, allocations: 0 / 0.5884 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.3112, allocations: 0 / 0.5884 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.3112, allocations: 25.7 kB / 0.5884 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.076e-05/0.3113, allocations: 4 kB / 0.5884 GB, free: 1.852 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3113, allocations: 0 / 0.5884 GB, free: 1.852 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3113, allocations: 0 / 0.5884 GB, free: 1.852 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.3113, allocations: 4 kB / 0.5884 GB, free: 1.848 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.0003654/0.3117, allocations: 311.3 kB / 0.5887 GB, free: 1.496 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.3118, allocations: 8.094 kB / 0.5887 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.424e-05/0.3118, allocations: 38.5 kB / 0.5887 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.3119, allocations: 0 / 0.5887 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.312, allocations: 163 kB / 0.5889 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.312, allocations: 0 / 0.5889 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.3121, allocations: 0 / 0.5889 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.3122, allocations: 29.69 kB / 0.5889 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3122, allocations: 8 kB / 0.5889 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3122, allocations: 4 kB / 0.5889 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3123, allocations: 0 / 0.5889 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.425e-05/0.3123, allocations: 0 / 0.5889 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.3127, allocations: 379.5 kB / 0.5893 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.3129, allocations: 169.1 kB / 0.5895 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.3129, allocations: 79.28 kB / 0.5895 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.697e-05/0.313, allocations: 113.8 kB / 0.5896 GB, free: 408 kB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.034e-06/0.313, allocations: 0 / 0.5896 GB, free: 408 kB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001147/0.3131, allocations: 35.3 kB / 0.5897 GB, free: 368 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.296e-05/0.3132, allocations: 126.7 kB / 0.5898 GB, free: 228 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.3134, allocations: 97.77 kB / 0.5899 GB, free: 120 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.3134, allocations: 29.7 kB / 0.5899 GB, free: 84 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.3135, allocations: 80.14 kB / 0.59 GB, free: 0 / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.286e-06/0.3135, allocations: 128 / 0.59 GB, free: 16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.3135, allocations: 3.938 kB / 0.59 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3137, allocations: 318.8 kB / 0.5903 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.3137, allocations: 0 / 0.5903 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-06/0.3138, allocations: 0 / 0.5903 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.822e-05/0.3138, allocations: 3.984 kB / 0.5903 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3138, allocations: 4.188 kB / 0.5903 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001556/0.314, allocations: 37.64 kB / 0.5903 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.314, allocations: 4 kB / 0.5904 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.314, allocations: 0 / 0.5904 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3141, allocations: 0 / 0.5904 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.66e-05/0.3142, allocations: 8 kB / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.3142, allocations: 0 / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.3142, allocations: 0 / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.3142, allocations: 0 / 0.5904 GB, free: 15.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001667/0.3144, allocations: 193.1 kB / 0.5905 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.3145, allocations: 109 kB / 0.5906 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.078e-05/0.3146, allocations: 108 kB / 0.5907 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001021/0.3147, allocations: 176.3 kB / 0.5909 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.967e-05/0.3148, allocations: 176.3 kB / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000103/0.3149, allocations: 184.2 kB / 0.5913 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003686/0.3153, allocations: 409.2 kB / 0.5917 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.369e-05/0.3154, allocations: 108.9 kB / 0.5918 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.3155, allocations: 101 kB / 0.5919 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/0.3156, allocations: 180.3 kB / 0.592 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.3157, allocations: 184.2 kB / 0.5922 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001088/0.3158, allocations: 184.3 kB / 0.5924 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.238e-05/0.316, allocations: 184.2 kB / 0.5926 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.3162, allocations: 308 kB / 0.5928 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.3163, allocations: 190.1 kB / 0.593 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.3164, allocations: 176.3 kB / 0.5932 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.3166, allocations: 108.9 kB / 0.5933 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.3167, allocations: 176.3 kB / 0.5935 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-05/0.3168, allocations: 112.9 kB / 0.5936 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.723e-05/0.3169, allocations: 75.28 kB / 0.5936 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3e-07/0.3169, allocations: 0 / 0.5936 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004142/0.3173, allocations: 0 / 0.5936 GB, free: 12.02 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 (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.000624/0.3179, allocations: 0.8127 MB / 0.5944 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.593e-05/0.318, allocations: 7.984 kB / 0.5944 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/0.3181, allocations: 0 / 0.5944 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.458e-06/0.3181, allocations: 3.938 kB / 0.5945 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/0.3186, allocations: 0.5225 MB / 0.595 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005501/0.3191, allocations: 177.8 kB / 0.5951 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.3196, allocations: 0.677 MB / 0.5958 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.958e-05/0.3196, allocations: 0 / 0.5958 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.3197, allocations: 7.438 kB / 0.5958 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of SimCode: time 7.82e-07/0.3197, allocations: 0 / 0.5958 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.3397, allocations: 0.7456 MB / 0.5965 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003978/0.3402, allocations: 242 kB / 0.5968 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.758/3.098, allocations: 1.875 kB / 0.5968 GB, free: 8.949 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/linux/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) Environment - environmentSimulation: