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.001696/0.001696, allocations: 109.2 kB / 15.99 MB, free: 6.355 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.001894/0.001894, allocations: 190.4 kB / 16.91 MB, free: 6.195 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.383/1.383, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.299/2.299, allocations: 390.2 MB / 0.665 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 68.92 kB / 0.8127 GB, free: 32.55 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2553, allocations: 140.4 MB / 0.9498 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001961/0.2573, allocations: 0.6173 MB / 0.9504 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.2587, allocations: 0.9973 MB / 0.9514 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.778e-05/0.2588, allocations: 0 / 0.9514 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.2588, allocations: 0 / 0.9514 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007439/0.2596, allocations: 87.84 kB / 0.9515 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.575e-05/0.2596, allocations: 8 kB / 0.9515 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.999e-05/0.2597, allocations: 15.98 kB / 0.9515 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.6e-05/0.2597, allocations: 0 / 0.9515 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.816e-05/0.2598, allocations: 0 / 0.9515 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.26, allocations: 37.88 kB / 0.9515 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.26, allocations: 0 / 0.9515 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.2602, allocations: 75.86 kB / 0.9516 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.2602, allocations: 7.984 kB / 0.9516 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.01e-05/0.2603, allocations: 4 kB / 0.9516 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.2604, allocations: 47.94 kB / 0.9517 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2604, allocations: 0 / 0.9517 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2604, allocations: 0 / 0.9517 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.2604, allocations: 4 kB / 0.9517 GB, free: 7.309 MB / 0.7325 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.0003336/0.2607, allocations: 333.2 kB / 0.952 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.2608, allocations: 12.03 kB / 0.952 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.2608, allocations: 8.922 kB / 0.952 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.2609, allocations: 160.4 kB / 0.9522 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.261, allocations: 384 / 0.9522 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.261, allocations: 4.375 kB / 0.9522 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.222e-05/0.2611, allocations: 37.7 kB / 0.9522 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2611, allocations: 7.984 kB / 0.9522 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.2611, allocations: 0 / 0.9522 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2611, allocations: 0 / 0.9522 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.903e-05/0.2611, allocations: 4 kB / 0.9522 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/0.2616, allocations: 464.5 kB / 0.9526 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.518e-05/0.2617, allocations: 177.2 kB / 0.9528 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.001e-05/0.2617, allocations: 88.08 kB / 0.9529 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.2617, allocations: 75.28 kB / 0.953 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.687e-05/0.2618, allocations: 105.8 kB / 0.9531 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.2618, allocations: 0 / 0.9531 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.169e-05/0.2619, allocations: 25.7 kB / 0.9531 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.2619, allocations: 130.7 kB / 0.9532 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.111e-05/0.262, allocations: 105.8 kB / 0.9533 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.262, allocations: 25.7 kB / 0.9533 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/0.2621, allocations: 84.05 kB / 0.9534 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.268e-06/0.2621, allocations: 0 / 0.9534 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.2621, allocations: 13.72 kB / 0.9534 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2623, allocations: 318.7 kB / 0.9537 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.2623, allocations: 7.984 kB / 0.9538 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-06/0.2623, allocations: 7.938 kB / 0.9538 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.662e-05/0.2623, allocations: 8.922 kB / 0.9538 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2623, allocations: 0 / 0.9538 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001051/0.2624, allocations: 33.7 kB / 0.9538 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2625, allocations: 4 kB / 0.9538 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2625, allocations: 0 / 0.9538 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.2625, allocations: 0 / 0.9538 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.665e-05/0.2625, allocations: 0 / 0.9538 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.2625, allocations: 0 / 0.9538 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.507e-05/0.2625, allocations: 4 kB / 0.9538 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.2625, allocations: 4.031 kB / 0.9538 GB, free: 4.859 MB / 0.7325 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.517e-05/0.2626, allocations: 193 kB / 0.954 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.2627, allocations: 105 kB / 0.9541 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.08e-05/0.2628, allocations: 111.9 kB / 0.9542 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-05/0.2629, allocations: 180.3 kB / 0.9544 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.716e-05/0.2629, allocations: 184.3 kB / 0.9545 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.682e-05/0.263, allocations: 192.1 kB / 0.9547 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.2632, allocations: 405.2 kB / 0.9551 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.982e-05/0.2633, allocations: 105 kB / 0.9552 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.2633, allocations: 108.9 kB / 0.9553 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.712e-05/0.2634, allocations: 176.3 kB / 0.9555 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-05/0.2634, allocations: 184.2 kB / 0.9557 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.087e-05/0.2635, allocations: 176.3 kB / 0.9558 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-05/0.2635, allocations: 188.3 kB / 0.956 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.2637, allocations: 303.7 kB / 0.9563 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.685e-05/0.2638, allocations: 194 kB / 0.9565 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.081e-05/0.2638, allocations: 176.3 kB / 0.9567 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.2639, allocations: 105 kB / 0.9568 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.264, allocations: 184.2 kB / 0.9569 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.957e-05/0.264, allocations: 101 kB / 0.957 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.454e-05/0.2641, allocations: 83.28 kB / 0.9571 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2641, allocations: 0 / 0.9571 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002487/0.2644, allocations: 23.98 kB / 0.9571 GB, free: 1.23 MB / 0.7325 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.0003635/0.2647, allocations: 230.3 kB / 0.9574 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.34e-05/0.2648, allocations: 3.938 kB / 0.9574 GB, free: 1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2648, allocations: 0 / 0.9574 GB, free: 1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.911e-06/0.2648, allocations: 12.05 kB / 0.9574 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.2652, allocations: 459.6 kB / 0.9578 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.2656, allocations: 214 kB / 0.958 GB, free: 300 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.2658, allocations: 0.6766 MB / 0.9587 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.2659, allocations: 15.44 kB / 0.9587 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of SimCode: time 3.41e-07/0.2659, allocations: 0 / 0.9587 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of Templates: time 0.002337/0.2682, allocations: 0.8547 MB / 0.9595 GB, free: 14.73 MB / 0.7481 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)