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.00108/0.00108, allocations: 103 kB / 16.27 MB, free: 5.961 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.001131/0.001131, allocations: 189.8 kB / 17.2 MB, free: 5.59 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.261/1.261, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7286/0.7286, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.91 kB / 0.4912 GB, free: 7.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3065, allocations: 77.92 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001787/0.3084, allocations: 0.5393 MB / 0.5678 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007091/0.3091, allocations: 0.7763 MB / 0.5686 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.344e-05/0.3091, allocations: 0 / 0.5686 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.3091, allocations: 0 / 0.5686 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.067e-06/0.3092, allocations: 0 / 0.5686 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.3094, allocations: 24.28 kB / 0.5686 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.973e-05/0.3094, allocations: 1.438 kB / 0.5686 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.3095, allocations: 7.281 kB / 0.5686 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.404e-05/0.3095, allocations: 0.6094 kB / 0.5686 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.3096, allocations: 21.14 kB / 0.5687 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.496e-06/0.3097, allocations: 0.625 kB / 0.5687 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.497e-06/0.3097, allocations: 3.938 kB / 0.5687 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.3097, allocations: 0.6875 kB / 0.5687 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.402e-05/0.3097, allocations: 1.5 kB / 0.5687 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 2.963e-05/0.3097, allocations: 1.406 kB / 0.5687 GB, free: 31.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3097, allocations: 0.7031 kB / 0.5687 GB, free: 31.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3098, allocations: 1.062 kB / 0.5687 GB, free: 31.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.3098, allocations: 0.5625 kB / 0.5687 GB, free: 31.8 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.0001916/0.31, allocations: 313 kB / 0.569 GB, free: 31.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.31, allocations: 10.12 kB / 0.569 GB, free: 31.45 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.302e-05/0.31, allocations: 33.52 kB / 0.569 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.926e-05/0.3101, allocations: 2.312 kB / 0.569 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.874e-05/0.3101, allocations: 165.7 kB / 0.5692 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.3101, allocations: 384 / 0.5692 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.26e-06/0.3101, allocations: 1.875 kB / 0.5692 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.373e-05/0.3102, allocations: 29.38 kB / 0.5692 GB, free: 31.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.3102, allocations: 3.938 kB / 0.5692 GB, free: 31.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-06/0.3102, allocations: 2.906 kB / 0.5692 GB, free: 31.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3102, allocations: 1.156 kB / 0.5692 GB, free: 31.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.482e-05/0.3102, allocations: 2.125 kB / 0.5692 GB, free: 31.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.3104, allocations: 375.1 kB / 0.5696 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.75e-05/0.3105, allocations: 175.2 kB / 0.5697 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.3105, allocations: 83.66 kB / 0.5698 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.3105, allocations: 79.28 kB / 0.5699 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.3106, allocations: 107.8 kB / 0.57 GB, free: 30.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3106, allocations: 1.594 kB / 0.57 GB, free: 30.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.847e-05/0.3106, allocations: 35.73 kB / 0.57 GB, free: 30.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.3107, allocations: 127.6 kB / 0.5701 GB, free: 30.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.445e-05/0.3107, allocations: 93.77 kB / 0.5702 GB, free: 30.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.38e-06/0.3108, allocations: 30.14 kB / 0.5703 GB, free: 30 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.716e-05/0.3108, allocations: 86.67 kB / 0.5703 GB, free: 29.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.3108, allocations: 0 / 0.5703 GB, free: 29.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.3108, allocations: 16.94 kB / 0.5704 GB, free: 29.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.763e-05/0.3109, allocations: 312.3 kB / 0.5707 GB, free: 29.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.705e-06/0.3109, allocations: 2.031 kB / 0.5707 GB, free: 29.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-06/0.3109, allocations: 1.219 kB / 0.5707 GB, free: 29.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.917e-05/0.3109, allocations: 7.469 kB / 0.5707 GB, free: 29.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3109, allocations: 5.781 kB / 0.5707 GB, free: 29.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.836e-05/0.311, allocations: 36.62 kB / 0.5707 GB, free: 29.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.311, allocations: 8.469 kB / 0.5707 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.311, allocations: 1.156 kB / 0.5707 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.311, allocations: 2.156 kB / 0.5707 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.857e-05/0.3111, allocations: 10.17 kB / 0.5707 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3111, allocations: 1 kB / 0.5707 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.042e-05/0.3111, allocations: 1.25 kB / 0.5707 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.3111, allocations: 0 / 0.5707 GB, free: 29.52 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 4.922e-05/0.3112, allocations: 193.6 kB / 0.5709 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.3112, allocations: 103.3 kB / 0.571 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/0.3112, allocations: 110.1 kB / 0.5711 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.729e-05/0.3113, allocations: 178.6 kB / 0.5713 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.952e-05/0.3113, allocations: 183.1 kB / 0.5715 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-05/0.3113, allocations: 182.9 kB / 0.5716 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.3115, allocations: 400.8 kB / 0.572 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.816e-05/0.3115, allocations: 107.9 kB / 0.5721 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.83e-05/0.3115, allocations: 103.4 kB / 0.5722 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.883e-05/0.3116, allocations: 182.3 kB / 0.5724 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.3116, allocations: 184.4 kB / 0.5726 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.461e-05/0.3116, allocations: 178.4 kB / 0.5727 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.684e-05/0.3117, allocations: 183.7 kB / 0.5729 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.39e-05/0.3117, allocations: 314.4 kB / 0.5732 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.3118, allocations: 180 kB / 0.5734 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.3118, allocations: 178.7 kB / 0.5736 GB, free: 26.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.632e-05/0.3119, allocations: 107.7 kB / 0.5737 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.3119, allocations: 179 kB / 0.5738 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.312, allocations: 107.3 kB / 0.5739 GB, free: 26.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.686e-05/0.312, allocations: 81.66 kB / 0.574 GB, free: 26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.312, allocations: 0 / 0.574 GB, free: 26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.3122, allocations: 1.219 kB / 0.574 GB, free: 26 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.0002092/0.3124, allocations: 0.8116 MB / 0.5748 GB, free: 25.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 4.891e-05/0.3125, allocations: 11.91 kB / 0.5748 GB, free: 25.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.3125, allocations: 0 / 0.5748 GB, free: 25.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.304e-06/0.3125, allocations: 6 kB / 0.5748 GB, free: 25.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.3128, allocations: 459 kB / 0.5753 GB, free: 24.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000255/0.313, allocations: 175.7 kB / 0.5754 GB, free: 24.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.616e-05/0.3131, allocations: 0.6706 MB / 0.5761 GB, free: 23.83 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.034e-05/0.3131, allocations: 1.812 kB / 0.5761 GB, free: 23.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.393e-05/0.3131, allocations: 9.031 kB / 0.5761 GB, free: 23.82 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3132, allocations: 0 / 0.5761 GB, free: 23.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01549/0.3286, allocations: 0.924 MB / 0.577 GB, free: 23.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.068/7.397, allocations: 11.95 kB / 0.577 GB, free: 23.52 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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)