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_SmallScaleValidation.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.0006929/0.0006929, allocations: 100.4 kB / 19.71 MB, free: 448 kB / 13.93 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.0007231/0.0007231, allocations: 212.1 kB / 23 MB, free: 2.973 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.8397/0.8397, allocations: 230.6 MB / 256.8 MB, free: 9.574 MB / 202.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-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 0.7246/0.7246, allocations: 203.8 MB / 0.5049 GB, free: 10.39 MB / 410.7 MB " [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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008707/0.0008707, allocations: 67.92 kB / 0.7195 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.4416, allocations: 102 MB / 0.8191 GB, free: 1.305 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001882/0.4434, allocations: 1.735 MB / 0.8208 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004864/0.4483, allocations: 4.893 MB / 0.8256 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.113e-05/0.4484, allocations: 1.469 kB / 0.8256 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007926/0.4492, allocations: 329.1 kB / 0.8259 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.697e-05/0.4492, allocations: 70.25 kB / 0.8259 GB, free: 12.89 MB / 0.6198 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.00203/0.4513, allocations: 1.577 MB / 0.8275 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.4515, allocations: 162.5 kB / 0.8276 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.4515, allocations: 10.02 kB / 0.8277 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.376e-05/0.4516, allocations: 62.44 kB / 0.8277 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.4517, allocations: 169.5 kB / 0.8279 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.4518, allocations: 14.94 kB / 0.8279 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.4546, allocations: 2.388 MB / 0.8302 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002908/0.4549, allocations: 290.2 kB / 0.8305 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.4551, allocations: 241.9 kB / 0.8307 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002045/0.4572, allocations: 2.21 MB / 0.8329 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.4572, allocations: 0 / 0.8329 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4572, allocations: 0 / 0.8329 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.4572, allocations: 1.719 kB / 0.8329 GB, free: 10.67 MB / 0.6198 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.004313/0.4615, allocations: 1.334 MB / 0.8342 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.4615, allocations: 15.89 kB / 0.8342 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/0.4618, allocations: 101.3 kB / 0.8343 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.4622, allocations: 350.3 kB / 0.8346 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.4622, allocations: 3.438 kB / 0.8346 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.4622, allocations: 8.719 kB / 0.8346 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.4626, allocations: 400.2 kB / 0.835 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.4626, allocations: 4 kB / 0.835 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.4626, allocations: 1.094 kB / 0.835 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4626, allocations: 1.031 kB / 0.835 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.4629, allocations: 434.9 kB / 0.8354 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.4633, allocations: 0.5994 MB / 0.836 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/0.4638, allocations: 0.5592 MB / 0.8366 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.464, allocations: 336.4 kB / 0.8369 GB, free: 8.453 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003571/0.4644, allocations: 130.7 kB / 0.837 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/0.4647, allocations: 403.9 kB / 0.8374 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.4647, allocations: 3.984 kB / 0.8374 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001055/0.4657, allocations: 1.313 MB / 0.8387 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.4658, allocations: 80.39 kB / 0.8388 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008901/0.4666, allocations: 1.291 MB / 0.84 GB, free: 7.125 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.4667, allocations: 34.81 kB / 0.8401 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.4668, allocations: 290.1 kB / 0.8403 GB, free: 6.832 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.4669, allocations: 26.92 kB / 0.8404 GB, free: 6.809 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.4671, allocations: 350.8 kB / 0.8407 GB, free: 6.645 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.88e-05/0.4671, allocations: 322 kB / 0.841 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009126/0.4681, allocations: 1.373 MB / 0.8424 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.4691, allocations: 1.505 MB / 0.8438 GB, free: 5.074 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004942/0.474, allocations: 3.557 MB / 0.8473 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.474, allocations: 0 / 0.8473 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002984/0.477, allocations: 4.015 MB / 0.8512 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.477, allocations: 13.22 kB / 0.8512 GB, free: 0.7422 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.477, allocations: 6.594 kB / 0.8512 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.477, allocations: 1.406 kB / 0.8512 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.058e-05/0.4771, allocations: 15.14 kB / 0.8512 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4771, allocations: 1.156 kB / 0.8513 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.4774, allocations: 236.4 kB / 0.8515 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/0.4775, allocations: 22.36 kB / 0.8515 GB, free: 0.5391 MB / 0.6198 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.0002085/0.4777, allocations: 260.4 kB / 0.8517 GB, free: 368 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.4777, allocations: 84.02 kB / 0.8518 GB, free: 300 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007478/0.4785, allocations: 0.9456 MB / 0.8527 GB, free: 72 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4785, allocations: 1.219 kB / 0.8528 GB, free: 72 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.4785, allocations: 1.188 kB / 0.8528 GB, free: 72 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.4785, allocations: 0 / 0.8528 GB, free: 72 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.4788, allocations: 470.9 kB / 0.8532 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4788, allocations: 1.156 kB / 0.8532 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.4789, allocations: 5.219 kB / 0.8532 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.4789, allocations: 5.406 kB / 0.8532 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.4789, allocations: 12.98 kB / 0.8532 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4789, allocations: 1.094 kB / 0.8532 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4789, allocations: 1.75 kB / 0.8532 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007382/0.4796, allocations: 1.004 MB / 0.8542 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.021e-05/0.4797, allocations: 91.7 kB / 0.8543 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.4797, allocations: 13.03 kB / 0.8543 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.4798, allocations: 11.28 kB / 0.8543 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.4799, allocations: 8.109 kB / 0.8543 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.4799, allocations: 10.8 kB / 0.8543 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005908/0.4805, allocations: 0.7245 MB / 0.855 GB, free: 15 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4805, allocations: 0 / 0.855 GB, free: 15 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001305/0.4818, allocations: 0.5931 MB / 0.8556 GB, free: 14.87 MB / 0.6355 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.001233/0.483, allocations: 0.7033 MB / 0.8563 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001615/0.4846, allocations: 2 MB / 0.8583 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4846, allocations: 0 / 0.8583 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.4848, allocations: 335.7 kB / 0.8586 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.4851, allocations: 64.64 kB / 0.8586 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.4866, allocations: 1.935 MB / 0.8605 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.4868, allocations: 401.7 kB / 0.8609 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.097e-05/0.4869, allocations: 31.41 kB / 0.8609 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/0.4869, allocations: 0 / 0.8609 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of Templates: time 0.01245/0.4993, allocations: 15 MB / 0.8756 GB, free: 11.23 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.925816271919757] Failed to read output from testmodel.py, exit status != 0: 0.5049395258538425 0.512818584 0.054169106 Calling exit ...