Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",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.001064/0.001063, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001154/0.001154, allocations: 193.2 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.634/1.634, allocations: 292.3 MB / 0.5485 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 76.31 kB / 0.6712 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2438, allocations: 114.6 MB / 0.783 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001816/0.2456, allocations: 0.6286 MB / 0.7836 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.2468, allocations: 0.9848 MB / 0.7846 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.607e-05/0.2468, allocations: 0 / 0.7846 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.2469, allocations: 4 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006023/0.2475, allocations: 83.86 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.381e-05/0.2475, allocations: 11.98 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.714e-05/0.2476, allocations: 7.938 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.583e-05/0.2476, allocations: 0 / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.676e-05/0.2477, allocations: 7.984 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.2479, allocations: 31.91 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.736e-06/0.2479, allocations: 0 / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.248, allocations: 79.92 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/0.248, allocations: 4 kB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.2481, allocations: 11.92 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.2482, allocations: 59.94 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2482, allocations: 0 / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2482, allocations: 0 / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.2482, allocations: 0 / 0.7849 GB, free: 11.83 MB / 0.6075 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.0002906/0.2485, allocations: 331.8 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2486, allocations: 12.03 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.93e-05/0.2486, allocations: 34.73 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.14e-05/0.2486, allocations: 4.844 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.2487, allocations: 164.4 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.2488, allocations: 4.375 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-06/0.2488, allocations: 384 / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.54e-05/0.2489, allocations: 33.58 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.2489, allocations: 3.984 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.2489, allocations: 3.938 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2489, allocations: 0 / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.748e-05/0.2489, allocations: 7.984 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.2493, allocations: 476.5 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.63e-05/0.2494, allocations: 173.1 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.104e-05/0.2495, allocations: 84.17 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.2495, allocations: 75.28 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/0.2495, allocations: 109.8 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.2495, allocations: 0 / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.097e-05/0.2496, allocations: 29.7 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.2497, allocations: 126.7 kB / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.271e-05/0.2498, allocations: 101.8 kB / 0.7866 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.2498, allocations: 25.7 kB / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.2498, allocations: 84.08 kB / 0.7867 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.2498, allocations: 0 / 0.7867 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.2499, allocations: 21.72 kB / 0.7867 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.25, allocations: 318.8 kB / 0.787 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-06/0.25, allocations: 0 / 0.787 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-06/0.25, allocations: 4 kB / 0.787 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.045e-05/0.25, allocations: 4.859 kB / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.25, allocations: 0 / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.238e-05/0.2501, allocations: 33.7 kB / 0.7871 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.2502, allocations: 4 kB / 0.7871 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.2502, allocations: 4.094 kB / 0.7871 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.2502, allocations: 0 / 0.7871 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.475e-05/0.2502, allocations: 3.938 kB / 0.7871 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2502, allocations: 4 kB / 0.7871 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.546e-05/0.2502, allocations: 3.906 kB / 0.7871 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.2502, allocations: 3.984 kB / 0.7871 GB, free: 9.332 MB / 0.6075 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 (cmp) * 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.009e-05/0.2503, allocations: 192.3 kB / 0.7873 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.677e-05/0.2504, allocations: 105 kB / 0.7874 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.435e-05/0.2505, allocations: 108.1 kB / 0.7875 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.075e-05/0.2505, allocations: 180.3 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.475e-05/0.2506, allocations: 184.3 kB / 0.7878 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.558e-05/0.2507, allocations: 188.2 kB / 0.788 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.2509, allocations: 397.2 kB / 0.7884 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.168e-05/0.2509, allocations: 109 kB / 0.7885 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.754e-05/0.251, allocations: 112.9 kB / 0.7886 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-05/0.2511, allocations: 176.3 kB / 0.7887 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.202e-05/0.2511, allocations: 188.1 kB / 0.7889 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.858e-05/0.2512, allocations: 176.3 kB / 0.7891 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.458e-05/0.2513, allocations: 184.2 kB / 0.7893 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.2514, allocations: 319.7 kB / 0.7896 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.2515, allocations: 182 kB / 0.7897 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.2517, allocations: 176.3 kB / 0.7899 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.854e-05/0.2517, allocations: 108.9 kB / 0.79 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.2518, allocations: 184.3 kB / 0.7902 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.055e-05/0.2519, allocations: 101 kB / 0.7903 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.363e-05/0.2519, allocations: 83.28 kB / 0.7904 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2519, allocations: 0 / 0.7904 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002479/0.2522, allocations: 19.98 kB / 0.7904 GB, free: 5.707 MB / 0.6075 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.0006346/0.2528, allocations: 0.8674 MB / 0.7912 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.442e-05/0.2529, allocations: 0 / 0.7912 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2529, allocations: 0 / 0.7912 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.2529, allocations: 0 / 0.7912 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.2533, allocations: 467.7 kB / 0.7917 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005305/0.2538, allocations: 234.6 kB / 0.7919 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.2541, allocations: 0.669 MB / 0.7926 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.572e-05/0.2542, allocations: 4 kB / 0.7926 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.2542, allocations: 11.44 kB / 0.7926 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2542, allocations: 0 / 0.7926 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0107/0.2649, allocations: 1.427 MB / 0.794 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/0.2651, allocations: 322.4 kB / 0.7943 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.091, allocations: 5.812 kB / 0.7943 GB, free: 1.781 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)