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.002556/0.002556, allocations: 85.48 kB / 19.44 MB, free: 340 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.003032/0.003032, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.581/1.581, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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-545:108: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-545:116: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 1.306/1.306, allocations: 154.6 MB / 414.2 MB, free: 0.6406 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 178] 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 2.244e-06/2.244e-06, allocations: 0 / 0.5197 GB, free: 2.445 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.843e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.441 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002758/0.002787, allocations: 1.268 MB / 0.5209 GB, free: 1.18 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.008552/0.01134, allocations: 4.334 MB / 0.5252 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.01137, allocations: 0 / 0.5252 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 6.404e-05/0.01143, allocations: 4 kB / 0.5252 GB, free: 12.84 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.005111/0.01654, allocations: 1.607 MB / 0.5267 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001104/0.01665, allocations: 39.89 kB / 0.5268 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.822e-05/0.01672, allocations: 8 kB / 0.5268 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.01677, allocations: 6.844 kB / 0.5268 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.079e-05/0.01683, allocations: 15.91 kB / 0.5268 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.451e-05/0.0169, allocations: 25.28 kB / 0.5268 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.01692, allocations: 0 / 0.5268 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00489/0.02181, allocations: 2.452 MB / 0.5292 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.022, allocations: 150.6 kB / 0.5294 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.733e-05/0.02203, allocations: 4 kB / 0.5294 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.004667/0.0267, allocations: 2.09 MB / 0.5314 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.02671, allocations: 0 / 0.5314 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.064e-06/0.02671, allocations: 4 kB / 0.5314 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.02671, allocations: 0.9688 kB / 0.5314 GB, free: 6.441 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.001455/0.02817, allocations: 0.6611 MB / 0.5321 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.02822, allocations: 12.59 kB / 0.5321 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.02828, allocations: 4.938 kB / 0.5321 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.02842, allocations: 115.9 kB / 0.5322 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.02843, allocations: 384 / 0.5322 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.02844, allocations: 4.375 kB / 0.5322 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.02867, allocations: 150.2 kB / 0.5323 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.02868, allocations: 3.938 kB / 0.5323 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.02869, allocations: 0 / 0.5323 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.0287, allocations: 0 / 0.5323 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.02894, allocations: 247.9 kB / 0.5326 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.02925, allocations: 235 kB / 0.5328 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.02943, allocations: 151 kB / 0.5329 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.02955, allocations: 127.6 kB / 0.5331 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.02957, allocations: 0 / 0.5331 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.02961, allocations: 41.38 kB / 0.5331 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.02961, allocations: 0 / 0.5331 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0005065/0.03012, allocations: 394.4 kB / 0.5335 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.03016, allocations: 51.41 kB / 0.5335 GB, free: 4.133 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.0303, allocations: 159 kB / 0.5337 GB, free: 3.961 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.03032, allocations: 25.7 kB / 0.5337 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.03038, allocations: 131.8 kB / 0.5338 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.03042, allocations: 7.938 kB / 0.5338 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.03047, allocations: 25.02 kB / 0.5339 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002693/0.03074, allocations: 492.1 kB / 0.5343 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.03086, allocations: 123.9 kB / 0.5344 GB, free: 3.145 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.03098, allocations: 120 kB / 0.5346 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.03122, allocations: 256.6 kB / 0.5348 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.03123, allocations: 0 / 0.5348 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002813/0.03151, allocations: 270.2 kB / 0.5351 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.03154, allocations: 10.33 kB / 0.5351 GB, free: 2.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.03154, allocations: 0.6562 kB / 0.5351 GB, free: 2.496 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.03156, allocations: 5.438 kB / 0.5351 GB, free: 2.492 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.753e-05/0.03163, allocations: 7.938 kB / 0.5351 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.03163, allocations: 0 / 0.5351 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.301e-05/0.03171, allocations: 0 / 0.5351 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.03171, allocations: 1 kB / 0.5351 GB, free: 2.484 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.0001116/0.03183, allocations: 152.6 kB / 0.5352 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.03184, allocations: 4.688 kB / 0.5352 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.03218, allocations: 284.5 kB / 0.5355 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.03218, allocations: 4.438 kB / 0.5355 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.03219, allocations: 0.6562 kB / 0.5355 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.03219, allocations: 0 / 0.5355 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.03244, allocations: 229.2 kB / 0.5357 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/0.03246, allocations: 1.531 kB / 0.5357 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.447e-06/0.03246, allocations: 3.984 kB / 0.5357 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.03247, allocations: 4 kB / 0.5357 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.03247, allocations: 0 / 0.5357 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.03248, allocations: 4 kB / 0.5357 GB, free: 1.762 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.03248, allocations: 10 kB / 0.5358 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.03281, allocations: 312.3 kB / 0.5361 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-06/0.03281, allocations: 4 kB / 0.5361 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.106e-05/0.03288, allocations: 0 / 0.5361 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.03295, allocations: 0 / 0.5361 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.351e-05/0.03298, allocations: 6.375 kB / 0.5361 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.03298, allocations: 0 / 0.5361 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.007e-05/0.03305, allocations: 123.2 kB / 0.5362 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.03305, allocations: 0 / 0.5362 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001653/0.0347, allocations: 0.5765 MB / 0.5367 GB, free: 0.7188 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.003933/0.03863, allocations: 1.032 MB / 0.5378 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003396/0.03897, allocations: 259.4 kB / 0.538 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.03898, allocations: 1.719 kB / 0.538 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.03914, allocations: 157.3 kB / 0.5381 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.03942, allocations: 51.88 kB / 0.5382 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.04071, allocations: 0.8281 MB / 0.539 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.04092, allocations: 197.1 kB / 0.5392 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.898e-05/0.04094, allocations: 0 / 0.5392 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.04098, allocations: 13 kB / 0.5392 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of SimCode: time 8.02e-07/0.04098, allocations: 0.5 kB / 0.5392 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of Templates: time 0.02372/0.0647, allocations: 12.62 MB / 0.5515 GB, free: 1.781 MB / 0.5105 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.846984085976146]