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.001273/0.001273, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.0014/0.0014, allocations: 158.2 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.4/1.4, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 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-531:190: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-531:198: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 1.187/1.187, allocations: 154.5 MB / 413.7 MB, free: 5.316 MB / 382.1 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 178] 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 1.483e-06/1.483e-06, allocations: 0 / 0.6186 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.643e-05, allocations: 5.234 kB / 0.6186 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002555/0.002581, allocations: 1.43 MB / 0.62 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006834/0.009415, allocations: 3.855 MB / 0.6238 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.815e-05/0.009483, allocations: 3.938 kB / 0.6238 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.009619, allocations: 11.92 kB / 0.6238 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.00987, allocations: 31.72 kB / 0.6238 GB, free: 15.2 MB / 0.545 GB [/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.003937/0.01381, allocations: 1.597 MB / 0.6254 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.01395, allocations: 91.67 kB / 0.6255 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.01399, allocations: 15.92 kB / 0.6255 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.0141, allocations: 51.88 kB / 0.6255 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.01435, allocations: 143.7 kB / 0.6257 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.957e-05/0.0144, allocations: 16 kB / 0.6257 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003854/0.01825, allocations: 2.409 MB / 0.628 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002575/0.01851, allocations: 271.9 kB / 0.6283 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.01872, allocations: 156 kB / 0.6284 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003331/0.02205, allocations: 2.448 MB / 0.6308 GB, free: 8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.02205, allocations: 0 / 0.6308 GB, free: 8 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.172e-06/0.02206, allocations: 0 / 0.6308 GB, free: 8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.02206, allocations: 4 kB / 0.6308 GB, free: 7.996 MB / 0.545 GB 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.0111/0.03317, allocations: 1.268 MB / 0.6321 GB, free: 6.691 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.0332, allocations: 8.031 kB / 0.6321 GB, free: 6.684 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003983/0.0336, allocations: 92.23 kB / 0.6322 GB, free: 6.594 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.03402, allocations: 314.4 kB / 0.6325 GB, free: 6.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.03403, allocations: 8.359 kB / 0.6325 GB, free: 6.242 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.03407, allocations: 8.375 kB / 0.6325 GB, free: 6.234 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/0.03456, allocations: 399.7 kB / 0.6329 GB, free: 5.832 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.03457, allocations: 192 / 0.6329 GB, free: 5.832 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.03458, allocations: 384 / 0.6329 GB, free: 5.832 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.03459, allocations: 7.938 kB / 0.6329 GB, free: 5.824 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004875/0.03508, allocations: 427.8 kB / 0.6333 GB, free: 5.406 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000635/0.03571, allocations: 0.5692 MB / 0.6338 GB, free: 4.805 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/0.03631, allocations: 0.5632 MB / 0.6344 GB, free: 4.223 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003492/0.03666, allocations: 337.7 kB / 0.6347 GB, free: 3.887 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006651/0.03733, allocations: 135.7 kB / 0.6348 GB, free: 3.754 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004605/0.03779, allocations: 404.8 kB / 0.6352 GB, free: 3.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.03779, allocations: 0 / 0.6352 GB, free: 3.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001484/0.03927, allocations: 1.297 MB / 0.6365 GB, free: 2.035 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.03935, allocations: 81.05 kB / 0.6366 GB, free: 1.938 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.04066, allocations: 1.223 MB / 0.6378 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.04071, allocations: 29.7 kB / 0.6378 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.04094, allocations: 269.9 kB / 0.638 GB, free: 404 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.04097, allocations: 19.86 kB / 0.6381 GB, free: 384 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003536/0.04133, allocations: 343.6 kB / 0.6384 GB, free: 36 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.04149, allocations: 314 kB / 0.6387 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.04293, allocations: 1.373 MB / 0.64 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.04449, allocations: 1.501 MB / 0.6415 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007716/0.0522, allocations: 3.568 MB / 0.645 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.05221, allocations: 0 / 0.645 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004809/0.05701, allocations: 4.003 MB / 0.6489 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.05703, allocations: 4 kB / 0.6489 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.05705, allocations: 7.938 kB / 0.6489 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.05706, allocations: 3.938 kB / 0.6489 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.05719, allocations: 19.92 kB / 0.6489 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.0572, allocations: 0 / 0.6489 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005339/0.05773, allocations: 241.4 kB / 0.6492 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/0.05779, allocations: 27.92 kB / 0.6492 GB, free: 4.836 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[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.000317/0.05811, allocations: 238.7 kB / 0.6494 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.108e-05/0.05818, allocations: 79.23 kB / 0.6495 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.05927, allocations: 0.9323 MB / 0.6504 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.05927, allocations: 4 kB / 0.6504 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.05928, allocations: 3.938 kB / 0.6504 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.05928, allocations: 3.984 kB / 0.6504 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.05975, allocations: 439.4 kB / 0.6508 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.05976, allocations: 4 kB / 0.6508 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.981e-05/0.05984, allocations: 19.95 kB / 0.6509 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.05984, allocations: 0 / 0.6509 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.05985, allocations: 4 kB / 0.6509 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.758e-06/0.05986, allocations: 3.984 kB / 0.6509 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.05986, allocations: 0 / 0.6509 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.0609, allocations: 0.998 MB / 0.6518 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.068e-05/0.06099, allocations: 79.3 kB / 0.6519 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.341e-05/0.06106, allocations: 7.984 kB / 0.6519 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.0612, allocations: 8 kB / 0.6519 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.06124, allocations: 11.92 kB / 0.6519 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/0.06128, allocations: 15.92 kB / 0.652 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007984/0.06207, allocations: 0.6728 MB / 0.6526 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.06207, allocations: 0 / 0.6526 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001578/0.06365, allocations: 0.5884 MB / 0.6532 GB, free: 0.6641 MB / 0.5606 GB 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.002066/0.06572, allocations: 0.7824 MB / 0.6539 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002295/0.06801, allocations: 2.005 MB / 0.6559 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.06802, allocations: 0 / 0.6559 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.06839, allocations: 335.8 kB / 0.6562 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.06871, allocations: 34.95 kB / 0.6563 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.07092, allocations: 1.771 MB / 0.658 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.07132, allocations: 376.1 kB / 0.6583 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.07145, allocations: 40.45 kB / 0.6584 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.07156, allocations: 24.48 kB / 0.6584 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.07156, allocations: 4 kB / 0.6584 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of Templates: time 0.0246/0.09616, allocations: 14.03 MB / 0.6721 GB, free: 13.35 MB / 0.5919 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.736820500344038] Failed to read output from testmodel.py, exit status != 0: 0.10500384494662285 0.119555323 0.094338765 Calling exit ...