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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00138/0.00138, allocations: 100.1 kB / 15.88 MB, free: 12 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.00126/0.00126, allocations: 196.6 kB / 16.79 MB, free: 6.809 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.508/1.508, allocations: 222.9 MB / 240.5 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 390.2 MB / 0.6649 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 71.89 kB / 0.8126 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6888/0.6901, allocations: 140.3 MB / 0.9496 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001713/0.6919, allocations: 0.6252 MB / 0.9502 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.693, allocations: 1.002 MB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.299e-05/0.693, allocations: 0 / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.693, allocations: 0 / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005727/0.6936, allocations: 83.03 kB / 0.9513 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.773e-05/0.6936, allocations: 11.12 kB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.618e-05/0.6937, allocations: 4.094 kB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.302e-05/0.6937, allocations: 5.391 kB / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.709e-05/0.6938, allocations: 1.281 kB / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.694, allocations: 33.67 kB / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.694, allocations: 3.938 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.6942, allocations: 78.42 kB / 0.9514 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.6942, allocations: 5.359 kB / 0.9514 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.78e-05/0.6942, allocations: 9.312 kB / 0.9514 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.6943, allocations: 48.69 kB / 0.9515 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.6943, allocations: 0 / 0.9515 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6943, allocations: 1.375 kB / 0.9515 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.6943, allocations: 0 / 0.9515 GB, free: 7.723 MB / 0.7169 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.0002547/0.6946, allocations: 333.7 kB / 0.9518 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.6946, allocations: 9.625 kB / 0.9518 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.6947, allocations: 2.312 kB / 0.9518 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.978e-05/0.6948, allocations: 165.8 kB / 0.952 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.6948, allocations: 384 / 0.952 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.6948, allocations: 5.75 kB / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.541e-05/0.6949, allocations: 31.2 kB / 0.952 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.6949, allocations: 7.938 kB / 0.952 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.6949, allocations: 5.359 kB / 0.952 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.6949, allocations: 0 / 0.952 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.64e-05/0.6949, allocations: 5.312 kB / 0.952 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.6952, allocations: 463.4 kB / 0.9525 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.241e-05/0.6953, allocations: 178.5 kB / 0.9526 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.594e-05/0.6953, allocations: 84.12 kB / 0.9527 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.6953, allocations: 79.22 kB / 0.9528 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.6953, allocations: 107.2 kB / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.6953, allocations: 0 / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.733e-05/0.6954, allocations: 31.08 kB / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.6954, allocations: 126.7 kB / 0.953 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.946e-05/0.6955, allocations: 103.3 kB / 0.9531 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.399e-06/0.6955, allocations: 25.7 kB / 0.9532 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.921e-05/0.6955, allocations: 81.52 kB / 0.9532 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.6955, allocations: 0 / 0.9532 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.6956, allocations: 12.47 kB / 0.9533 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.577e-05/0.6956, allocations: 324.2 kB / 0.9536 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.776e-06/0.6956, allocations: 0 / 0.9536 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.6956, allocations: 5.312 kB / 0.9536 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.227e-05/0.6957, allocations: 7.609 kB / 0.9536 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.6957, allocations: 0 / 0.9536 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.509e-05/0.6958, allocations: 39.09 kB / 0.9536 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.6958, allocations: 5.5 kB / 0.9536 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.6958, allocations: 0 / 0.9536 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.6958, allocations: 1.469 kB / 0.9536 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.51e-05/0.6958, allocations: 4 kB / 0.9536 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.6958, allocations: 0 / 0.9536 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.497e-05/0.6958, allocations: 1.375 kB / 0.9536 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.6959, allocations: 0 / 0.9536 GB, free: 5.344 MB / 0.7169 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.797e-05/0.6959, allocations: 198.3 kB / 0.9538 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.6959, allocations: 102.4 kB / 0.9539 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.273e-05/0.696, allocations: 113.2 kB / 0.954 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-05/0.696, allocations: 185.6 kB / 0.9542 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.687e-05/0.696, allocations: 181.6 kB / 0.9544 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.336e-05/0.6961, allocations: 176.3 kB / 0.9545 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.6962, allocations: 411.8 kB / 0.9549 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.6962, allocations: 101 kB / 0.955 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.279e-05/0.6962, allocations: 110.3 kB / 0.9551 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.162e-05/0.6963, allocations: 177.8 kB / 0.9553 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.6963, allocations: 189.6 kB / 0.9555 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.232e-05/0.6963, allocations: 188.2 kB / 0.9557 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.152e-05/0.6964, allocations: 177.6 kB / 0.9558 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.206e-05/0.6964, allocations: 311.8 kB / 0.9561 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.6965, allocations: 187.4 kB / 0.9563 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.6965, allocations: 181.6 kB / 0.9565 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.812e-05/0.6966, allocations: 105 kB / 0.9566 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.6966, allocations: 181.6 kB / 0.9568 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.6966, allocations: 110.3 kB / 0.9569 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.406e-05/0.6966, allocations: 82.03 kB / 0.9569 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6966, allocations: 0 / 0.9569 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002714/0.6969, allocations: 19.12 kB / 0.957 GB, free: 1.746 MB / 0.7169 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.000332/0.6973, allocations: 239.8 kB / 0.9572 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.909e-05/0.6973, allocations: 6.688 kB / 0.9572 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6973, allocations: 0 / 0.9572 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.6973, allocations: 1.375 kB / 0.9572 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.6976, allocations: 0.5256 MB / 0.9577 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.6979, allocations: 223.6 kB / 0.9579 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.25e-05/0.698, allocations: 0.6819 MB / 0.9586 GB, free: 84 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.6981, allocations: 9.812 kB / 0.9586 GB, free: 76 kB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.6981, allocations: 0 / 0.9586 GB, free: 76 kB / 0.7169 GB Notification: Performance of Templates: time 0.002377/0.7004, allocations: 0.8505 MB / 0.9594 GB, free: 15.66 MB / 0.7325 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)