Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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.001347/0.001347, 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.001473/0.001473, allocations: 159.6 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.432/1.432, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.184/1.184, allocations: 154.6 MB / 413.7 MB, free: 5.312 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.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.6186 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.224e-05, allocations: 3.656 kB / 0.6186 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002397/0.002419, allocations: 1.268 MB / 0.6198 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007337/0.009756, allocations: 4.137 MB / 0.6239 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.276e-05/0.009779, allocations: 0 / 0.6239 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.785e-05/0.009827, allocations: 4 kB / 0.6239 GB, free: 15.19 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.typeBindings: time 0.004645/0.01447, allocations: 1.611 MB / 0.6254 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 9.928e-05/0.01457, allocations: 35.91 kB / 0.6255 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.234e-05/0.01463, allocations: 7.938 kB / 0.6255 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.01468, allocations: 11.97 kB / 0.6255 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.249e-05/0.01471, allocations: 7.938 kB / 0.6255 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.278e-05/0.01477, allocations: 21.28 kB / 0.6255 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.01479, allocations: 0 / 0.6255 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004284/0.01907, allocations: 2.456 MB / 0.6279 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.01923, allocations: 149.2 kB / 0.6281 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.01926, allocations: 0 / 0.6281 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003883/0.02314, allocations: 2.1 MB / 0.6301 GB, free: 8.777 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.02315, allocations: 0 / 0.6301 GB, free: 8.777 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.02315, allocations: 0 / 0.6301 GB, free: 8.777 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.02316, allocations: 4 kB / 0.6301 GB, free: 8.773 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001136/0.02429, allocations: 0.5733 MB / 0.6307 GB, free: 8.168 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.02433, allocations: 8.031 kB / 0.6307 GB, free: 8.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.02436, allocations: 0.9375 kB / 0.6307 GB, free: 8.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.0245, allocations: 109.8 kB / 0.6308 GB, free: 8.027 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.02451, allocations: 384 / 0.6308 GB, free: 8.027 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.02452, allocations: 384 / 0.6308 GB, free: 8.027 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.02474, allocations: 170.2 kB / 0.6309 GB, free: 7.855 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.02475, allocations: 3.938 kB / 0.631 GB, free: 7.852 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.02476, allocations: 0 / 0.631 GB, free: 7.852 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.02476, allocations: 4 kB / 0.631 GB, free: 7.848 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002691/0.02503, allocations: 287.8 kB / 0.6312 GB, free: 7.566 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.02533, allocations: 233.3 kB / 0.6315 GB, free: 7.309 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.0255, allocations: 162.5 kB / 0.6316 GB, free: 7.141 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.02564, allocations: 140.9 kB / 0.6317 GB, free: 7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.02564, allocations: 4 kB / 0.6317 GB, free: 6.996 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.02567, allocations: 34.55 kB / 0.6318 GB, free: 6.953 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.02567, allocations: 0 / 0.6318 GB, free: 6.953 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0005113/0.02619, allocations: 457.4 kB / 0.6322 GB, free: 6.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.02624, allocations: 51.53 kB / 0.6323 GB, free: 6.438 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.02638, allocations: 173.8 kB / 0.6324 GB, free: 6.258 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.0264, allocations: 25.7 kB / 0.6325 GB, free: 6.227 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.157e-05/0.02644, allocations: 80.14 kB / 0.6325 GB, free: 6.145 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.02646, allocations: 0 / 0.6325 GB, free: 6.145 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.02649, allocations: 13.72 kB / 0.6325 GB, free: 6.125 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.02663, allocations: 314.8 kB / 0.6328 GB, free: 5.809 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.02676, allocations: 143.9 kB / 0.633 GB, free: 5.668 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.02689, allocations: 143.9 kB / 0.6331 GB, free: 5.527 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.02716, allocations: 284.9 kB / 0.6334 GB, free: 5.246 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.02717, allocations: 11.92 kB / 0.6334 GB, free: 5.234 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003088/0.02747, allocations: 309.5 kB / 0.6337 GB, free: 4.926 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.02749, allocations: 8 kB / 0.6337 GB, free: 4.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.0275, allocations: 7.969 kB / 0.6337 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.02752, allocations: 7.875 kB / 0.6337 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.02758, allocations: 3.984 kB / 0.6337 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.02759, allocations: 0 / 0.6337 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.282e-05/0.02767, allocations: 4 kB / 0.6337 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.02768, allocations: 0 / 0.6337 GB, free: 4.895 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 0.0001445/0.02782, allocations: 170.8 kB / 0.6339 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.02784, allocations: 4 kB / 0.6339 GB, free: 4.715 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/0.0282, allocations: 324.5 kB / 0.6342 GB, free: 4.391 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.0282, allocations: 3.938 kB / 0.6342 GB, free: 4.387 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.02821, allocations: 0 / 0.6342 GB, free: 4.387 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.02821, allocations: 0 / 0.6342 GB, free: 4.387 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.02847, allocations: 237.3 kB / 0.6344 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.02847, allocations: 4 kB / 0.6344 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.02847, allocations: 0 / 0.6344 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.02848, allocations: 0 / 0.6344 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.02848, allocations: 0 / 0.6344 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.02848, allocations: 4.031 kB / 0.6344 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.02849, allocations: 3.938 kB / 0.6344 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.02886, allocations: 337 kB / 0.6348 GB, free: 3.766 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.02886, allocations: 4 kB / 0.6348 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.16e-05/0.02894, allocations: 0 / 0.6348 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.02901, allocations: 0 / 0.6348 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/0.02903, allocations: 7.922 kB / 0.6348 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.02904, allocations: 3.938 kB / 0.6348 GB, free: 3.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001117/0.02915, allocations: 155.2 kB / 0.6349 GB, free: 3.598 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.02915, allocations: 128 / 0.6349 GB, free: 3.598 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001584/0.03073, allocations: 0.5803 MB / 0.6355 GB, free: 3.016 MB / 0.545 GB 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.003323/0.03406, allocations: 1.028 MB / 0.6365 GB, free: 2.105 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003445/0.0344, allocations: 279.9 kB / 0.6368 GB, free: 1.832 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.03441, allocations: 4 kB / 0.6368 GB, free: 1.828 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.03457, allocations: 169.6 kB / 0.6369 GB, free: 1.656 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.03479, allocations: 0 / 0.6369 GB, free: 1.656 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.03621, allocations: 0.9635 MB / 0.6379 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.03643, allocations: 213.1 kB / 0.6381 GB, free: 448 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.008e-05/0.03645, allocations: 0 / 0.6381 GB, free: 448 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.03648, allocations: 20.38 kB / 0.6381 GB, free: 428 kB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.03648, allocations: 0 / 0.6381 GB, free: 428 kB / 0.545 GB Notification: Performance of Templates: time 0.02434/0.06082, allocations: 12.63 MB / 0.6504 GB, free: 3.809 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.808499608188868] Failed to read output from testmodel.py, exit status != 0: 0.06991178542375565 0.08638775300000001 0.059825171 Calling exit ...