Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000656/0.000656, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009577/0.001614, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000706/0.000706, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008943/0.0016, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.948/0.948, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07676/1.025, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7486/0.7486, allocations: 155.3 MB / 399.3 MB, free: 15.94 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2304/0.979, allocations: 49.12 MB / 448.4 MB, free: 6.051 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0.5469 kB / 449.7 MB, free: 4.727 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.922e-05, allocations: 3.156 kB / 449.7 MB, free: 4.723 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001123/0.001142, allocations: 0.6255 MB / 450.4 MB, free: 4.129 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008418/0.001984, allocations: 1.052 MB / 451.4 MB, free: 3.066 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.002002, allocations: 0.9844 kB / 451.4 MB, free: 3.066 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.697e-06/0.002006, allocations: 0 / 451.4 MB, free: 3.066 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003266/0.002332, allocations: 86.69 kB / 451.5 MB, free: 2.984 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.447e-05/0.002357, allocations: 11.92 kB / 451.5 MB, free: 2.973 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.505e-05/0.002402, allocations: 8.156 kB / 451.5 MB, free: 2.969 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.002442, allocations: 3.984 kB / 451.5 MB, free: 2.965 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.679e-05/0.002488, allocations: 8.656 kB / 451.5 MB, free: 2.957 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.002639, allocations: 36.52 kB / 451.6 MB, free: 2.922 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.002648, allocations: 0.5625 kB / 451.6 MB, free: 2.922 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.002797, allocations: 85.16 kB / 451.6 MB, free: 2.84 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.726e-06/0.002805, allocations: 1.391 kB / 451.6 MB, free: 2.84 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.04e-05/0.002816, allocations: 1.656 kB / 451.7 MB, free: 2.84 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.002941, allocations: 77.67 kB / 451.7 MB, free: 2.766 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.25e-05/0.002953, allocations: 0 / 451.7 MB, free: 2.766 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.002954, allocations: 0 / 451.7 MB, free: 2.766 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.002965, allocations: 0 / 451.7 MB, free: 2.766 MB / 426.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.0002548/0.00322, allocations: 239.3 kB / 452 MB, free: 2.512 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.00325, allocations: 12.03 kB / 452 MB, free: 2.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.125e-05/0.003271, allocations: 2.109 kB / 452 MB, free: 2.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.244e-05/0.003343, allocations: 105.8 kB / 452.1 MB, free: 2.371 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-06/0.003351, allocations: 1.25 kB / 452.1 MB, free: 2.371 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.29e-06/0.003356, allocations: 2.5 kB / 452.1 MB, free: 2.371 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.568e-05/0.003412, allocations: 34.25 kB / 452.1 MB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.11e-06/0.003417, allocations: 192 / 452.1 MB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.003423, allocations: 4.125 kB / 452.1 MB, free: 2.328 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.003427, allocations: 4 kB / 452.1 MB, free: 2.324 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.588e-06/0.003437, allocations: 4.594 kB / 452.1 MB, free: 2.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.003656, allocations: 297 kB / 452.4 MB, free: 2.016 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.223e-05/0.003708, allocations: 168.4 kB / 452.6 MB, free: 1.844 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.841e-05/0.003727, allocations: 80.14 kB / 452.7 MB, free: 1.762 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.003744, allocations: 83.28 kB / 452.7 MB, free: 1.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.003774, allocations: 105.8 kB / 452.8 MB, free: 1.566 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.644e-06/0.003775, allocations: 4.594 kB / 452.8 MB, free: 1.562 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 4.335e-05/0.003819, allocations: 30.3 kB / 452.9 MB, free: 1.527 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.003864, allocations: 131.5 kB / 453 MB, free: 1.387 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.964e-05/0.003934, allocations: 104.6 kB / 453.1 MB, free: 1.273 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.642e-06/0.003941, allocations: 26.33 kB / 453.1 MB, free: 1.242 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.733e-05/0.003968, allocations: 88.06 kB / 453.2 MB, free: 1.152 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.458e-06/0.003972, allocations: 1.5 kB / 453.2 MB, free: 1.152 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.003994, allocations: 18.33 kB / 453.2 MB, free: 1.129 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.599e-05/0.00406, allocations: 310.8 kB / 453.5 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.889e-06/0.004064, allocations: 0 / 453.5 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.488e-06/0.004069, allocations: 6.094 kB / 453.5 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.122e-05/0.00409, allocations: 12.78 kB / 453.6 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.004092, allocations: 0 / 453.6 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.068e-05/0.004143, allocations: 30.8 kB / 453.6 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.004157, allocations: 8.906 kB / 453.6 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.004162, allocations: 3.938 kB / 453.6 MB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.132e-06/0.004168, allocations: 1 kB / 453.6 MB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.625e-05/0.004184, allocations: 0 / 453.6 MB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.004187, allocations: 0 / 453.6 MB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.014e-05/0.004197, allocations: 0.875 kB / 453.6 MB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.004202, allocations: 4 kB / 453.6 MB, free: 0.7461 MB / 426.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 5.784e-05/0.00426, allocations: 190 kB / 453.8 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.004294, allocations: 109 kB / 453.9 MB, free: 448 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.004332, allocations: 120.2 kB / 454 MB, free: 324 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.535e-05/0.004367, allocations: 180.2 kB / 454.2 MB, free: 136 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.188e-05/0.004419, allocations: 176.3 kB / 454.4 MB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.628e-05/0.004455, allocations: 184.9 kB / 454.5 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.004575, allocations: 326.7 kB / 454.9 MB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/0.004596, allocations: 101 kB / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.271e-05/0.004619, allocations: 104.9 kB / 455.1 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.004647, allocations: 110 kB / 455.2 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.725e-05/0.004684, allocations: 180.8 kB / 455.4 MB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/0.004722, allocations: 181.6 kB / 455.5 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.664e-05/0.004759, allocations: 184.2 kB / 455.7 MB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.533e-05/0.004794, allocations: 180.2 kB / 455.9 MB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.338e-05/0.004877, allocations: 303.8 kB / 456.2 MB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.004922, allocations: 186.7 kB / 456.4 MB, free: 13.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.198e-05/0.004964, allocations: 101 kB / 456.5 MB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.005006, allocations: 184.8 kB / 456.6 MB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.381e-05/0.00503, allocations: 113.7 kB / 456.8 MB, free: 13.44 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.85e-05/0.005049, allocations: 8.859 kB / 456.8 MB, free: 13.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005049, allocations: 0.9062 kB / 456.8 MB, free: 13.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000147/0.005196, allocations: 15.94 kB / 456.8 MB, free: 13.41 MB / 442.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.0004737/0.005669, allocations: 228.3 kB / 457 MB, free: 13.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.516e-05/0.005715, allocations: 12.8 kB / 457 MB, free: 13.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.00572, allocations: 5.422 kB / 457 MB, free: 13.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.41e-07/0.005721, allocations: 0.7656 kB / 457 MB, free: 13.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.005898, allocations: 463.6 kB / 457.5 MB, free: 12.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.006235, allocations: 212 kB / 457.7 MB, free: 12.49 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.446e-05/0.006259, allocations: 52.02 kB / 457.7 MB, free: 12.42 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.409e-05/0.006283, allocations: 6.625 kB / 457.7 MB, free: 12.42 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.006311, allocations: 51.36 kB / 457.8 MB, free: 12.37 MB / 442.7 MB Notification: Performance of SimCode: time 6.21e-07/0.006312, allocations: 5.125 kB / 457.8 MB, free: 12.36 MB / 442.7 MB Notification: Performance of Templates: time 0.002127/0.00844, allocations: 0.867 MB / 458.7 MB, free: 11.61 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.365712164901197]