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.001384/0.001384, allocations: 105.9 kB / 16.52 MB, free: 6.27 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.001309/0.001309, allocations: 197 kB / 17.44 MB, free: 5.887 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.378/1.378, allocations: 222.9 MB / 241.1 MB, free: 15.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7429/0.7429, allocations: 115.3 MB / 406.6 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 67.88 kB / 493.6 MB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.4205, allocations: 76.17 MB / 0.5564 GB, free: 36.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001935/0.4225, allocations: 0.6261 MB / 0.557 GB, free: 36.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.4238, allocations: 1.001 MB / 0.558 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.515e-05/0.4239, allocations: 0.5312 kB / 0.558 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.4239, allocations: 7.125 kB / 0.558 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006857/0.4246, allocations: 82.94 kB / 0.5581 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.23e-05/0.4246, allocations: 11.77 kB / 0.5581 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.408e-05/0.4247, allocations: 11.08 kB / 0.5581 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.4247, allocations: 1.312 kB / 0.5581 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.866e-05/0.4248, allocations: 3.531 kB / 0.5581 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.425, allocations: 33.98 kB / 0.5581 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.425, allocations: 2.406 kB / 0.5582 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.4252, allocations: 85.88 kB / 0.5582 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.4252, allocations: 1.531 kB / 0.5582 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.4253, allocations: 10.38 kB / 0.5582 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.4254, allocations: 50.81 kB / 0.5583 GB, free: 35.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4254, allocations: 0.9375 kB / 0.5583 GB, free: 35.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.4254, allocations: 0 / 0.5583 GB, free: 35.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.4254, allocations: 0.8438 kB / 0.5583 GB, free: 35.22 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.0002934/0.4257, allocations: 333.6 kB / 0.5586 GB, free: 34.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.4258, allocations: 14.56 kB / 0.5586 GB, free: 34.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.4258, allocations: 0.9375 kB / 0.5586 GB, free: 34.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.886e-05/0.4259, allocations: 170.1 kB / 0.5588 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.4259, allocations: 1.031 kB / 0.5588 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.4259, allocations: 1.625 kB / 0.5588 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.482e-05/0.426, allocations: 40.2 kB / 0.5588 GB, free: 34.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.426, allocations: 0 / 0.5588 GB, free: 34.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.4261, allocations: 0.625 kB / 0.5588 GB, free: 34.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.4261, allocations: 2 kB / 0.5588 GB, free: 34.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.92e-05/0.4261, allocations: 5.438 kB / 0.5588 GB, free: 34.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.4264, allocations: 465.4 kB / 0.5593 GB, free: 34.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.431e-05/0.4265, allocations: 169.3 kB / 0.5594 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.912e-05/0.4265, allocations: 85.2 kB / 0.5595 GB, free: 33.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.4265, allocations: 76.78 kB / 0.5596 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.4266, allocations: 109.5 kB / 0.5597 GB, free: 33.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.4266, allocations: 3.938 kB / 0.5597 GB, free: 33.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.148e-05/0.4266, allocations: 31.7 kB / 0.5597 GB, free: 33.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.4267, allocations: 129.6 kB / 0.5599 GB, free: 33.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.177e-05/0.4268, allocations: 104.9 kB / 0.56 GB, free: 33.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.141e-06/0.4268, allocations: 26.58 kB / 0.56 GB, free: 33.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.324e-05/0.4268, allocations: 87.61 kB / 0.5601 GB, free: 33.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.4268, allocations: 0 / 0.5601 GB, free: 33.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.4268, allocations: 13.22 kB / 0.5601 GB, free: 33.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.974e-05/0.4269, allocations: 319.6 kB / 0.5604 GB, free: 32.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.908e-06/0.4269, allocations: 1.656 kB / 0.5604 GB, free: 32.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-06/0.4269, allocations: 1.344 kB / 0.5604 GB, free: 32.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.441e-05/0.4269, allocations: 14.98 kB / 0.5604 GB, free: 32.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.427, allocations: 1.906 kB / 0.5604 GB, free: 32.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.516e-05/0.4271, allocations: 32.58 kB / 0.5604 GB, free: 32.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.4271, allocations: 4.656 kB / 0.5604 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4271, allocations: 1.344 kB / 0.5604 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.4271, allocations: 0 / 0.5604 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.686e-05/0.4271, allocations: 1.719 kB / 0.5604 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.4271, allocations: 1.906 kB / 0.5604 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.425e-05/0.4272, allocations: 0 / 0.5604 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.4272, allocations: 1.188 kB / 0.5604 GB, free: 32.88 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 5.66e-05/0.4272, allocations: 190.3 kB / 0.5606 GB, free: 32.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.4273, allocations: 106.5 kB / 0.5607 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.4273, allocations: 115.4 kB / 0.5608 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.982e-05/0.4273, allocations: 181.7 kB / 0.561 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.58e-05/0.4274, allocations: 184.3 kB / 0.5612 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.522e-05/0.4274, allocations: 179.3 kB / 0.5614 GB, free: 31.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.4275, allocations: 410.2 kB / 0.5618 GB, free: 31.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.4276, allocations: 102.3 kB / 0.5618 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.491e-05/0.4276, allocations: 103.5 kB / 0.5619 GB, free: 31.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.002e-05/0.4276, allocations: 188.3 kB / 0.5621 GB, free: 31.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.4276, allocations: 176.3 kB / 0.5623 GB, free: 30.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.472e-05/0.4277, allocations: 188 kB / 0.5625 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.583e-05/0.4277, allocations: 182 kB / 0.5626 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.709e-05/0.4278, allocations: 307.6 kB / 0.5629 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.4278, allocations: 182.8 kB / 0.5631 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.4279, allocations: 186 kB / 0.5633 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.08e-05/0.4279, allocations: 107.9 kB / 0.5634 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.428, allocations: 183.2 kB / 0.5636 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.428, allocations: 110.1 kB / 0.5637 GB, free: 29.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.545e-05/0.428, allocations: 80.42 kB / 0.5638 GB, free: 29.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.428, allocations: 1.438 kB / 0.5638 GB, free: 29.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.4283, allocations: 24.42 kB / 0.5638 GB, free: 29.33 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.0003676/0.4287, allocations: 221 kB / 0.564 GB, free: 29.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.199e-05/0.4288, allocations: 3 kB / 0.564 GB, free: 29.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4288, allocations: 0.8438 kB / 0.564 GB, free: 29.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/0.4288, allocations: 5.578 kB / 0.564 GB, free: 29.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.4291, allocations: 0.5276 MB / 0.5645 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.4294, allocations: 222.7 kB / 0.5647 GB, free: 28.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.775e-05/0.4295, allocations: 0.6747 MB / 0.5654 GB, free: 27.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.4296, allocations: 10.25 kB / 0.5654 GB, free: 27.7 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.4296, allocations: 0 / 0.5654 GB, free: 27.7 MB / 446.1 MB Notification: Performance of Templates: time 0.002601/0.4322, allocations: 0.8702 MB / 0.5662 GB, free: 27.68 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)