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.0008279/0.000828, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005479/0.005479, allocations: 172.4 kB / 16.27 MB, free: 6.656 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.471/1.471, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.718/1.718, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0009182/0.0009183, allocations: 17.55 kB / 0.6745 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2338, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.000713/0.2346, allocations: 306 kB / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.2359, allocations: 0.9888 MB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.532e-05/0.2359, allocations: 4 kB / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.1e-05/0.236, allocations: 3.938 kB / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006354/0.2366, allocations: 75.84 kB / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.102e-05/0.2367, allocations: 8 kB / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.001e-05/0.2367, allocations: 11.94 kB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.2367, allocations: 0 / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.064e-05/0.2368, allocations: 7.938 kB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.237, allocations: 32.61 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.556e-06/0.237, allocations: 4 kB / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.2372, allocations: 79.91 kB / 0.7895 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.546e-06/0.2372, allocations: 0 / 0.7895 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.2373, allocations: 29.7 kB / 0.7895 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.2374, allocations: 75.83 kB / 0.7896 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2375, allocations: 0 / 0.7896 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.963e-06/0.2375, allocations: 4 kB / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.2375, allocations: 0 / 0.7896 GB, free: 9.82 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.0002888/0.2378, allocations: 323.8 kB / 0.7899 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.2378, allocations: 12.03 kB / 0.7899 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.436e-05/0.2379, allocations: 38.75 kB / 0.79 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.061e-05/0.2379, allocations: 4.844 kB / 0.79 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.238, allocations: 160.4 kB / 0.7901 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.148e-06/0.238, allocations: 4.312 kB / 0.7901 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.238, allocations: 4.375 kB / 0.7901 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.646e-05/0.2381, allocations: 29.64 kB / 0.7902 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2381, allocations: 3.984 kB / 0.7902 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-06/0.2381, allocations: 0 / 0.7902 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2381, allocations: 0 / 0.7902 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.95e-05/0.2382, allocations: 8 kB / 0.7902 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.2386, allocations: 460.6 kB / 0.7906 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.976e-05/0.2386, allocations: 177.1 kB / 0.7908 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.487e-05/0.2387, allocations: 84.17 kB / 0.7909 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.2387, allocations: 79.22 kB / 0.7909 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.2388, allocations: 109.8 kB / 0.791 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.2388, allocations: 0 / 0.791 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.128e-05/0.2389, allocations: 25.7 kB / 0.7911 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.2389, allocations: 138.6 kB / 0.7912 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.434e-05/0.239, allocations: 97.86 kB / 0.7913 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.239, allocations: 25.7 kB / 0.7913 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.2391, allocations: 84.14 kB / 0.7914 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.2391, allocations: 0 / 0.7914 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.2391, allocations: 9.719 kB / 0.7914 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.58e-05/0.2392, allocations: 322.8 kB / 0.7917 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.2392, allocations: 4 kB / 0.7917 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-06/0.2392, allocations: 3.938 kB / 0.7917 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.88e-05/0.2393, allocations: 8.859 kB / 0.7917 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2393, allocations: 0 / 0.7917 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001052/0.2394, allocations: 37.7 kB / 0.7918 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2394, allocations: 4 kB / 0.7918 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2394, allocations: 4 kB / 0.7918 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.2394, allocations: 0 / 0.7918 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-05/0.2395, allocations: 0 / 0.7918 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2395, allocations: 0 / 0.7918 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.571e-05/0.2395, allocations: 3.906 kB / 0.7918 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.2395, allocations: 7.984 kB / 0.7918 GB, free: 7.336 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 8.927e-05/0.2396, allocations: 189.1 kB / 0.792 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.036e-05/0.2397, allocations: 109 kB / 0.7921 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/0.2397, allocations: 108 kB / 0.7922 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-05/0.2398, allocations: 180.3 kB / 0.7923 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.683e-05/0.2398, allocations: 180.3 kB / 0.7925 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.568e-05/0.2399, allocations: 184.2 kB / 0.7927 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.2401, allocations: 409.2 kB / 0.7931 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.134e-05/0.2402, allocations: 108.9 kB / 0.7932 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.2402, allocations: 101 kB / 0.7933 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.012e-05/0.2402, allocations: 176.3 kB / 0.7935 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.787e-05/0.2403, allocations: 184.2 kB / 0.7936 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.367e-05/0.2404, allocations: 176.3 kB / 0.7938 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.193e-05/0.2404, allocations: 188.2 kB / 0.794 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.2406, allocations: 315.6 kB / 0.7943 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.2407, allocations: 182.1 kB / 0.7945 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.808e-05/0.2407, allocations: 184.2 kB / 0.7946 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.2408, allocations: 108.9 kB / 0.7947 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.347e-05/0.2409, allocations: 176.5 kB / 0.7949 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.2409, allocations: 104.9 kB / 0.795 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.333e-05/0.241, allocations: 91.25 kB / 0.7951 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.241, allocations: 0 / 0.7951 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002702/0.2413, allocations: 20 kB / 0.7951 GB, free: 3.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.000641/0.2419, allocations: 0.8644 MB / 0.796 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.867e-05/0.242, allocations: 4 kB / 0.796 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.242, allocations: 0 / 0.796 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.093e-06/0.242, allocations: 8 kB / 0.796 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.2424, allocations: 0.5178 MB / 0.7965 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005686/0.243, allocations: 239.1 kB / 0.7967 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.2432, allocations: 0.6731 MB / 0.7974 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.414e-05/0.2432, allocations: 4 kB / 0.7974 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.2433, allocations: 15.42 kB / 0.7974 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of SimCode: time 4e-07/0.2433, allocations: 3.938 kB / 0.7974 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01061/0.2539, allocations: 1.31 MB / 0.7987 GB, free: 212 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000246/0.2542, allocations: 318.5 kB / 0.799 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.11, allocations: 0 / 0.799 GB, free: 15.83 MB / 0.6231 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)