Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001389/0.00139, allocations: 108.3 kB / 16.41 MB, free: 6.465 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.001369/0.001369, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.413/2.413, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 63.89 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8063/0.8078, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001746/0.8096, allocations: 0.5611 MB / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.8108, allocations: 0.9942 MB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.268e-05/0.8108, allocations: 0 / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.8108, allocations: 0.6875 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006666/0.8115, allocations: 87.02 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.316e-05/0.8116, allocations: 13.52 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.221e-05/0.8116, allocations: 10.69 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.8117, allocations: 2.766 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.086e-05/0.8117, allocations: 6.203 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.8119, allocations: 32.05 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.8119, allocations: 0 / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.8121, allocations: 71.62 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.8121, allocations: 5.047 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.927e-05/0.8122, allocations: 8.969 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.8123, allocations: 65.86 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.8123, allocations: 0.6562 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8123, allocations: 0 / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.8124, allocations: 1.219 kB / 1.09 GB, free: 4.32 MB / 0.8575 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.0002567/0.8126, allocations: 332.3 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.8127, allocations: 13.5 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.8127, allocations: 1.734 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.116e-05/0.8128, allocations: 168.1 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.8128, allocations: 384 / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-06/0.8128, allocations: 5.75 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.057e-05/0.8129, allocations: 31.72 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.8129, allocations: 1.062 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.8129, allocations: 0.5625 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.8129, allocations: 0 / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.611e-05/0.8129, allocations: 6.219 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.8132, allocations: 464 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.954e-05/0.8133, allocations: 182.9 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.8133, allocations: 81.14 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.8133, allocations: 75.28 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.8133, allocations: 111.6 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.8133, allocations: 0 / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.343e-05/0.8134, allocations: 27.44 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.8134, allocations: 135.6 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.149e-05/0.8135, allocations: 105.4 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.8135, allocations: 26.86 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.825e-05/0.8135, allocations: 84.14 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-06/0.8136, allocations: 1.312 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.8136, allocations: 11.77 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.035e-05/0.8136, allocations: 321.2 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.218e-06/0.8136, allocations: 1.125 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-06/0.8136, allocations: 1.094 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.09e-05/0.8137, allocations: 7.906 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.8137, allocations: 0 / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.814e-05/0.8138, allocations: 41.61 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.8138, allocations: 5.375 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.8138, allocations: 0 / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.8138, allocations: 1.031 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.727e-05/0.8138, allocations: 0.7031 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.8138, allocations: 1.031 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.474e-05/0.8139, allocations: 0.6094 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.8139, allocations: 1.062 kB / 1.093 GB, free: 1.965 MB / 0.8575 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 4.809e-05/0.8139, allocations: 194.9 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.814, allocations: 106.6 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.814, allocations: 111.5 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-05/0.814, allocations: 176.9 kB / 1.093 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.453e-05/0.8141, allocations: 178.5 kB / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.297e-05/0.8141, allocations: 181.8 kB / 1.094 GB, free: 17 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.8144, allocations: 409.7 kB / 1.094 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.806e-05/0.8144, allocations: 107.2 kB / 1.094 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.8144, allocations: 102.9 kB / 1.094 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.295e-05/0.8145, allocations: 178 kB / 1.094 GB, free: 16.15 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.64e-05/0.8146, allocations: 181.9 kB / 1.094 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.082e-05/0.8147, allocations: 190.1 kB / 1.095 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.488e-05/0.8147, allocations: 181.4 kB / 1.095 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.8148, allocations: 313.7 kB / 1.095 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.8149, allocations: 184.2 kB / 1.095 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.253e-05/0.815, allocations: 182.9 kB / 1.095 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.798e-05/0.8151, allocations: 110.3 kB / 1.096 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.8151, allocations: 177.6 kB / 1.096 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/0.8152, allocations: 107.5 kB / 1.096 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.211e-05/0.8152, allocations: 84.3 kB / 1.096 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8152, allocations: 0 / 1.096 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002699/0.8155, allocations: 20.23 kB / 1.096 GB, free: 14.4 MB / 0.8731 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.00037/0.8159, allocations: 229.7 kB / 1.096 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 6.621e-05/0.8159, allocations: 3.734 kB / 1.096 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.816, allocations: 0 / 1.096 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.816, allocations: 0 / 1.096 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.8163, allocations: 466.7 kB / 1.097 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.8167, allocations: 218.4 kB / 1.097 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.8169, allocations: 0.6713 MB / 1.097 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.8169, allocations: 10.44 kB / 1.097 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.8169, allocations: 0 / 1.097 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.002523/0.8195, allocations: 0.8586 MB / 1.098 GB, free: 12.76 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)