Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.0009468/0.0009468, allocations: 80.94 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.0009712/0.0009712, allocations: 177 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.9725/0.9725, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.7583/0.7583, allocations: 154.9 MB / 415.1 MB, free: 232 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 480.4 MB, free: 6.496 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.74e-05, allocations: 4.281 kB / 480.5 MB, free: 6.492 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002202/0.002229, allocations: 1.46 MB / 481.9 MB, free: 5.055 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004403/0.006632, allocations: 4.042 MB / 486 MB, free: 1.039 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.097e-05/0.006673, allocations: 0 / 486 MB, free: 1.039 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.888e-05/0.006772, allocations: 11.86 kB / 486 MB, free: 1.027 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.00696, allocations: 32.47 kB / 486 MB, free: 0.9961 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.002326/0.009285, allocations: 1.622 MB / 487.6 MB, free: 15.38 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.009388, allocations: 95.66 kB / 487.7 MB, free: 15.29 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.197e-05/0.00942, allocations: 4.531 kB / 487.7 MB, free: 15.29 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.974e-05/0.00949, allocations: 60.44 kB / 487.8 MB, free: 15.23 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.81e-05/0.009588, allocations: 49.78 kB / 487.8 MB, free: 15.18 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.009603, allocations: 4 kB / 487.8 MB, free: 15.18 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002077/0.01168, allocations: 2.395 MB / 490.2 MB, free: 12.79 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.01181, allocations: 251.3 kB / 490.5 MB, free: 12.55 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 8.599e-05/0.0119, allocations: 124.5 kB / 490.6 MB, free: 12.43 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.01385, allocations: 2.334 MB / 492.9 MB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.01385, allocations: 4 kB / 492.9 MB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01385, allocations: 2.344 kB / 492.9 MB, free: 10.08 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.01385, allocations: 0 / 492.9 MB, free: 10.08 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001111/0.01497, allocations: 1.203 MB / 494.1 MB, free: 8.852 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.015, allocations: 12.03 kB / 494.1 MB, free: 8.84 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.01518, allocations: 29.97 kB / 494.2 MB, free: 8.812 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.0154, allocations: 294.4 kB / 494.5 MB, free: 8.488 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.01541, allocations: 4.375 kB / 494.5 MB, free: 8.484 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.01543, allocations: 9.109 kB / 494.5 MB, free: 8.477 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.01562, allocations: 226.4 kB / 494.7 MB, free: 8.242 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.01563, allocations: 2.297 kB / 494.7 MB, free: 8.242 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.01564, allocations: 384 / 494.7 MB, free: 8.242 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.01564, allocations: 3.938 kB / 494.7 MB, free: 8.238 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.01577, allocations: 200.6 kB / 494.9 MB, free: 8.043 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.01596, allocations: 256.5 kB / 495.1 MB, free: 7.773 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.01613, allocations: 286 kB / 495.4 MB, free: 7.477 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.086e-05/0.01622, allocations: 158.9 kB / 495.6 MB, free: 7.316 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003427/0.01656, allocations: 144.4 kB / 495.7 MB, free: 7.18 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.01673, allocations: 221.7 kB / 495.9 MB, free: 6.945 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.01673, allocations: 0 / 495.9 MB, free: 6.945 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003691/0.0171, allocations: 494.4 kB / 496.4 MB, free: 6.457 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.01713, allocations: 81.98 kB / 496.5 MB, free: 6.359 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004964/0.01763, allocations: 0.9973 MB / 497.5 MB, free: 5.348 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.01765, allocations: 30.64 kB / 497.5 MB, free: 5.312 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.01776, allocations: 265.7 kB / 497.8 MB, free: 5.047 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.01778, allocations: 19.84 kB / 497.8 MB, free: 5.027 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.01797, allocations: 336 kB / 498.1 MB, free: 4.695 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.503e-05/0.01803, allocations: 318 kB / 498.4 MB, free: 4.379 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/0.01834, allocations: 0.5076 MB / 499 MB, free: 3.871 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004807/0.01882, allocations: 0.6081 MB / 499.6 MB, free: 3.254 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.02022, allocations: 2.232 MB / 0.49 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.02022, allocations: 0.6875 kB / 0.49 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00234/0.02256, allocations: 3.724 MB / 0.4937 GB, free: 13.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.02257, allocations: 6.344 kB / 0.4937 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.02258, allocations: 320 / 0.4937 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.02259, allocations: 4 kB / 0.4937 GB, free: 13.17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.99e-05/0.02267, allocations: 19.98 kB / 0.4937 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.02267, allocations: 3.938 kB / 0.4937 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.02291, allocations: 253.9 kB / 0.4939 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.02293, allocations: 19.97 kB / 0.494 GB, free: 12.88 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (labels[1],cluSiz[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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 0.0001131/0.02305, allocations: 127.2 kB / 0.4941 GB, free: 12.75 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.02306, allocations: 7.984 kB / 0.4941 GB, free: 12.74 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.02334, allocations: 363.2 kB / 0.4944 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.02334, allocations: 4.891 kB / 0.4944 GB, free: 12.37 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.02334, allocations: 0 / 0.4944 GB, free: 12.37 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.02335, allocations: 4.688 kB / 0.4945 GB, free: 12.37 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/0.02367, allocations: 298.6 kB / 0.4947 GB, free: 12.06 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.02367, allocations: 5.25 kB / 0.4947 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.911e-05/0.0237, allocations: 7.984 kB / 0.4947 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.0237, allocations: 0 / 0.4947 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.02371, allocations: 5.094 kB / 0.4948 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.02371, allocations: 0 / 0.4948 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02372, allocations: 0 / 0.4948 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.02394, allocations: 379.7 kB / 0.4951 GB, free: 11.65 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.02398, allocations: 80.31 kB / 0.4952 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.02402, allocations: 4 kB / 0.4952 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.754e-05/0.02407, allocations: 8.641 kB / 0.4952 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/0.02409, allocations: 5.344 kB / 0.4952 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.02411, allocations: 11.97 kB / 0.4952 GB, free: 11.55 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002313/0.02434, allocations: 391.7 kB / 0.4956 GB, free: 11.16 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02434, allocations: 0.9062 kB / 0.4956 GB, free: 11.16 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007465/0.02509, allocations: 0.5806 MB / 0.4962 GB, free: 10.57 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00117/0.02626, allocations: 0.8139 MB / 0.497 GB, free: 9.816 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006464/0.02691, allocations: 0.9614 MB / 0.4979 GB, free: 8.836 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.02691, allocations: 12.59 kB / 0.4979 GB, free: 8.824 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.02702, allocations: 166.7 kB / 0.4981 GB, free: 8.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.02717, allocations: 44.73 kB / 0.4981 GB, free: 8.613 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.02822, allocations: 1.437 MB / 0.4995 GB, free: 7.145 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.02832, allocations: 191.1 kB / 0.4997 GB, free: 6.938 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.451e-05/0.02839, allocations: 34.94 kB / 0.4997 GB, free: 6.918 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.02851, allocations: 79.34 kB / 0.4998 GB, free: 6.84 MB / 474.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02851, allocations: 0 / 0.4998 GB, free: 6.84 MB / 474.7 MB Notification: Performance of Templates: time 0.01611/0.04462, allocations: 15.47 MB / 0.5149 GB, free: 7.754 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.127932894043624]