Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009802/0.0009802, allocations: 92.7 kB / 16.02 MB, free: 80 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.001273/0.001274, allocations: 178.2 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.82/2.82, allocations: 462.6 MB / 0.737 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003602, allocations: 13.81 kB / 0.9035 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3476, allocations: 159.6 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0008078/0.3485, allocations: 302.9 kB / 1.06 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.3499, allocations: 1.003 MB / 1.061 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.507e-05/0.3499, allocations: 0 / 1.061 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.35, allocations: 0 / 1.061 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006971/0.3507, allocations: 87.83 kB / 1.061 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.497e-05/0.3507, allocations: 11.94 kB / 1.061 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.603e-05/0.3508, allocations: 11.98 kB / 1.061 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.722e-05/0.3508, allocations: 4 kB / 1.061 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.105e-05/0.3508, allocations: 4 kB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002557/0.3511, allocations: 35.84 kB / 1.061 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.3511, allocations: 3.938 kB / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.3513, allocations: 83.91 kB / 1.061 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.3513, allocations: 4 kB / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.3514, allocations: 25.7 kB / 1.061 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.3515, allocations: 55.92 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3515, allocations: 4 kB / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3515, allocations: 0 / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.3515, allocations: 0 / 1.061 GB, free: 3.309 MB / 0.8106 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.0003549/0.3519, allocations: 335.7 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.352, allocations: 15.91 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.352, allocations: 4.938 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.3521, allocations: 168.4 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.3522, allocations: 384 / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.3522, allocations: 384 / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.316e-05/0.3523, allocations: 37.81 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.3523, allocations: 0 / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.3523, allocations: 0 / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3523, allocations: 4 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.764e-05/0.3523, allocations: 0 / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.3528, allocations: 468.5 kB / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.857e-05/0.3529, allocations: 177.1 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.3529, allocations: 80.14 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.3529, allocations: 75.28 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.969e-05/0.353, allocations: 105.8 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.353, allocations: 0 / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.331e-05/0.3531, allocations: 37.62 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.3531, allocations: 130.7 kB / 1.063 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.55e-05/0.3532, allocations: 97.86 kB / 1.063 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.3533, allocations: 25.7 kB / 1.063 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.3533, allocations: 84.05 kB / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.3533, allocations: 4 kB / 1.063 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/0.3533, allocations: 9.719 kB / 1.063 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3534, allocations: 318.8 kB / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.444e-06/0.3535, allocations: 0 / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.471e-06/0.3535, allocations: 4 kB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.736e-05/0.3535, allocations: 12.86 kB / 1.063 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3535, allocations: 0 / 1.063 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.869e-05/0.3536, allocations: 33.64 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3536, allocations: 8 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3536, allocations: 0 / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.3537, allocations: 0 / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.528e-05/0.3537, allocations: 0 / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.3537, allocations: 7.922 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.3537, allocations: 4.094 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.3537, allocations: 4 kB / 1.063 GB, free: 0.8555 MB / 0.8106 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 0.000104/0.3538, allocations: 189 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.06e-05/0.3539, allocations: 101 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.281e-05/0.354, allocations: 116 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.962e-05/0.354, allocations: 176.5 kB / 1.064 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-05/0.3541, allocations: 192.3 kB / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.497e-05/0.3542, allocations: 184.3 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.3545, allocations: 409.2 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-05/0.3545, allocations: 104.9 kB / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.343e-05/0.3546, allocations: 101 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-05/0.3546, allocations: 188.2 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.479e-05/0.3547, allocations: 176.3 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.747e-05/0.3548, allocations: 176.3 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.463e-05/0.3548, allocations: 192.2 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.355, allocations: 307.7 kB / 1.066 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.99e-05/0.3551, allocations: 190.1 kB / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.483e-05/0.3552, allocations: 176.3 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.12e-05/0.3553, allocations: 104.9 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.3554, allocations: 180.3 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/0.3554, allocations: 104.9 kB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.859e-05/0.3555, allocations: 91.27 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3555, allocations: 0 / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002611/0.3557, allocations: 20 kB / 1.066 GB, free: 13.23 MB / 0.8262 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.0003981/0.3562, allocations: 228.7 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.542e-05/0.3562, allocations: 4 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3562, allocations: 4.062 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.3562, allocations: 0 / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.3567, allocations: 0.5318 MB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.3571, allocations: 223.7 kB / 1.067 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.3574, allocations: 0.6809 MB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.3574, allocations: 7.438 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3574, allocations: 0 / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of Templates: time 0.002431/0.3598, allocations: 0.8556 MB / 1.069 GB, free: 10.64 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)