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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001231/0.001232, allocations: 107.8 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.598/2.598, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.91 kB / 1.055 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8084/0.8098, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001829/0.8116, allocations: 0.5735 MB / 1.209 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.813, allocations: 0.9992 MB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.813, allocations: 0 / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.283e-05/0.8131, allocations: 0 / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000717/0.8138, allocations: 99.77 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.742e-05/0.8138, allocations: 11.92 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.696e-05/0.8139, allocations: 8 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.8139, allocations: 4 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.82e-05/0.814, allocations: 4 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.8142, allocations: 27.97 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.8142, allocations: 0 / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.8144, allocations: 79.91 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.8144, allocations: 4 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.916e-05/0.8144, allocations: 7.875 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.8146, allocations: 71.91 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8146, allocations: 0 / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8146, allocations: 7.938 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.8146, allocations: 0 / 1.21 GB, free: 11.75 MB / 0.9356 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.0003292/0.815, allocations: 335.2 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.815, allocations: 12.03 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.8151, allocations: 0.9375 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.8152, allocations: 168.3 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.8152, allocations: 384 / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.8152, allocations: 4.375 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.843e-05/0.8153, allocations: 33.83 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.8153, allocations: 0 / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.8154, allocations: 0 / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.8154, allocations: 0 / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.94e-05/0.8154, allocations: 4 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.8158, allocations: 480.4 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.281e-05/0.8159, allocations: 173.2 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.518e-05/0.816, allocations: 80.14 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.816, allocations: 75.28 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.8161, allocations: 105.8 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.8161, allocations: 0 / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.61e-05/0.8162, allocations: 29.64 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.8162, allocations: 134.7 kB / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.8163, allocations: 105.8 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.8164, allocations: 25.7 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.8164, allocations: 80.14 kB / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-06/0.8164, allocations: 0 / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.8164, allocations: 17.72 kB / 1.212 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.8166, allocations: 314.8 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-06/0.8166, allocations: 0 / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.846e-06/0.8166, allocations: 8 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.623e-05/0.8166, allocations: 4.859 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8166, allocations: 0 / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001008/0.8167, allocations: 41.62 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.8168, allocations: 4 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.8168, allocations: 0 / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.8168, allocations: 0 / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.69e-05/0.8168, allocations: 0 / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.8168, allocations: 4 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.378e-05/0.8169, allocations: 4.094 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.8169, allocations: 0 / 1.212 GB, free: 9.309 MB / 0.9356 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 9.688e-05/0.817, allocations: 193 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.655e-05/0.817, allocations: 109 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.169e-05/0.8171, allocations: 112 kB / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.814e-05/0.8172, allocations: 176.3 kB / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.133e-05/0.8172, allocations: 184.2 kB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-05/0.8173, allocations: 188.3 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.8176, allocations: 405.1 kB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-05/0.8176, allocations: 101 kB / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.991e-05/0.8177, allocations: 105 kB / 1.214 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.045e-05/0.8178, allocations: 184.2 kB / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.189e-05/0.8178, allocations: 184.3 kB / 1.214 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-05/0.8179, allocations: 180.2 kB / 1.214 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.783e-05/0.818, allocations: 184.3 kB / 1.215 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.8181, allocations: 315.9 kB / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.488e-05/0.8182, allocations: 186 kB / 1.215 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.581e-05/0.8183, allocations: 180.2 kB / 1.215 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.8184, allocations: 101 kB / 1.215 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.372e-05/0.8185, allocations: 184.2 kB / 1.216 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/0.8186, allocations: 104.9 kB / 1.216 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.967e-05/0.8186, allocations: 83.28 kB / 1.216 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8186, allocations: 4 kB / 1.216 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002674/0.8189, allocations: 20 kB / 1.216 GB, free: 5.676 MB / 0.9356 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.0004163/0.8193, allocations: 226.5 kB / 1.216 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.779e-05/0.8194, allocations: 4 kB / 1.216 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8194, allocations: 4.062 kB / 1.216 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.477e-06/0.8194, allocations: 4 kB / 1.216 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.8198, allocations: 465.9 kB / 1.216 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.8202, allocations: 225.9 kB / 1.217 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.8204, allocations: 0.677 MB / 1.217 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.8205, allocations: 11.44 kB / 1.217 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.8205, allocations: 0 / 1.217 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of Templates: time 0.002301/0.8228, allocations: 0.8711 MB / 1.218 GB, free: 3.152 MB / 0.9356 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)