Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9457/0.9457, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7608/0.7608, allocations: 154.6 MB / 414.8 MB, free: 0.5312 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 480.1 MB, free: 6.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.415e-05, allocations: 4.422 kB / 480.1 MB, free: 6.816 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002071/0.002095, allocations: 0.6368 MB / 480.8 MB, free: 6.211 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.003486, allocations: 1.041 MB / 481.8 MB, free: 5.156 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.949e-05/0.003505, allocations: 0.625 kB / 481.8 MB, free: 5.156 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.00352, allocations: 0.5938 kB / 481.8 MB, free: 5.156 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006108/0.00413, allocations: 87.33 kB / 481.9 MB, free: 5.074 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.287e-05/0.004163, allocations: 8.547 kB / 481.9 MB, free: 5.066 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.764e-05/0.004211, allocations: 5.203 kB / 481.9 MB, free: 5.062 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.004251, allocations: 7.984 kB / 481.9 MB, free: 5.055 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.343e-05/0.004285, allocations: 5.75 kB / 481.9 MB, free: 5.051 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.004469, allocations: 23.98 kB / 481.9 MB, free: 5.027 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.004482, allocations: 5.422 kB / 481.9 MB, free: 5.023 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.004677, allocations: 89.27 kB / 482 MB, free: 4.938 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.857e-06/0.004686, allocations: 3.938 kB / 482 MB, free: 4.934 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.472e-05/0.004701, allocations: 5.609 kB / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.004861, allocations: 80.59 kB / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.004864, allocations: 0.6562 kB / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004865, allocations: 0.9062 kB / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.004869, allocations: 0 / 482.1 MB, free: 4.852 MB / 442.7 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.0002401/0.005109, allocations: 241.5 kB / 482.4 MB, free: 4.598 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.005146, allocations: 8.031 kB / 482.4 MB, free: 4.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.00517, allocations: 1.562 kB / 482.4 MB, free: 4.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.366e-05/0.005264, allocations: 118 kB / 482.5 MB, free: 4.453 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.005274, allocations: 384 / 482.5 MB, free: 4.453 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-06/0.00528, allocations: 384 / 482.5 MB, free: 4.453 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.75e-05/0.005338, allocations: 30.27 kB / 482.5 MB, free: 4.418 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.005344, allocations: 192 / 482.5 MB, free: 4.418 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.005351, allocations: 4.125 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.005356, allocations: 0 / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.748e-06/0.005366, allocations: 4.984 kB / 482.5 MB, free: 4.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002559/0.005622, allocations: 300 kB / 482.8 MB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.492e-05/0.005686, allocations: 173.1 kB / 483 MB, free: 3.922 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.005712, allocations: 81.36 kB / 483.1 MB, free: 3.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.005733, allocations: 75.28 kB / 483.1 MB, free: 3.766 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.005774, allocations: 109.8 kB / 483.2 MB, free: 3.648 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.005775, allocations: 0.8125 kB / 483.2 MB, free: 3.648 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 6.211e-05/0.005837, allocations: 34.52 kB / 483.3 MB, free: 3.609 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.005885, allocations: 131.3 kB / 483.4 MB, free: 3.469 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.192e-05/0.005957, allocations: 99.27 kB / 483.5 MB, free: 3.359 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.005967, allocations: 30.33 kB / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.006005, allocations: 89.05 kB / 483.6 MB, free: 3.234 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.006007, allocations: 0 / 483.6 MB, free: 3.234 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.006037, allocations: 18.34 kB / 483.6 MB, free: 3.211 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.462e-05/0.006122, allocations: 315.8 kB / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.261e-06/0.006128, allocations: 0.625 kB / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.039e-06/0.006133, allocations: 0.625 kB / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.3e-05/0.006156, allocations: 9.797 kB / 483.9 MB, free: 2.883 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.00616, allocations: 4 kB / 484 MB, free: 2.879 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.058e-05/0.00623, allocations: 35.2 kB / 484 MB, free: 2.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.006243, allocations: 4 kB / 484 MB, free: 2.836 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.006249, allocations: 3.938 kB / 484 MB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.006259, allocations: 4 kB / 484 MB, free: 2.828 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.877e-05/0.006278, allocations: 5.656 kB / 484 MB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.00628, allocations: 0 / 484 MB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.408e-05/0.006294, allocations: 4.938 kB / 484 MB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.006299, allocations: 0 / 484 MB, free: 2.82 MB / 442.7 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 7.918e-05/0.006378, allocations: 185.8 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/0.00643, allocations: 101.6 kB / 484.3 MB, free: 2.523 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.006473, allocations: 113.3 kB / 484.4 MB, free: 2.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-05/0.006522, allocations: 185 kB / 484.6 MB, free: 2.223 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.142e-05/0.006574, allocations: 184.2 kB / 484.8 MB, free: 2.035 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.852e-05/0.006622, allocations: 176.9 kB / 484.9 MB, free: 1.855 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.00679, allocations: 318.3 kB / 485.2 MB, free: 1.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.164e-05/0.006822, allocations: 110.1 kB / 485.4 MB, free: 1.406 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.013e-05/0.006852, allocations: 105 kB / 485.5 MB, free: 1.297 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.113e-05/0.006903, allocations: 180.2 kB / 485.6 MB, free: 1.113 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.298e-05/0.006956, allocations: 178.4 kB / 485.8 MB, free: 0.9336 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002947/0.00725, allocations: 184.3 kB / 486 MB, free: 0.7461 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.346e-05/0.007304, allocations: 188.1 kB / 486.2 MB, free: 0.5547 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.007412, allocations: 303.8 kB / 486.5 MB, free: 240 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/0.007443, allocations: 105.2 kB / 486.6 MB, free: 128 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.363e-05/0.007516, allocations: 177.7 kB / 486.7 MB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.007589, allocations: 116.9 kB / 486.9 MB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.007637, allocations: 182.2 kB / 487 MB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.007667, allocations: 112.7 kB / 487.1 MB, free: 15.53 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.909e-05/0.007686, allocations: 8.859 kB / 487.2 MB, free: 15.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.007686, allocations: 0 / 487.2 MB, free: 15.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002541/0.00794, allocations: 24.8 kB / 487.2 MB, free: 15.49 MB / 458.7 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.0003741/0.008314, allocations: 219.5 kB / 487.4 MB, free: 15.29 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.023e-05/0.008375, allocations: 9.609 kB / 487.4 MB, free: 15.28 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.00838, allocations: 0.5 kB / 487.4 MB, free: 15.28 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.008382, allocations: 0.5469 kB / 487.4 MB, free: 15.28 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.008575, allocations: 472 kB / 487.9 MB, free: 14.82 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.008841, allocations: 207.2 kB / 488.1 MB, free: 14.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.494e-05/0.008866, allocations: 55.22 kB / 488.1 MB, free: 14.52 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.608e-05/0.008893, allocations: 8.922 kB / 488.1 MB, free: 14.51 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.008925, allocations: 53.45 kB / 488.2 MB, free: 14.46 MB / 458.7 MB Notification: Performance of SimCode: time 1.263e-06/0.008927, allocations: 0 / 488.2 MB, free: 14.46 MB / 458.7 MB Notification: Performance of Templates: time 0.002085/0.01101, allocations: 0.842 MB / 489 MB, free: 13.71 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.450406981166452]