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.001226/0.001226, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007688/0.0007688, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8615/0.8615, allocations: 177.1 MB / 203.5 MB, free: 5.75 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-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.682/0.682, allocations: 154.5 MB / 414.5 MB, free: 0.8555 MB / 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_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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.6194 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/2.917e-05, allocations: 5.234 kB / 0.6194 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002216/0.002245, allocations: 1.725 MB / 0.6211 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.005273/0.007518, allocations: 4.887 MB / 0.6258 GB, free: 6.488 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.007629, allocations: 4 kB / 0.6258 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.008654, allocations: 342.3 kB / 0.6262 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.95e-05/0.008744, allocations: 63.66 kB / 0.6262 GB, free: 6.086 MB / 0.5886 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.003358/0.0121, allocations: 1.607 MB / 0.6278 GB, free: 4.477 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.01233, allocations: 155.3 kB / 0.6279 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.01238, allocations: 13.81 kB / 0.6279 GB, free: 4.309 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.01e-05/0.01247, allocations: 83.72 kB / 0.628 GB, free: 4.227 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.01265, allocations: 159.6 kB / 0.6282 GB, free: 4.07 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.01268, allocations: 12 kB / 0.6282 GB, free: 4.059 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002849/0.01552, allocations: 2.405 MB / 0.6305 GB, free: 1.648 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.01571, allocations: 283.9 kB / 0.6308 GB, free: 1.371 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.01585, allocations: 164 kB / 0.631 GB, free: 1.211 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003018/0.01887, allocations: 2.514 MB / 0.6334 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.01887, allocations: 4 kB / 0.6334 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.364e-06/0.01887, allocations: 0 / 0.6334 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.01889, allocations: 0 / 0.6334 GB, free: 14.68 MB / 0.6042 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.004335/0.02322, allocations: 1.338 MB / 0.6347 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.02327, allocations: 13.47 kB / 0.6347 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000466/0.02373, allocations: 100.2 kB / 0.6348 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.02418, allocations: 355.7 kB / 0.6352 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.0242, allocations: 8.375 kB / 0.6352 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.02423, allocations: 8.375 kB / 0.6352 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.02455, allocations: 387.7 kB / 0.6356 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.02456, allocations: 192 / 0.6356 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.02457, allocations: 4.375 kB / 0.6356 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.02458, allocations: 3.938 kB / 0.6356 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002818/0.02486, allocations: 435.7 kB / 0.636 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.02529, allocations: 0.5859 MB / 0.6366 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/0.02565, allocations: 0.5594 MB / 0.6371 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.02585, allocations: 337.7 kB / 0.6374 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003876/0.02624, allocations: 135.8 kB / 0.6376 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002709/0.02651, allocations: 408.8 kB / 0.6379 GB, free: 9.895 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.02651, allocations: 7.938 kB / 0.638 GB, free: 9.887 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0008945/0.0274, allocations: 1.297 MB / 0.6392 GB, free: 8.582 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.02745, allocations: 85.05 kB / 0.6393 GB, free: 8.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008351/0.02828, allocations: 1.298 MB / 0.6406 GB, free: 7.172 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.02831, allocations: 33.7 kB / 0.6406 GB, free: 7.133 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.02845, allocations: 285.9 kB / 0.6409 GB, free: 6.848 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.02848, allocations: 27.94 kB / 0.6409 GB, free: 6.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.02869, allocations: 343.6 kB / 0.6412 GB, free: 6.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.642e-05/0.02878, allocations: 322 kB / 0.6415 GB, free: 6.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009066/0.02968, allocations: 1.369 MB / 0.6429 GB, free: 4.789 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008139/0.0305, allocations: 1.509 MB / 0.6443 GB, free: 3.266 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004386/0.03488, allocations: 3.553 MB / 0.6478 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.03489, allocations: 4 kB / 0.6478 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002953/0.03784, allocations: 4.015 MB / 0.6517 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.03786, allocations: 4 kB / 0.6517 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.03788, allocations: 11.94 kB / 0.6518 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.0379, allocations: 0 / 0.6518 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.03801, allocations: 23.92 kB / 0.6518 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.03801, allocations: 0 / 0.6518 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.03832, allocations: 237.4 kB / 0.652 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.03836, allocations: 27.98 kB / 0.652 GB, free: 11.27 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.0002531/0.03861, allocations: 250.1 kB / 0.6523 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.03866, allocations: 83.23 kB / 0.6523 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006795/0.03934, allocations: 0.9527 MB / 0.6533 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.03935, allocations: 0 / 0.6533 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.03935, allocations: 3.938 kB / 0.6533 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.03936, allocations: 4.031 kB / 0.6533 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.03967, allocations: 464.4 kB / 0.6537 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.03968, allocations: 0 / 0.6537 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/0.03972, allocations: 11.98 kB / 0.6537 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.03972, allocations: 0 / 0.6537 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.03973, allocations: 0 / 0.6537 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.03974, allocations: 7.984 kB / 0.6537 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.03974, allocations: 0 / 0.6537 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000584/0.04032, allocations: 1.018 MB / 0.6547 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.987e-05/0.0404, allocations: 95.19 kB / 0.6548 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.04045, allocations: 7.984 kB / 0.6548 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.04052, allocations: 4 kB / 0.6548 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.04056, allocations: 11.92 kB / 0.6549 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.04058, allocations: 11.98 kB / 0.6549 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005129/0.0411, allocations: 0.7261 MB / 0.6556 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.0411, allocations: 0 / 0.6556 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001366/0.04246, allocations: 0.5884 MB / 0.6562 GB, free: 6.973 MB / 0.6198 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.00143/0.04389, allocations: 0.7961 MB / 0.6569 GB, free: 6.199 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001242/0.04513, allocations: 1.989 MB / 0.6589 GB, free: 4.195 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.04514, allocations: 4 kB / 0.6589 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.04534, allocations: 339.7 kB / 0.6592 GB, free: 3.859 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.04562, allocations: 58.03 kB / 0.6593 GB, free: 3.801 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.04723, allocations: 1.922 MB / 0.6611 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.04748, allocations: 393.8 kB / 0.6615 GB, free: 1.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.715e-05/0.04757, allocations: 28.48 kB / 0.6615 GB, free: 1.402 MB / 0.6198 GB Notification: Performance of SimCode: time 1.743e-06/0.04757, allocations: 0 / 0.6615 GB, free: 1.402 MB / 0.6198 GB Notification: Performance of Templates: time 0.01698/0.06455, allocations: 15.1 MB / 0.6763 GB, free: 2.332 MB / 0.6355 GB " [Timeout remaining time 660] 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: 8.843756360001862] Failed to read output from testmodel.py, exit status != 0: 0.07038522884249687 0.34945141799999996 0.329059864 Calling exit ...