Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008138/0.0008138, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007863/0.0007863, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9109/0.9109, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.734/0.734, allocations: 154.6 MB / 414.5 MB, free: 0.8008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.6194 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/3.12e-05, allocations: 4.797 kB / 0.6194 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001956/0.001988, allocations: 1.278 MB / 0.6206 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.005396/0.007383, allocations: 4.148 MB / 0.6247 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.393e-05/0.007417, allocations: 0 / 0.6247 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 7.472e-05/0.007492, allocations: 0 / 0.6247 GB, free: 7.609 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.typeBindings: time 0.002997/0.01049, allocations: 1.601 MB / 0.6263 GB, free: 6 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.768e-05/0.01055, allocations: 39.89 kB / 0.6263 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.459e-05/0.01062, allocations: 11.94 kB / 0.6263 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.877e-05/0.01068, allocations: 4 kB / 0.6263 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.503e-05/0.01072, allocations: 11.98 kB / 0.6263 GB, free: 5.934 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.333e-05/0.0108, allocations: 21.27 kB / 0.6263 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.01081, allocations: 0 / 0.6263 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00277/0.01358, allocations: 2.448 MB / 0.6287 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.0137, allocations: 153.2 kB / 0.6289 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.01373, allocations: 4 kB / 0.6289 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.01572, allocations: 2.097 MB / 0.6309 GB, free: 1.203 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.01573, allocations: 0 / 0.6309 GB, free: 1.203 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.493e-06/0.01573, allocations: 4 kB / 0.6309 GB, free: 1.199 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.01573, allocations: 0 / 0.6309 GB, free: 1.199 MB / 0.5886 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.0006577/0.01639, allocations: 0.5655 MB / 0.6315 GB, free: 0.6016 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.01644, allocations: 12.03 kB / 0.6315 GB, free: 0.5898 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.01648, allocations: 0.9375 kB / 0.6315 GB, free: 0.5898 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.277e-05/0.01657, allocations: 105.8 kB / 0.6316 GB, free: 472 kB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.01658, allocations: 384 / 0.6316 GB, free: 472 kB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.01659, allocations: 4.375 kB / 0.6316 GB, free: 468 kB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.01677, allocations: 166.2 kB / 0.6318 GB, free: 296 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.01678, allocations: 7.938 kB / 0.6318 GB, free: 288 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.01679, allocations: 0 / 0.6318 GB, free: 288 kB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.01679, allocations: 0 / 0.6318 GB, free: 288 kB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.01695, allocations: 283.8 kB / 0.632 GB, free: 4 kB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002247/0.01717, allocations: 241.3 kB / 0.6323 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.01731, allocations: 154.6 kB / 0.6324 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.839e-05/0.01741, allocations: 148.9 kB / 0.6326 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.01742, allocations: 0 / 0.6326 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.01745, allocations: 38.56 kB / 0.6326 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 6.62e-07/0.01745, allocations: 0 / 0.6326 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0003763/0.01783, allocations: 457.4 kB / 0.633 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.01786, allocations: 55.41 kB / 0.6331 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.01796, allocations: 165.8 kB / 0.6332 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.01797, allocations: 25.7 kB / 0.6333 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.123e-05/0.01799, allocations: 84.14 kB / 0.6333 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.01802, allocations: 3.953 kB / 0.6334 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.01813, allocations: 13.72 kB / 0.6334 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.187e-05/0.01821, allocations: 315.1 kB / 0.6337 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.878e-05/0.01829, allocations: 143.9 kB / 0.6338 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/0.01836, allocations: 139.9 kB / 0.6339 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.01853, allocations: 284.8 kB / 0.6342 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.01853, allocations: 0 / 0.6342 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000187/0.01872, allocations: 317.5 kB / 0.6345 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.01873, allocations: 4 kB / 0.6345 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01874, allocations: 0 / 0.6345 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.01875, allocations: 7.938 kB / 0.6345 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.799e-05/0.01882, allocations: 96 / 0.6345 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.01883, allocations: 7.938 kB / 0.6345 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/0.01887, allocations: 4 kB / 0.6345 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.01888, allocations: 3.984 kB / 0.6345 GB, free: 13.33 MB / 0.6042 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 8.883e-05/0.01897, allocations: 166.8 kB / 0.6347 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-06/0.01897, allocations: 7.922 kB / 0.6347 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.01921, allocations: 324.5 kB / 0.635 GB, free: 12.83 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01921, allocations: 3.938 kB / 0.635 GB, free: 12.83 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.01921, allocations: 0 / 0.635 GB, free: 12.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.01922, allocations: 4 kB / 0.635 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.01937, allocations: 241.3 kB / 0.6352 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.01938, allocations: 3.984 kB / 0.6353 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.01938, allocations: 0 / 0.6353 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.01938, allocations: 4 kB / 0.6353 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.01939, allocations: 0 / 0.6353 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.01939, allocations: 0 / 0.6353 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.01939, allocations: 3.938 kB / 0.6353 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.01958, allocations: 333 kB / 0.6356 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-06/0.01959, allocations: 0 / 0.6356 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.01962, allocations: 4 kB / 0.6356 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.892e-05/0.01966, allocations: 4 kB / 0.6356 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/0.01967, allocations: 7.969 kB / 0.6356 GB, free: 12.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.01968, allocations: 4 kB / 0.6356 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.122e-05/0.01974, allocations: 151.2 kB / 0.6357 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.01974, allocations: 0 / 0.6357 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007076/0.02045, allocations: 0.5803 MB / 0.6363 GB, free: 11.45 MB / 0.6042 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.001542/0.02199, allocations: 1.018 MB / 0.6373 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.0222, allocations: 287.9 kB / 0.6376 GB, free: 10.28 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.0222, allocations: 0 / 0.6376 GB, free: 10.28 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.694e-05/0.0223, allocations: 165.6 kB / 0.6377 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.02246, allocations: 15.94 kB / 0.6378 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004773/0.02294, allocations: 418 kB / 0.6381 GB, free: 9.648 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.272e-05/0.02298, allocations: 55.36 kB / 0.6382 GB, free: 9.574 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.02301, allocations: 16.48 kB / 0.6382 GB, free: 9.559 MB / 0.6042 GB Notification: Performance of SimCode: time 4.91e-07/0.02301, allocations: 3.938 kB / 0.6382 GB, free: 9.555 MB / 0.6042 GB Notification: Performance of Templates: time 0.01215/0.03516, allocations: 12.53 MB / 0.6505 GB, free: 13.03 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.217358507215977] Failed to read output from testmodel.py, exit status != 0: 0.041294658556580544 0.049579268 0.03221856 Calling exit ...