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.001724/0.001724, allocations: 104.9 kB / 16.41 MB, free: 6.41 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.001815/0.001815, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.409/1.409, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.277/2.277, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 67.89 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8688/0.8704, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001687/0.8721, allocations: 0.5667 MB / 1.089 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.8733, allocations: 0.9902 MB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.083e-05/0.8733, allocations: 0 / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.8733, allocations: 0 / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006511/0.874, allocations: 90.8 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.515e-05/0.874, allocations: 17.33 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.788e-05/0.8741, allocations: 11.75 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.129e-05/0.8742, allocations: 2.969 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.822e-05/0.8742, allocations: 1.656 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.8744, allocations: 30.16 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.8744, allocations: 1.094 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.8746, allocations: 82.58 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.8746, allocations: 1.406 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.8746, allocations: 4.969 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.8748, allocations: 65.7 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8748, allocations: 1.094 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.255e-06/0.8748, allocations: 8.594 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.8748, allocations: 0 / 1.09 GB, free: 4.328 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.0002453/0.8751, allocations: 331.6 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.8751, allocations: 11.02 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.8751, allocations: 0.9375 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.202e-05/0.8752, allocations: 164.3 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.8752, allocations: 0.8906 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.8752, allocations: 1.688 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.958e-05/0.8753, allocations: 35.98 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.8753, allocations: 0.75 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.8753, allocations: 0 / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.8754, allocations: 1.031 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.614e-05/0.8754, allocations: 5.625 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.8757, allocations: 472.4 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.734e-05/0.8757, allocations: 174.9 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.8757, allocations: 80.14 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.8757, allocations: 76.47 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.8758, allocations: 106.5 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.8758, allocations: 1.031 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.391e-05/0.8758, allocations: 31.62 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.8759, allocations: 135.2 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.09e-05/0.876, allocations: 101.6 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.009e-06/0.876, allocations: 25.7 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.019e-05/0.876, allocations: 82.06 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.876, allocations: 0 / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/0.876, allocations: 16.67 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.202e-05/0.8761, allocations: 317.3 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-06/0.8761, allocations: 0 / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-06/0.8761, allocations: 6.312 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.162e-05/0.8761, allocations: 7.016 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.8761, allocations: 0 / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.836e-05/0.8762, allocations: 40.78 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.8762, allocations: 6.047 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.8763, allocations: 1.094 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.8763, allocations: 3.984 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.573e-05/0.8763, allocations: 1.578 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.8763, allocations: 0 / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.8763, allocations: 9.672 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.8763, allocations: 0 / 1.093 GB, free: 1.973 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.95e-05/0.8764, allocations: 187.5 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.8764, allocations: 103.1 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.8765, allocations: 110.4 kB / 1.093 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/0.8765, allocations: 177.7 kB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.526e-05/0.8765, allocations: 189.9 kB / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/0.8765, allocations: 182 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.8768, allocations: 406.4 kB / 1.094 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.43e-05/0.8768, allocations: 103 kB / 1.094 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.37e-05/0.8769, allocations: 101.5 kB / 1.094 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.848e-05/0.877, allocations: 194.1 kB / 1.094 GB, free: 16.15 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-05/0.877, allocations: 178 kB / 1.094 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.03e-05/0.8771, allocations: 181.8 kB / 1.095 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.371e-05/0.8772, allocations: 177.9 kB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.8773, allocations: 322.2 kB / 1.095 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.455e-05/0.8774, allocations: 180 kB / 1.095 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.272e-05/0.8775, allocations: 182.7 kB / 1.095 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.8775, allocations: 102.9 kB / 1.096 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.8776, allocations: 177.2 kB / 1.096 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.8777, allocations: 110.8 kB / 1.096 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.12e-05/0.8777, allocations: 80.25 kB / 1.096 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8777, allocations: 5.281 kB / 1.096 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002704/0.878, allocations: 19.27 kB / 1.096 GB, free: 14.41 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.0003579/0.8784, allocations: 226.5 kB / 1.096 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 6.191e-05/0.8784, allocations: 6.375 kB / 1.096 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8784, allocations: 4.062 kB / 1.096 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.8784, allocations: 0.75 kB / 1.096 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.8788, allocations: 461.6 kB / 1.097 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.8792, allocations: 225.8 kB / 1.097 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.8795, allocations: 0.679 MB / 1.097 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.8795, allocations: 10.58 kB / 1.097 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.8795, allocations: 0 / 1.097 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.002621/0.8821, allocations: 0.8544 MB / 1.098 GB, free: 12.77 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)