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.001626/0.001626, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002029/0.002029, allocations: 188.1 kB / 16.64 MB, free: 6.594 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.329/1.329, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.625/1.625, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.00148/0.001481, allocations: 80.73 kB / 0.6718 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2326, allocations: 114.5 MB / 0.7837 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001901/0.2345, allocations: 0.5727 MB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.2357, allocations: 0.9876 MB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.156e-05/0.2358, allocations: 3.938 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.2358, allocations: 0 / 0.7852 GB, free: 11.65 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/shaGFunction.mo:2:1-78:17:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.shaGFunction' contains a call to impure function 'Buildings.Utilities.Cryptographics.sha'. Notification: Performance of NFTyping.typeBindings: time 0.0006752/0.2365, allocations: 91.78 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.643e-05/0.2365, allocations: 15.92 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.422e-05/0.2366, allocations: 3.984 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.119e-05/0.2367, allocations: 4 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.658e-05/0.2367, allocations: 4 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.429e-05/0.2368, allocations: 4 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.2368, allocations: 0 / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.237, allocations: 75.91 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.237, allocations: 0 / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.941e-05/0.237, allocations: 7.938 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.2372, allocations: 67.86 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2372, allocations: 0 / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2372, allocations: 4 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2372, allocations: 0 / 0.7855 GB, free: 11.38 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.0003207/0.2375, allocations: 339.8 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2376, allocations: 12.03 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.857e-05/0.2376, allocations: 34.69 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.27e-05/0.2376, allocations: 4.844 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.2377, allocations: 160.4 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.2377, allocations: 384 / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.2378, allocations: 4.375 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.575e-05/0.2378, allocations: 37.64 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.2378, allocations: 0 / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.2379, allocations: 3.984 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2379, allocations: 3.984 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.888e-05/0.2379, allocations: 7.938 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.2383, allocations: 460.6 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.456e-05/0.2384, allocations: 173.2 kB / 0.7866 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.983e-05/0.2384, allocations: 80.14 kB / 0.7867 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.2384, allocations: 75.28 kB / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.299e-05/0.2385, allocations: 117.8 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.2385, allocations: 0 / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.449e-05/0.2386, allocations: 25.7 kB / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/0.2387, allocations: 138.7 kB / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.033e-05/0.2388, allocations: 93.86 kB / 0.7872 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.2388, allocations: 25.7 kB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.2388, allocations: 84.14 kB / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.2388, allocations: 0 / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.2389, allocations: 17.66 kB / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.239, allocations: 318.8 kB / 0.7876 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-06/0.239, allocations: 4 kB / 0.7876 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.213e-06/0.239, allocations: 4 kB / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.364e-05/0.239, allocations: 8.797 kB / 0.7876 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.239, allocations: 0 / 0.7876 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.826e-05/0.2391, allocations: 37.7 kB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2392, allocations: 4 kB / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2392, allocations: 0 / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.2392, allocations: 0 / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.478e-05/0.2392, allocations: 0 / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2392, allocations: 8.078 kB / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/0.2392, allocations: 7.906 kB / 0.7877 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.2392, allocations: 0 / 0.7877 GB, free: 8.875 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 7.794e-05/0.2393, allocations: 189.7 kB / 0.7878 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.2394, allocations: 104.9 kB / 0.7879 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.12e-05/0.2394, allocations: 111.9 kB / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.589e-05/0.2395, allocations: 185.3 kB / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.549e-05/0.2396, allocations: 184.2 kB / 0.7884 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.078e-05/0.2396, allocations: 180.3 kB / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.2398, allocations: 405.1 kB / 0.789 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-05/0.2399, allocations: 105 kB / 0.7891 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.2399, allocations: 112.9 kB / 0.7892 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.773e-05/0.2399, allocations: 180.3 kB / 0.7893 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-05/0.24, allocations: 176.3 kB / 0.7895 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.27e-05/0.2401, allocations: 180.4 kB / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.851e-05/0.2402, allocations: 184.2 kB / 0.7898 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.2403, allocations: 311.7 kB / 0.7901 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.2404, allocations: 182.1 kB / 0.7903 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.2404, allocations: 184.2 kB / 0.7905 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.76e-05/0.2405, allocations: 101 kB / 0.7906 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.2406, allocations: 188.2 kB / 0.7908 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.2406, allocations: 101 kB / 0.7909 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.2407, allocations: 83.28 kB / 0.7909 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2407, allocations: 0 / 0.7909 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002454/0.2409, allocations: 19.98 kB / 0.791 GB, free: 5.254 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.0005657/0.2415, allocations: 0.8775 MB / 0.7918 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.764e-05/0.2416, allocations: 4 kB / 0.7918 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2416, allocations: 0 / 0.7918 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.2416, allocations: 0 / 0.7918 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.2419, allocations: 459.6 kB / 0.7923 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000934/0.2428, allocations: 1.271 MB / 0.7935 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.2431, allocations: 0.6767 MB / 0.7942 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.469e-05/0.2431, allocations: 0 / 0.7942 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.2431, allocations: 11.44 kB / 0.7942 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2431, allocations: 0 / 0.7942 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.2598, allocations: 1.538 MB / 0.7957 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.085/7.345, allocations: 8.875 kB / 0.7957 GB, free: 0.4922 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)