Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.442/1.442, allocations: 249.5 MB / 257 MB, free: 7.008 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.001009/0.001009, allocations: 179.3 kB / 316.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009/0.0008998, allocations: 88.58 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.295e-05/2.289e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2079, allocations: 106.4 MB / 0.8854 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7252/0.9331, allocations: 133.5 MB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.9334, allocations: 105 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00475/0.9382, allocations: 2.016 MB / 1.018 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9382, allocations: 0 / 1.018 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.9382, allocations: 0 / 1.018 GB, free: 2.367 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.0002727/0.9385, allocations: 326.6 kB / 1.018 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.9386, allocations: 8.031 kB / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.9386, allocations: 0 / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.9387, allocations: 171.8 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.9388, allocations: 1 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.9388, allocations: 0 / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.706e-05/0.9388, allocations: 0 / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.523e-05/0.9389, allocations: 39.47 kB / 1.018 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.9389, allocations: 0 / 1.018 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.9389, allocations: 3.984 kB / 1.018 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.9389, allocations: 4 kB / 1.018 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.9393, allocations: 440.5 kB / 1.019 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.519e-05/0.9394, allocations: 177 kB / 1.019 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.9395, allocations: 80.14 kB / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.9395, allocations: 79.28 kB / 1.019 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.9396, allocations: 108.7 kB / 1.019 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 3.526e-06/0.9396, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.134e-05/0.9396, allocations: 33.64 kB / 1.019 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.9397, allocations: 51.41 kB / 1.019 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.161e-05/0.9398, allocations: 100.9 kB / 1.019 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.9398, allocations: 25.7 kB / 1.019 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.013e-05/0.9399, allocations: 84.14 kB / 1.019 GB, free: 492 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.9399, allocations: 0 / 1.019 GB, free: 492 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-06/0.9399, allocations: 0 / 1.019 GB, free: 492 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.94, allocations: 314.8 kB / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.94, allocations: 7.938 kB / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-06/0.94, allocations: 0 / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.665e-05/0.9401, allocations: 7.984 kB / 1.02 GB, free: 152 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.9401, allocations: 0 / 1.02 GB, free: 152 kB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000112/0.9402, allocations: 38.17 kB / 1.02 GB, free: 108 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.9402, allocations: 8.094 kB / 1.02 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.9402, allocations: 0 / 1.02 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.9403, allocations: 0 / 1.02 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.505e-05/0.9403, allocations: 0 / 1.02 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.9403, allocations: 0 / 1.02 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.481e-05/0.9403, allocations: 4 kB / 1.02 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.9403, allocations: 11.86 kB / 1.02 GB, free: 88 kB / 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.0001147/0.9404, allocations: 180.2 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.638e-05/0.9405, allocations: 138.6 kB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.571e-05/0.9406, allocations: 101 kB / 1.02 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.9407, allocations: 112.7 kB / 1.02 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.465e-05/0.9407, allocations: 180.3 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.889e-05/0.9408, allocations: 176.3 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-05/0.9409, allocations: 180.9 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.9411, allocations: 393.5 kB / 1.021 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-05/0.9412, allocations: 101 kB / 1.021 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.832e-05/0.9412, allocations: 108.9 kB / 1.021 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.487e-05/0.9413, allocations: 176.3 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.596e-05/0.9413, allocations: 176.3 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.351e-05/0.9414, allocations: 188.2 kB / 1.022 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.777e-05/0.9415, allocations: 180.3 kB / 1.022 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.9416, allocations: 307.3 kB / 1.022 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.813e-05/0.9417, allocations: 182.1 kB / 1.023 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.67e-05/0.9418, allocations: 184 kB / 1.023 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/0.9419, allocations: 116.9 kB / 1.023 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.956e-05/0.942, allocations: 177.2 kB / 1.023 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.9421, allocations: 101 kB / 1.023 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.193e-05/0.9421, allocations: 83.27 kB / 1.023 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9421, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002836/0.9424, allocations: 24 kB / 1.023 GB, free: 12.38 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.0006693/0.9431, allocations: 0.8736 MB / 1.024 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 5.82e-05/0.9431, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9432, allocations: 64 / 1.024 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.9432, allocations: 4 kB / 1.024 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.9435, allocations: 0.5285 MB / 1.025 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.9465, allocations: 1.063 MB / 1.026 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.9468, allocations: 0.6768 MB / 1.026 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.504e-05/0.9468, allocations: 0 / 1.026 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.9469, allocations: 11.44 kB / 1.026 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of SimCode: time 4.1e-07/0.9469, allocations: 0 / 1.026 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.9677, allocations: 1.003 MB / 1.027 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003229/0.9681, allocations: 250.8 kB / 1.028 GB, free: 8.027 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/2.551, allocations: 0.8594 kB / 1.028 GB, free: 8.027 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)