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.001493/0.001493, allocations: 107.7 kB / 15.98 MB, free: 6.352 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.00167/0.00167, allocations: 193.3 kB / 16.91 MB, free: 6.191 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.374/1.374, 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/IBPSA 4.0.0-master/package.mo): time 0.7414/0.7414, allocations: 122.9 MB / 413.6 MB, free: 64 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 63.91 kB / 0.4906 GB, free: 7.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3168, allocations: 77.92 MB / 0.5667 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001781/0.3186, allocations: 0.6217 MB / 0.5673 GB, free: 31.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.3197, allocations: 0.9904 MB / 0.5683 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.657e-05/0.3198, allocations: 0 / 0.5683 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.3198, allocations: 3.938 kB / 0.5683 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007005/0.3205, allocations: 87.17 kB / 0.5684 GB, free: 30.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.384e-05/0.3206, allocations: 10.14 kB / 0.5684 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.343e-05/0.3206, allocations: 7.891 kB / 0.5684 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.3207, allocations: 2.172 kB / 0.5684 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.964e-05/0.3207, allocations: 8.359 kB / 0.5684 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.3209, allocations: 31.25 kB / 0.5684 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.3209, allocations: 1.062 kB / 0.5684 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.3211, allocations: 82.39 kB / 0.5685 GB, free: 30.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.3212, allocations: 1.125 kB / 0.5685 GB, free: 30.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.3212, allocations: 11.45 kB / 0.5685 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.3214, allocations: 68.39 kB / 0.5686 GB, free: 30.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3214, allocations: 0 / 0.5686 GB, free: 30.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.3214, allocations: 1 kB / 0.5686 GB, free: 30.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3214, allocations: 3.938 kB / 0.5686 GB, free: 30.91 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.0002879/0.3217, allocations: 337.5 kB / 0.5689 GB, free: 30.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3217, allocations: 10.59 kB / 0.5689 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.3218, allocations: 0.9375 kB / 0.5689 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.292e-05/0.3219, allocations: 168.5 kB / 0.5691 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3219, allocations: 6.406 kB / 0.5691 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.3219, allocations: 384 / 0.5691 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.889e-05/0.322, allocations: 38.98 kB / 0.5691 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.322, allocations: 0 / 0.5691 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.322, allocations: 5.047 kB / 0.5691 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.322, allocations: 0 / 0.5691 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.123e-05/0.322, allocations: 7.078 kB / 0.5692 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.3224, allocations: 464.9 kB / 0.5696 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.476e-05/0.3224, allocations: 169 kB / 0.5698 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.671e-05/0.3225, allocations: 83.05 kB / 0.5698 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.3225, allocations: 79.22 kB / 0.5699 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.3225, allocations: 108.4 kB / 0.57 GB, free: 29.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3225, allocations: 4.469 kB / 0.57 GB, free: 29.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.685e-05/0.3226, allocations: 32.66 kB / 0.5701 GB, free: 29.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.3226, allocations: 127.9 kB / 0.5702 GB, free: 29.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.448e-05/0.3227, allocations: 99.64 kB / 0.5703 GB, free: 29.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.84e-06/0.3227, allocations: 25.7 kB / 0.5703 GB, free: 29.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.336e-05/0.3227, allocations: 89.27 kB / 0.5704 GB, free: 28.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.3227, allocations: 0 / 0.5704 GB, free: 28.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.3228, allocations: 14.03 kB / 0.5704 GB, free: 28.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.566e-05/0.3228, allocations: 317.4 kB / 0.5707 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.3228, allocations: 1.094 kB / 0.5707 GB, free: 28.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-06/0.3228, allocations: 2.578 kB / 0.5707 GB, free: 28.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.309e-05/0.3229, allocations: 12.05 kB / 0.5707 GB, free: 28.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3229, allocations: 0 / 0.5707 GB, free: 28.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.245e-05/0.323, allocations: 38.28 kB / 0.5707 GB, free: 28.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.323, allocations: 5.047 kB / 0.5708 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.323, allocations: 1.688 kB / 0.5708 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.323, allocations: 1.438 kB / 0.5708 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.478e-05/0.323, allocations: 1.828 kB / 0.5708 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.323, allocations: 0 / 0.5708 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.364e-05/0.3231, allocations: 0 / 0.5708 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.3231, allocations: 2.062 kB / 0.5708 GB, free: 28.57 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.783e-05/0.3231, allocations: 188.9 kB / 0.5709 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.3232, allocations: 112.9 kB / 0.571 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.179e-05/0.3232, allocations: 106.4 kB / 0.5711 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.551e-05/0.3232, allocations: 183.1 kB / 0.5713 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.423e-05/0.3232, allocations: 190.4 kB / 0.5715 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.512e-05/0.3233, allocations: 178.3 kB / 0.5717 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.3234, allocations: 405.9 kB / 0.5721 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.3234, allocations: 104.4 kB / 0.5722 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.35e-05/0.3235, allocations: 107.1 kB / 0.5723 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.282e-05/0.3235, allocations: 186.5 kB / 0.5724 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.3235, allocations: 179.8 kB / 0.5726 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.091e-05/0.3235, allocations: 182 kB / 0.5728 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-05/0.3236, allocations: 178.9 kB / 0.573 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.154e-05/0.3236, allocations: 314.4 kB / 0.5733 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.778e-05/0.3237, allocations: 183.1 kB / 0.5734 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.3237, allocations: 185.7 kB / 0.5736 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.766e-05/0.3238, allocations: 103.1 kB / 0.5737 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.3238, allocations: 187.5 kB / 0.5739 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.3238, allocations: 106.5 kB / 0.574 GB, free: 25.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.429e-05/0.3238, allocations: 81.06 kB / 0.5741 GB, free: 25.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3238, allocations: 0 / 0.5741 GB, free: 25.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.3241, allocations: 20.55 kB / 0.5741 GB, free: 25.02 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.0002866/0.3244, allocations: 238.4 kB / 0.5743 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.617e-05/0.3245, allocations: 5.969 kB / 0.5743 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3245, allocations: 0 / 0.5743 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.3245, allocations: 3.938 kB / 0.5743 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.3247, allocations: 458.6 kB / 0.5748 GB, free: 24.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003019/0.325, allocations: 195.4 kB / 0.5749 GB, free: 24.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.478e-05/0.3251, allocations: 0.6727 MB / 0.5756 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.475e-05/0.3252, allocations: 3.828 kB / 0.5756 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.655e-05/0.3252, allocations: 13.78 kB / 0.5756 GB, free: 23.49 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3252, allocations: 0 / 0.5756 GB, free: 23.49 MB / 446.1 MB Notification: Performance of Templates: time 0.002772/0.328, allocations: 0.6709 MB / 0.5763 GB, free: 23.46 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)