Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IBPSA_latest_IBPSA_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.001066/0.001066, allocations: 108.9 kB / 16.27 MB, free: 5.93 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.001144/0.001144, allocations: 189.4 kB / 17.2 MB, free: 5.574 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.264/1.264, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6971/0.6971, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001343, allocations: 67.83 kB / 0.4912 GB, free: 7.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2929, allocations: 77.91 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.002069/0.295, allocations: 0.5435 MB / 0.5679 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008295/0.2959, allocations: 0.7745 MB / 0.5686 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.589e-05/0.2959, allocations: 1.812 kB / 0.5686 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.2959, allocations: 7.875 kB / 0.5686 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.879e-06/0.296, allocations: 1.25 kB / 0.5686 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.2962, allocations: 15.38 kB / 0.5686 GB, free: 31.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.608e-05/0.2963, allocations: 6.828 kB / 0.5686 GB, free: 31.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.2963, allocations: 4.453 kB / 0.5686 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.394e-05/0.2963, allocations: 1.406 kB / 0.5686 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.2965, allocations: 20.8 kB / 0.5687 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.422e-06/0.2965, allocations: 0.6875 kB / 0.5687 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.206e-06/0.2965, allocations: 0 / 0.5687 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.508e-06/0.2965, allocations: 6.344 kB / 0.5687 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.2965, allocations: 0 / 0.5687 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 3.507e-05/0.2966, allocations: 3.984 kB / 0.5687 GB, free: 31.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2966, allocations: 2.312 kB / 0.5687 GB, free: 31.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2966, allocations: 3.531 kB / 0.5687 GB, free: 31.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.2966, allocations: 0 / 0.5687 GB, free: 31.81 MB / 446.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.0001814/0.2968, allocations: 308.8 kB / 0.569 GB, free: 31.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2968, allocations: 9.938 kB / 0.569 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.605e-05/0.2968, allocations: 31.45 kB / 0.569 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.614e-05/0.2969, allocations: 2.031 kB / 0.569 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.032e-05/0.2969, allocations: 161.7 kB / 0.5692 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.2969, allocations: 1.531 kB / 0.5692 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-06/0.2969, allocations: 1.531 kB / 0.5692 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.665e-05/0.297, allocations: 32.44 kB / 0.5692 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.393e-06/0.297, allocations: 5.531 kB / 0.5692 GB, free: 31.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.297, allocations: 1.312 kB / 0.5692 GB, free: 31.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.297, allocations: 0.5625 kB / 0.5692 GB, free: 31.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.387e-05/0.2971, allocations: 5.406 kB / 0.5692 GB, free: 31.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.2972, allocations: 374.9 kB / 0.5696 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.211e-05/0.2973, allocations: 174.5 kB / 0.5697 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.44e-05/0.2973, allocations: 81.58 kB / 0.5698 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.2973, allocations: 77.27 kB / 0.5699 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.2973, allocations: 111.7 kB / 0.57 GB, free: 30.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.2974, allocations: 0.5938 kB / 0.57 GB, free: 30.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.318e-05/0.2974, allocations: 31.89 kB / 0.57 GB, free: 30.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.2974, allocations: 131.5 kB / 0.5702 GB, free: 30.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.849e-05/0.2975, allocations: 98.03 kB / 0.5702 GB, free: 30.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.4e-06/0.2975, allocations: 27.08 kB / 0.5703 GB, free: 30.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.733e-05/0.2975, allocations: 85.08 kB / 0.5704 GB, free: 29.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-06/0.2975, allocations: 0 / 0.5704 GB, free: 29.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.2976, allocations: 13.52 kB / 0.5704 GB, free: 29.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.047e-05/0.2976, allocations: 311.4 kB / 0.5707 GB, free: 29.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.502e-06/0.2976, allocations: 2.938 kB / 0.5707 GB, free: 29.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.488e-06/0.2976, allocations: 5.969 kB / 0.5707 GB, free: 29.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.655e-05/0.2976, allocations: 10.98 kB / 0.5707 GB, free: 29.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2977, allocations: 4.938 kB / 0.5707 GB, free: 29.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.62e-05/0.2977, allocations: 36.14 kB / 0.5707 GB, free: 29.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2978, allocations: 7.562 kB / 0.5707 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2978, allocations: 0 / 0.5707 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2978, allocations: 1.094 kB / 0.5707 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.966e-05/0.2979, allocations: 1.906 kB / 0.5707 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2979, allocations: 0.8438 kB / 0.5707 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.04e-05/0.2979, allocations: 3.25 kB / 0.5707 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.2979, allocations: 3.984 kB / 0.5707 GB, free: 29.54 MB / 446.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 5.988e-05/0.298, allocations: 188.4 kB / 0.5709 GB, free: 29.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.298, allocations: 107.4 kB / 0.571 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.317e-05/0.298, allocations: 106 kB / 0.5711 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.961e-05/0.2981, allocations: 186.7 kB / 0.5713 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-05/0.2981, allocations: 178.2 kB / 0.5715 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.69e-05/0.2981, allocations: 179.2 kB / 0.5716 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.2983, allocations: 410.3 kB / 0.572 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/0.2983, allocations: 102.7 kB / 0.5721 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.365e-05/0.2983, allocations: 110.4 kB / 0.5722 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.119e-05/0.2983, allocations: 179.1 kB / 0.5724 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.2984, allocations: 180.5 kB / 0.5726 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.949e-05/0.2984, allocations: 182 kB / 0.5728 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-05/0.2984, allocations: 179.5 kB / 0.5729 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.39e-05/0.2985, allocations: 316.4 kB / 0.5732 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.2986, allocations: 180.8 kB / 0.5734 GB, free: 26.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.2986, allocations: 182 kB / 0.5736 GB, free: 26.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.93e-05/0.2987, allocations: 102.9 kB / 0.5737 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.2987, allocations: 190.5 kB / 0.5739 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.2987, allocations: 104.6 kB / 0.574 GB, free: 26.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.019e-05/0.2987, allocations: 76.34 kB / 0.574 GB, free: 26.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2987, allocations: 0.5 kB / 0.574 GB, free: 26.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002399/0.299, allocations: 1.891 kB / 0.574 GB, free: 26.01 MB / 446.1 MB 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.000237/0.2992, allocations: 0.8147 MB / 0.5748 GB, free: 25.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.464e-05/0.2993, allocations: 6.844 kB / 0.5748 GB, free: 25.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2993, allocations: 1.875 kB / 0.5748 GB, free: 25.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.2993, allocations: 0.9375 kB / 0.5748 GB, free: 25.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.2996, allocations: 457.4 kB / 0.5753 GB, free: 24.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.2999, allocations: 184.8 kB / 0.5754 GB, free: 24.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.52e-05/0.3, allocations: 0.6752 MB / 0.5761 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.026e-05/0.3, allocations: 1.312 kB / 0.5761 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.526e-05/0.3, allocations: 8.188 kB / 0.5761 GB, free: 23.83 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3, allocations: 0 / 0.5761 GB, free: 23.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.3158, allocations: 0.9214 MB / 0.577 GB, free: 23.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/8.284, allocations: 11.36 kB / 0.577 GB, free: 23.53 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)