Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_7_0_0_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/Buildings 7.0.1/package.mo): time 2.143/2.143, allocations: 248.7 MB / 256.2 MB, free: 7.082 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001484/0.001484, allocations: 172.9 kB / 315.4 MB, free: 4 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.3 MB / 0.5662 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.001119, allocations: 90.03 kB / 0.6704 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.61e-05/4.592e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.235, allocations: 106.3 MB / 0.8841 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8867/1.122, allocations: 133.3 MB / 1.014 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003696/1.122, allocations: 104.4 kB / 1.014 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007377/1.13, allocations: 2.025 MB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.513e-06/1.13, allocations: 0 / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.051e-06/1.13, allocations: 4 kB / 1.016 GB, free: 3.949 MB / 0.6355 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.0003215/1.13, allocations: 330.5 kB / 1.017 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/1.13, allocations: 8.031 kB / 1.017 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/1.13, allocations: 4 kB / 1.017 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/1.13, allocations: 170.3 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/1.13, allocations: 0 / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/1.13, allocations: 0 / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.363e-05/1.13, allocations: 4 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.103e-05/1.13, allocations: 32.3 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/1.13, allocations: 4 kB / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/1.131, allocations: 0 / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/1.131, allocations: 0 / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/1.131, allocations: 444 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.799e-05/1.131, allocations: 168.3 kB / 1.018 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.398e-05/1.131, allocations: 84.14 kB / 1.018 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/1.131, allocations: 75.28 kB / 1.018 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.214e-05/1.131, allocations: 117.8 kB / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/1.131, allocations: 3.938 kB / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.245e-05/1.131, allocations: 25.7 kB / 1.018 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/1.131, allocations: 51.41 kB / 1.018 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.677e-05/1.131, allocations: 95.98 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/1.132, allocations: 29.7 kB / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/1.132, allocations: 84.14 kB / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/1.132, allocations: 0 / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/1.132, allocations: 0 / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.132, allocations: 318 kB / 1.018 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-06/1.132, allocations: 0.8438 kB / 1.018 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.578e-06/1.132, allocations: 3.984 kB / 1.018 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.8e-05/1.132, allocations: 4 kB / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.132, allocations: 4.062 kB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001337/1.132, allocations: 37.64 kB / 1.018 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.132, allocations: 6.656 kB / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.132, allocations: 3.984 kB / 1.018 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/1.132, allocations: 4 kB / 1.018 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.822e-05/1.132, allocations: 0 / 1.018 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/1.132, allocations: 3.938 kB / 1.018 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.808e-05/1.132, allocations: 0 / 1.018 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/1.132, allocations: 0 / 1.018 GB, free: 1.676 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/1.132, allocations: 184.2 kB / 1.019 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.368e-05/1.132, allocations: 138.5 kB / 1.019 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.259e-05/1.132, allocations: 108.4 kB / 1.019 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.863e-05/1.133, allocations: 108.7 kB / 1.019 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.589e-05/1.133, allocations: 180.2 kB / 1.019 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.29e-05/1.133, allocations: 176.3 kB / 1.019 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.722e-05/1.133, allocations: 181 kB / 1.019 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/1.133, allocations: 392.6 kB / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.437e-05/1.133, allocations: 101 kB / 1.02 GB, free: 36 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.8e-05/1.133, allocations: 105 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.767e-05/1.133, allocations: 184.2 kB / 1.02 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.435e-05/1.133, allocations: 180.2 kB / 1.02 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.577e-05/1.133, allocations: 180.9 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.389e-05/1.134, allocations: 180.2 kB / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/1.134, allocations: 311.2 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/1.134, allocations: 190 kB / 1.021 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.35e-05/1.134, allocations: 183 kB / 1.021 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/1.134, allocations: 101 kB / 1.021 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.094e-05/1.134, allocations: 185.2 kB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-05/1.134, allocations: 105 kB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.444e-05/1.134, allocations: 78.28 kB / 1.022 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4e-07/1.134, allocations: 0 / 1.022 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000386/1.135, allocations: 24 kB / 1.022 GB, free: 13.97 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008231/1.136, allocations: 0.8703 MB / 1.023 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 5.997e-05/1.136, allocations: 4 kB / 1.023 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.136, allocations: 0 / 1.023 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.384e-06/1.136, allocations: 0 / 1.023 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/1.136, allocations: 0.5267 MB / 1.023 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004722/1.141, allocations: 1.072 MB / 1.024 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/1.141, allocations: 0.6768 MB / 1.025 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.35e-05/1.141, allocations: 0 / 1.025 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/1.141, allocations: 18.75 kB / 1.025 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of SimCode: time 1.212e-06/1.141, allocations: 0 / 1.025 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0345/1.176, allocations: 0.9814 MB / 1.026 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003365/1.176, allocations: 246.7 kB / 1.026 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/3.608, allocations: 0 / 1.026 GB, free: 9.609 MB / 0.6511 GB