Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001087/0.001091, allocations: 112 kB / 17.04 MB, free: 5.812 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.001108/0.001108, allocations: 195 kB / 17.98 MB, free: 5.027 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.329/1.329, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7192/0.7192, allocations: 115.1 MB / 406.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 56.12 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3027, allocations: 76.15 MB / 0.5576 GB, free: 36.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00174/0.3045, allocations: 0.5562 MB / 0.5582 GB, free: 36.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.3055, allocations: 0.9939 MB / 0.5591 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.8e-05/0.3056, allocations: 0 / 0.5591 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.3056, allocations: 3.938 kB / 0.5591 GB, free: 35.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006654/0.3063, allocations: 95.8 kB / 0.5592 GB, free: 35.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.104e-05/0.3063, allocations: 12.66 kB / 0.5592 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.869e-05/0.3064, allocations: 6.672 kB / 0.5592 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.3064, allocations: 2.141 kB / 0.5592 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.461e-05/0.3064, allocations: 1.438 kB / 0.5592 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.3066, allocations: 34.92 kB / 0.5593 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.536e-06/0.3066, allocations: 1.062 kB / 0.5593 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.3068, allocations: 91.03 kB / 0.5594 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-06/0.3068, allocations: 0 / 0.5594 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.757e-05/0.3068, allocations: 10.86 kB / 0.5594 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.307, allocations: 69.5 kB / 0.5594 GB, free: 35.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.307, allocations: 0.7031 kB / 0.5594 GB, free: 35.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.307, allocations: 0 / 0.5594 GB, free: 35.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.307, allocations: 0.5625 kB / 0.5594 GB, free: 35.55 MB / 446.1 MB 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.0002303/0.3073, allocations: 335.7 kB / 0.5598 GB, free: 35.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3073, allocations: 9.516 kB / 0.5598 GB, free: 35.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.753e-05/0.3073, allocations: 3.594 kB / 0.5598 GB, free: 35.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.858e-05/0.3074, allocations: 163.9 kB / 0.5599 GB, free: 34.99 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.3074, allocations: 1.344 kB / 0.5599 GB, free: 34.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-06/0.3074, allocations: 1.25 kB / 0.5599 GB, free: 34.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.133e-05/0.3075, allocations: 37.09 kB / 0.56 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.3075, allocations: 1.938 kB / 0.56 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.3076, allocations: 3.938 kB / 0.56 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3076, allocations: 5.219 kB / 0.56 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.774e-05/0.3076, allocations: 5.938 kB / 0.56 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.3079, allocations: 467.5 kB / 0.5604 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.681e-05/0.3079, allocations: 165.9 kB / 0.5606 GB, free: 34.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.423e-05/0.3079, allocations: 89.08 kB / 0.5607 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.3079, allocations: 75.8 kB / 0.5607 GB, free: 34.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.308, allocations: 111.5 kB / 0.5609 GB, free: 33.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.021e-06/0.308, allocations: 0 / 0.5609 GB, free: 33.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.696e-05/0.308, allocations: 31.5 kB / 0.5609 GB, free: 33.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.3081, allocations: 132.1 kB / 0.561 GB, free: 33.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.403e-05/0.3081, allocations: 98.3 kB / 0.5611 GB, free: 33.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.398e-06/0.3082, allocations: 26.55 kB / 0.5611 GB, free: 33.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.63e-05/0.3082, allocations: 84.88 kB / 0.5612 GB, free: 33.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-06/0.3082, allocations: 5.281 kB / 0.5612 GB, free: 33.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.3082, allocations: 12.66 kB / 0.5612 GB, free: 33.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.142e-05/0.3083, allocations: 317.5 kB / 0.5615 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.468e-06/0.3083, allocations: 1.406 kB / 0.5615 GB, free: 33.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-06/0.3083, allocations: 2.281 kB / 0.5615 GB, free: 33.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.98e-05/0.3083, allocations: 12.3 kB / 0.5615 GB, free: 33.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3083, allocations: 1.406 kB / 0.5615 GB, free: 33.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.338e-05/0.3084, allocations: 36.97 kB / 0.5616 GB, free: 33.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.3084, allocations: 7.156 kB / 0.5616 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.3084, allocations: 1.375 kB / 0.5616 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.3084, allocations: 1.5 kB / 0.5616 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.418e-05/0.3085, allocations: 2.062 kB / 0.5616 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.3085, allocations: 0 / 0.5616 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.323e-05/0.3085, allocations: 4.906 kB / 0.5616 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.3085, allocations: 2.344 kB / 0.5616 GB, free: 33.21 MB / 446.1 MB 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.215e-05/0.3085, allocations: 188 kB / 0.5618 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.3086, allocations: 107.2 kB / 0.5619 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.3086, allocations: 110.4 kB / 0.562 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/0.3086, allocations: 183.5 kB / 0.5622 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.279e-05/0.3087, allocations: 182 kB / 0.5623 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.321e-05/0.3087, allocations: 183.4 kB / 0.5625 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.3088, allocations: 410.2 kB / 0.5629 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/0.3089, allocations: 101.8 kB / 0.563 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.502e-05/0.3089, allocations: 111 kB / 0.5631 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-05/0.3089, allocations: 178.7 kB / 0.5633 GB, free: 31.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.3089, allocations: 177.4 kB / 0.5634 GB, free: 31.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.09e-05/0.309, allocations: 185.3 kB / 0.5636 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.898e-05/0.309, allocations: 179.8 kB / 0.5638 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.759e-05/0.309, allocations: 315 kB / 0.5641 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/0.3091, allocations: 180.4 kB / 0.5643 GB, free: 30.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.3091, allocations: 188.3 kB / 0.5644 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.127e-05/0.3092, allocations: 102.9 kB / 0.5645 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.3092, allocations: 186.2 kB / 0.5647 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.3092, allocations: 104.2 kB / 0.5648 GB, free: 29.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.53e-05/0.3092, allocations: 79.78 kB / 0.5649 GB, free: 29.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3092, allocations: 0.7188 kB / 0.5649 GB, free: 29.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.3095, allocations: 20.58 kB / 0.5649 GB, free: 29.67 MB / 446.1 MB 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.0003027/0.3098, allocations: 229.7 kB / 0.5651 GB, free: 29.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.97e-05/0.3099, allocations: 11.22 kB / 0.5651 GB, free: 29.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3099, allocations: 1.219 kB / 0.5651 GB, free: 29.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/0.3099, allocations: 5.125 kB / 0.5652 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.3102, allocations: 461.8 kB / 0.5656 GB, free: 29.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.3104, allocations: 197.9 kB / 0.5658 GB, free: 28.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.234e-05/0.3105, allocations: 0.672 MB / 0.5664 GB, free: 28.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.526e-05/0.3106, allocations: 8.031 kB / 0.5664 GB, free: 28.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.611e-05/0.3106, allocations: 9.5 kB / 0.5665 GB, free: 28.14 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3106, allocations: 0.625 kB / 0.5665 GB, free: 28.14 MB / 446.1 MB Notification: Performance of Templates: time 0.002728/0.3133, allocations: 0.6663 MB / 0.5671 GB, free: 28.12 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)