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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.72/1.72, allocations: 289.9 MB / 297.4 MB, free: 6.422 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 172.9 kB / 366.7 MB, free: 1.668 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.2 MB / 0.626 GB, free: 7.203 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008775/0.0008775, allocations: 99.39 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.118e-05/2.127e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.734/0.7341, allocations: 116.3 MB / 0.9734 GB, free: 76.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1912/0.9253, allocations: 139.8 MB / 1.11 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.9257, allocations: 100.5 kB / 1.11 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004838/0.9305, allocations: 2.021 MB / 1.112 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9306, allocations: 0.6562 kB / 1.112 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.9306, allocations: 1.875 kB / 1.112 GB, free: 8.172 MB / 0.7136 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.000274/0.9309, allocations: 334.3 kB / 1.112 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.9309, allocations: 8.781 kB / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.9309, allocations: 0 / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.9311, allocations: 171.5 kB / 1.113 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.9311, allocations: 3.406 kB / 1.113 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.9311, allocations: 0 / 1.113 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.561e-05/0.9312, allocations: 4.75 kB / 1.113 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.919e-05/0.9312, allocations: 30.2 kB / 1.113 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.9313, allocations: 0 / 1.113 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.9313, allocations: 0.5312 kB / 1.113 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.9313, allocations: 0.5625 kB / 1.113 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/0.9317, allocations: 446.3 kB / 1.113 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.485e-05/0.9318, allocations: 170.5 kB / 1.113 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.021e-05/0.9318, allocations: 88.95 kB / 1.113 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.9319, allocations: 76.16 kB / 1.113 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/0.9319, allocations: 109.8 kB / 1.113 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.9319, allocations: 0 / 1.113 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.833e-05/0.932, allocations: 30.83 kB / 1.113 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.932, allocations: 51.41 kB / 1.113 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.822e-05/0.9321, allocations: 96.22 kB / 1.114 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.9321, allocations: 25.7 kB / 1.114 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/0.9322, allocations: 84.58 kB / 1.114 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-06/0.9322, allocations: 1.469 kB / 1.114 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-06/0.9322, allocations: 0 / 1.114 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.9323, allocations: 318.8 kB / 1.114 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.285e-06/0.9324, allocations: 0.625 kB / 1.114 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.9324, allocations: 0.5 kB / 1.114 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.35e-05/0.9324, allocations: 13.2 kB / 1.114 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.9324, allocations: 0 / 1.114 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001089/0.9326, allocations: 37.69 kB / 1.114 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.9326, allocations: 5.625 kB / 1.114 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.9326, allocations: 0.5312 kB / 1.114 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.9326, allocations: 0 / 1.114 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.553e-05/0.9326, allocations: 0.5625 kB / 1.114 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.9326, allocations: 4.531 kB / 1.114 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.444e-05/0.9327, allocations: 1.312 kB / 1.114 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.9327, allocations: 0 / 1.114 GB, free: 5.91 MB / 0.7136 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.0001015/0.9328, allocations: 185.7 kB / 1.114 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.433e-05/0.9329, allocations: 138.6 kB / 1.114 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.9329, allocations: 101 kB / 1.114 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.507e-05/0.933, allocations: 110 kB / 1.115 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.45e-05/0.9331, allocations: 180.2 kB / 1.115 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.546e-05/0.9331, allocations: 178.5 kB / 1.115 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.496e-05/0.9332, allocations: 182.9 kB / 1.115 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.9334, allocations: 390.6 kB / 1.115 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.846e-05/0.9334, allocations: 104.9 kB / 1.116 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.9335, allocations: 112.2 kB / 1.116 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.068e-05/0.9336, allocations: 185.5 kB / 1.116 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.529e-05/0.9336, allocations: 181.9 kB / 1.116 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.889e-05/0.9337, allocations: 176.3 kB / 1.116 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.308e-05/0.9338, allocations: 180.3 kB / 1.116 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.9339, allocations: 311.8 kB / 1.117 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.582e-05/0.934, allocations: 182 kB / 1.117 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.666e-05/0.9341, allocations: 180.3 kB / 1.117 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-05/0.9342, allocations: 105 kB / 1.117 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/0.9343, allocations: 189.1 kB / 1.117 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.9343, allocations: 101 kB / 1.117 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.977e-05/0.9344, allocations: 79.28 kB / 1.117 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9344, allocations: 0 / 1.117 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002836/0.9347, allocations: 24 kB / 1.117 GB, free: 2.199 MB / 0.7136 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.0006416/0.9353, allocations: 0.8661 MB / 1.118 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.113e-05/0.9354, allocations: 0 / 1.118 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9354, allocations: 0 / 1.118 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.9354, allocations: 0 / 1.118 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.9357, allocations: 0.5341 MB / 1.119 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003139/0.9389, allocations: 1.074 MB / 1.12 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.9392, allocations: 0.6768 MB / 1.121 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.001e-05/0.9392, allocations: 0 / 1.121 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.096e-05/0.9393, allocations: 11.44 kB / 1.121 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of SimCode: time 7.61e-07/0.9393, allocations: 0 / 1.121 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.9606, allocations: 0.9804 MB / 1.122 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002589/0.9609, allocations: 248.6 kB / 1.122 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.662, allocations: 0 / 1.122 GB, free: 13.73 MB / 0.7292 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/linux/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)