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.001624/0.001624, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001203/0.001203, allocations: 194.2 kB / 16.13 MB, free: 6.664 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.37/1.37, allocations: 205.1 MB / 222 MB, free: 4.719 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.702/1.702, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.00142/0.00142, allocations: 68.78 kB / 0.671 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2319, allocations: 114.6 MB / 0.7828 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002004/0.234, allocations: 0.6261 MB / 0.7835 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.2353, allocations: 1 MB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.468e-05/0.2353, allocations: 0 / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.2353, allocations: 3.938 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006464/0.236, allocations: 79.84 kB / 0.7845 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.794e-05/0.236, allocations: 8 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.417e-05/0.2361, allocations: 12 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.844e-05/0.2361, allocations: 4 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.659e-05/0.2362, allocations: 3.938 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.2364, allocations: 27.97 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.2364, allocations: 4 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.2366, allocations: 75.91 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.2366, allocations: 0 / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.2367, allocations: 19.86 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.2368, allocations: 67.91 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2369, allocations: 0 / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2369, allocations: 4 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.2369, allocations: 0 / 0.7847 GB, free: 11.91 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.0003662/0.2372, allocations: 331.8 kB / 0.785 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.2373, allocations: 12.03 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.2373, allocations: 30.75 kB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.2374, allocations: 4.844 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.2375, allocations: 160.4 kB / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.2375, allocations: 384 / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.2375, allocations: 4.375 kB / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.986e-05/0.2376, allocations: 37.62 kB / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2377, allocations: 0 / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.2377, allocations: 0 / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2377, allocations: 0 / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.327e-05/0.2377, allocations: 7.938 kB / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.2381, allocations: 460.6 kB / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.2382, allocations: 181.2 kB / 0.7859 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.581e-05/0.2383, allocations: 84.08 kB / 0.786 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.2383, allocations: 75.28 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.69e-05/0.2384, allocations: 113.8 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/0.2384, allocations: 0 / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.639e-05/0.2384, allocations: 25.7 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.2385, allocations: 134.7 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/0.2386, allocations: 97.86 kB / 0.7864 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.2386, allocations: 25.7 kB / 0.7864 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.2387, allocations: 84.12 kB / 0.7865 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.2387, allocations: 0 / 0.7865 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.2387, allocations: 13.72 kB / 0.7865 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2388, allocations: 322.7 kB / 0.7868 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-06/0.2389, allocations: 0 / 0.7868 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-06/0.2389, allocations: 8 kB / 0.7868 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.686e-05/0.2389, allocations: 8.797 kB / 0.7869 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2389, allocations: 0 / 0.7869 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.335e-05/0.239, allocations: 37.69 kB / 0.7869 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.239, allocations: 4 kB / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.239, allocations: 0 / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.239, allocations: 0 / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.566e-05/0.2391, allocations: 0 / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2391, allocations: 0 / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.545e-05/0.2391, allocations: 12 kB / 0.7869 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.2391, allocations: 0 / 0.7869 GB, free: 9.426 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.282e-05/0.2392, allocations: 191.9 kB / 0.7871 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.329e-05/0.2393, allocations: 104.9 kB / 0.7872 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.342e-05/0.2393, allocations: 112.1 kB / 0.7873 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.129e-05/0.2394, allocations: 180.2 kB / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.421e-05/0.2395, allocations: 180.4 kB / 0.7876 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.439e-05/0.2395, allocations: 184.3 kB / 0.7878 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.2398, allocations: 409.1 kB / 0.7882 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.299e-05/0.2398, allocations: 101 kB / 0.7883 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/0.2399, allocations: 108.9 kB / 0.7884 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001114/0.24, allocations: 184.3 kB / 0.7886 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.2401, allocations: 180.3 kB / 0.7887 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001255/0.2403, allocations: 184.2 kB / 0.7889 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.175e-05/0.2403, allocations: 184.2 kB / 0.7891 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.2405, allocations: 311.7 kB / 0.7894 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.2406, allocations: 186.3 kB / 0.7896 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.277e-05/0.2407, allocations: 180.2 kB / 0.7897 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.427e-05/0.2408, allocations: 101 kB / 0.7898 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.2408, allocations: 188.2 kB / 0.79 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.2409, allocations: 101 kB / 0.7901 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.704e-05/0.2409, allocations: 87.27 kB / 0.7902 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2409, allocations: 4 kB / 0.7902 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002925/0.2412, allocations: 16 kB / 0.7902 GB, free: 5.797 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.0005867/0.2418, allocations: 0.8721 MB / 0.7911 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.468e-05/0.2419, allocations: 0 / 0.7911 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2419, allocations: 0 / 0.7911 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.2419, allocations: 0 / 0.7911 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.2423, allocations: 0.5263 MB / 0.7916 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000499/0.2428, allocations: 239.6 kB / 0.7918 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.243, allocations: 0.6731 MB / 0.7925 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.457e-05/0.2431, allocations: 4 kB / 0.7925 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.2431, allocations: 7.438 kB / 0.7925 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2431, allocations: 0 / 0.7925 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01202/0.2551, allocations: 1.404 MB / 0.7939 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/0.2554, allocations: 316.6 kB / 0.7942 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.075, allocations: 2.25 kB / 0.7942 GB, free: 1.805 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)