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.002372/0.002372, allocations: 85.48 kB / 19.44 MB, free: 344 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.002719/0.002719, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.566/1.566, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 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-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 1.341/1.341, allocations: 154.8 MB / 414.4 MB, free: 452 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 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.653e-06/1.653e-06, allocations: 0.9844 kB / 0.5199 GB, free: 2.23 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.107e-05, allocations: 4.422 kB / 0.5199 GB, free: 2.227 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00254/0.002571, allocations: 1.282 MB / 0.5212 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00807/0.01064, allocations: 4.325 MB / 0.5254 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.01068, allocations: 0 / 0.5254 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 6.886e-05/0.01074, allocations: 0.7188 kB / 0.5254 GB, free: 12.62 MB / 0.4948 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.004975/0.01572, allocations: 1.613 MB / 0.527 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.01584, allocations: 39.88 kB / 0.527 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.938e-05/0.01591, allocations: 11.94 kB / 0.527 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.456e-05/0.01595, allocations: 5.172 kB / 0.527 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.888e-05/0.016, allocations: 8 kB / 0.527 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.784e-05/0.01608, allocations: 25.25 kB / 0.5271 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.01609, allocations: 0.5625 kB / 0.5271 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005046/0.02114, allocations: 2.458 MB / 0.5295 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.02133, allocations: 149.2 kB / 0.5296 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.02137, allocations: 6.75 kB / 0.5296 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.004331/0.0257, allocations: 2.093 MB / 0.5316 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.0257, allocations: 0 / 0.5316 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.0257, allocations: 0 / 0.5316 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.02571, allocations: 0 / 0.5316 GB, free: 6.219 MB / 0.4948 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.001216/0.02692, allocations: 0.6678 MB / 0.5323 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.02696, allocations: 11.97 kB / 0.5323 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.02701, allocations: 0.9375 kB / 0.5323 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.02715, allocations: 108.6 kB / 0.5324 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.02716, allocations: 384 / 0.5324 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.02717, allocations: 384 / 0.5324 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.02738, allocations: 154.2 kB / 0.5326 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.02739, allocations: 5.312 kB / 0.5326 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.0274, allocations: 0 / 0.5326 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.0274, allocations: 0 / 0.5326 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002368/0.02764, allocations: 243.9 kB / 0.5328 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.02794, allocations: 229.2 kB / 0.533 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.02812, allocations: 150.4 kB / 0.5332 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.02826, allocations: 131.7 kB / 0.5333 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.02827, allocations: 0 / 0.5333 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.02831, allocations: 37.39 kB / 0.5333 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.02831, allocations: 0 / 0.5333 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0005008/0.02881, allocations: 397.5 kB / 0.5337 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.02886, allocations: 59.34 kB / 0.5338 GB, free: 3.914 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.02898, allocations: 152.4 kB / 0.5339 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.029, allocations: 25.7 kB / 0.5339 GB, free: 3.719 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.712e-05/0.02908, allocations: 126.9 kB / 0.534 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.02911, allocations: 7.953 kB / 0.5341 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.02915, allocations: 19.38 kB / 0.5341 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002542/0.0294, allocations: 492.1 kB / 0.5345 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.02952, allocations: 123.9 kB / 0.5347 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.02964, allocations: 124.8 kB / 0.5348 GB, free: 2.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.02989, allocations: 248.7 kB / 0.535 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.02989, allocations: 3.938 kB / 0.535 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004163/0.03031, allocations: 282.4 kB / 0.5353 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.03032, allocations: 4 kB / 0.5353 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.03032, allocations: 0 / 0.5353 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.03034, allocations: 6.094 kB / 0.5353 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.033e-05/0.0304, allocations: 8 kB / 0.5353 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.03041, allocations: 3.984 kB / 0.5353 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.925e-05/0.03048, allocations: 0 / 0.5353 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-06/0.03049, allocations: 0 / 0.5353 GB, free: 2.27 MB / 0.4948 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.0001086/0.03059, allocations: 159 kB / 0.5355 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-06/0.0306, allocations: 0 / 0.5355 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003298/0.03093, allocations: 284.5 kB / 0.5357 GB, free: 1.816 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.03094, allocations: 3.938 kB / 0.5357 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.03094, allocations: 0 / 0.5357 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.03094, allocations: 4 kB / 0.5357 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.0312, allocations: 226.2 kB / 0.536 GB, free: 1.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.03121, allocations: 4 kB / 0.536 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.03121, allocations: 0 / 0.536 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.03121, allocations: 3.938 kB / 0.536 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.03121, allocations: 1.688 kB / 0.536 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.03122, allocations: 0 / 0.536 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.03122, allocations: 3.938 kB / 0.536 GB, free: 1.543 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.03153, allocations: 308.3 kB / 0.5363 GB, free: 1.219 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-06/0.03154, allocations: 5 kB / 0.5363 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.324e-05/0.03161, allocations: 3.984 kB / 0.5363 GB, free: 1.211 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.702e-05/0.03168, allocations: 0 / 0.5363 GB, free: 1.211 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.0317, allocations: 8.594 kB / 0.5363 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.03171, allocations: 0 / 0.5363 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.846e-05/0.03177, allocations: 119.8 kB / 0.5364 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.03177, allocations: 1.531 kB / 0.5364 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001535/0.03331, allocations: 0.5764 MB / 0.537 GB, free: 0.5078 MB / 0.4948 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.003284/0.03659, allocations: 1.039 MB / 0.538 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003341/0.03693, allocations: 256.8 kB / 0.5382 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.03693, allocations: 0 / 0.5382 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.03709, allocations: 157.8 kB / 0.5384 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.03733, allocations: 53.14 kB / 0.5384 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.0385, allocations: 0.835 MB / 0.5392 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.03871, allocations: 189.1 kB / 0.5394 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.258e-05/0.03874, allocations: 4 kB / 0.5394 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.03877, allocations: 13.5 kB / 0.5394 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of SimCode: time 1.122e-06/0.03877, allocations: 0 / 0.5394 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of Templates: time 0.02457/0.06334, allocations: 12.63 MB / 0.5518 GB, free: 1.566 MB / 0.5105 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.8032863029511645]