Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_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.005081/0.00508, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00131/0.00131, allocations: 200.8 kB / 16.68 MB, free: 5.969 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9856/0.9856, allocations: 143.3 MB / 433.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 63.89 kB / 0.5954 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3054, allocations: 82.03 MB / 0.6755 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001216/0.3067, allocations: 0.5376 MB / 0.676 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006355/0.3073, allocations: 0.7849 MB / 0.6768 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.221e-05/0.3073, allocations: 0 / 0.6768 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.24e-05/0.3073, allocations: 0 / 0.6768 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.509e-06/0.3074, allocations: 0 / 0.6768 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.3076, allocations: 23.27 kB / 0.6768 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 2.956e-05/0.3076, allocations: 1.344 kB / 0.6768 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.447e-05/0.3077, allocations: 1.406 kB / 0.6768 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.068e-05/0.3077, allocations: 0 / 0.6768 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.3078, allocations: 27.84 kB / 0.6768 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.471e-06/0.3078, allocations: 0 / 0.6768 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.685e-06/0.3078, allocations: 0 / 0.6768 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.694e-06/0.3078, allocations: 5.062 kB / 0.6768 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.525e-05/0.3078, allocations: 0 / 0.6768 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 2.975e-05/0.3079, allocations: 5.062 kB / 0.6768 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.3079, allocations: 0 / 0.6768 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3079, allocations: 0 / 0.6768 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.3079, allocations: 1.062 kB / 0.6768 GB, free: 15.87 MB / 0.5137 GB 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.0002582/0.3082, allocations: 313.5 kB / 0.6771 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3082, allocations: 10.09 kB / 0.6771 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.088e-05/0.3082, allocations: 30.75 kB / 0.6772 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.699e-05/0.3083, allocations: 2.125 kB / 0.6772 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.824e-05/0.3084, allocations: 164.4 kB / 0.6773 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.3084, allocations: 384 / 0.6773 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-06/0.3084, allocations: 1.594 kB / 0.6773 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.78e-05/0.3084, allocations: 29.94 kB / 0.6773 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.3085, allocations: 7.922 kB / 0.6774 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.89e-06/0.3085, allocations: 1.125 kB / 0.6774 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-06/0.3085, allocations: 0 / 0.6774 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.466e-05/0.3085, allocations: 5.094 kB / 0.6774 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.3088, allocations: 385.7 kB / 0.6777 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.045e-05/0.3089, allocations: 174.1 kB / 0.6779 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.547e-05/0.3089, allocations: 85.23 kB / 0.678 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.309, allocations: 75.28 kB / 0.678 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.751e-05/0.309, allocations: 111.1 kB / 0.6782 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 3.516e-06/0.309, allocations: 3.938 kB / 0.6782 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 5.669e-05/0.3091, allocations: 34.91 kB / 0.6782 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.3092, allocations: 126.7 kB / 0.6783 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.724e-05/0.3092, allocations: 92.17 kB / 0.6784 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.3093, allocations: 25.7 kB / 0.6784 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.3093, allocations: 81.05 kB / 0.6785 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.3093, allocations: 128 / 0.6785 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.3093, allocations: 19.84 kB / 0.6785 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3095, allocations: 312 kB / 0.6788 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.151e-06/0.3095, allocations: 0 / 0.6788 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.037e-06/0.3095, allocations: 1.188 kB / 0.6788 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.516e-05/0.3095, allocations: 10.95 kB / 0.6788 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3095, allocations: 3.938 kB / 0.6788 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.624e-05/0.3096, allocations: 35 kB / 0.6789 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.3096, allocations: 9.438 kB / 0.6789 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/0.3096, allocations: 0 / 0.6789 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.3096, allocations: 5.781 kB / 0.6789 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.611e-05/0.3097, allocations: 0 / 0.6789 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.3097, allocations: 1.25 kB / 0.6789 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.074e-05/0.3097, allocations: 4 kB / 0.6789 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-06/0.3097, allocations: 1.031 kB / 0.6789 GB, free: 13.56 MB / 0.5137 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 9.325e-05/0.3098, allocations: 189.7 kB / 0.6791 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.78e-05/0.3099, allocations: 113.9 kB / 0.6792 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.382e-05/0.3099, allocations: 105.3 kB / 0.6793 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.861e-05/0.31, allocations: 177.5 kB / 0.6794 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.877e-05/0.3101, allocations: 181.4 kB / 0.6796 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-05/0.3101, allocations: 180.3 kB / 0.6798 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.3104, allocations: 415.3 kB / 0.6802 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.861e-05/0.3104, allocations: 101 kB / 0.6803 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.705e-05/0.3105, allocations: 102 kB / 0.6804 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.248e-05/0.3106, allocations: 181.3 kB / 0.6806 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-05/0.3106, allocations: 185.5 kB / 0.6807 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.544e-05/0.3107, allocations: 181.2 kB / 0.6809 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.256e-05/0.3108, allocations: 185.5 kB / 0.6811 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.3109, allocations: 307.2 kB / 0.6814 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.313e-05/0.311, allocations: 183.4 kB / 0.6815 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.818e-05/0.3111, allocations: 185.3 kB / 0.6817 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.3112, allocations: 102.1 kB / 0.6818 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.433e-05/0.3113, allocations: 185.3 kB / 0.682 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.793e-05/0.3113, allocations: 110 kB / 0.6821 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.223e-05/0.3114, allocations: 76.38 kB / 0.6822 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.3114, allocations: 0 / 0.6822 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001892/0.3115, allocations: 5.188 kB / 0.6822 GB, free: 9.988 MB / 0.5137 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.0003943/0.3119, allocations: 0.8166 MB / 0.683 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 4.505e-05/0.312, allocations: 6.312 kB / 0.683 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.312, allocations: 0 / 0.683 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.312, allocations: 1.062 kB / 0.683 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.3123, allocations: 457.9 kB / 0.6834 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.3126, allocations: 173.6 kB / 0.6836 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.3129, allocations: 0.6701 MB / 0.6842 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.205e-06/0.3129, allocations: 1.062 kB / 0.6842 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.62e-05/0.3129, allocations: 13.14 kB / 0.6843 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of SimCode: time 1.913e-06/0.3129, allocations: 0 / 0.6843 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.156/1.469, allocations: 0.9716 MB / 0.6852 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.724/10.19, allocations: 18.33 kB / 0.6852 GB, free: 7.297 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)