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.0008728/0.0008728, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009182/0.0009182, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.9591/0.9591, allocations: 177.1 MB / 203.8 MB, free: 5.469 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-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 0.7565/0.7565, allocations: 154.6 MB / 414.8 MB, free: 0.5352 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.083e-06/1.083e-06, allocations: 0 / 480.1 MB, free: 6.871 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.457e-05, allocations: 2.312 kB / 480.1 MB, free: 6.867 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00201/0.002034, allocations: 1.355 MB / 481.4 MB, free: 5.535 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004715/0.006749, allocations: 4.339 MB / 485.8 MB, free: 1.219 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.343e-05/0.006772, allocations: 0.625 kB / 485.8 MB, free: 1.219 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.999e-05/0.006822, allocations: 0 / 485.8 MB, free: 1.219 MB / 442.7 MB [/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.002922/0.009744, allocations: 1.451 MB / 487.2 MB, free: 15.77 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.212e-05/0.009796, allocations: 28.94 kB / 487.3 MB, free: 15.74 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.916e-05/0.009846, allocations: 19.91 kB / 487.3 MB, free: 15.72 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.356e-05/0.009879, allocations: 1.438 kB / 487.3 MB, free: 15.72 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.4e-05/0.009913, allocations: 8 kB / 487.3 MB, free: 15.71 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.827e-05/0.009971, allocations: 21.28 kB / 487.3 MB, free: 15.7 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.009982, allocations: 0 / 487.3 MB, free: 15.7 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003751/0.01373, allocations: 2.634 MB / 490 MB, free: 13.07 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.01385, allocations: 154.1 kB / 490.1 MB, free: 12.92 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.084e-05/0.01387, allocations: 4 kB / 490.1 MB, free: 12.92 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00314/0.01701, allocations: 2.07 MB / 492.2 MB, free: 10.85 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.01702, allocations: 4 kB / 492.2 MB, free: 10.84 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01702, allocations: 0 / 492.2 MB, free: 10.84 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.01702, allocations: 0 / 492.2 MB, free: 10.84 MB / 458.7 MB 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.0008964/0.01792, allocations: 0.537 MB / 492.7 MB, free: 10.28 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.01796, allocations: 13.03 kB / 492.7 MB, free: 10.27 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.445e-05/0.01798, allocations: 0.9375 kB / 492.7 MB, free: 10.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.795e-05/0.01807, allocations: 111.5 kB / 492.8 MB, free: 10.14 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.01808, allocations: 384 / 492.8 MB, free: 10.14 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-06/0.01809, allocations: 384 / 492.8 MB, free: 10.14 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.0182, allocations: 94.17 kB / 492.9 MB, free: 10.04 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.0182, allocations: 3.938 kB / 492.9 MB, free: 10.04 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.01821, allocations: 0.5312 kB / 492.9 MB, free: 10.04 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.01822, allocations: 2.344 kB / 492.9 MB, free: 10.04 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.449e-05/0.01829, allocations: 125.8 kB / 493.1 MB, free: 9.914 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.01845, allocations: 173 kB / 493.2 MB, free: 9.73 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.125e-05/0.01852, allocations: 78.59 kB / 493.3 MB, free: 9.645 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.01857, allocations: 64.89 kB / 493.4 MB, free: 9.578 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.01858, allocations: 4 kB / 493.4 MB, free: 9.574 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.0186, allocations: 40.17 kB / 493.4 MB, free: 9.527 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.0186, allocations: 0 / 493.4 MB, free: 9.527 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001907/0.01879, allocations: 205.6 kB / 493.6 MB, free: 9.32 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.01884, allocations: 63.83 kB / 493.7 MB, free: 9.246 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.521e-05/0.0189, allocations: 104.1 kB / 493.8 MB, free: 9.133 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.01891, allocations: 25.7 kB / 493.8 MB, free: 9.102 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.01894, allocations: 80.14 kB / 493.9 MB, free: 9.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.01896, allocations: 5.094 kB / 493.9 MB, free: 9.016 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/0.01899, allocations: 9.719 kB / 493.9 MB, free: 9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.257e-05/0.01908, allocations: 311.8 kB / 494.2 MB, free: 8.688 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.569e-05/0.01913, allocations: 63.97 kB / 494.3 MB, free: 8.625 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.325e-05/0.01917, allocations: 63.91 kB / 494.3 MB, free: 8.562 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.748e-05/0.01926, allocations: 137.4 kB / 494.5 MB, free: 8.426 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.01926, allocations: 1.469 kB / 494.5 MB, free: 8.426 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001137/0.01937, allocations: 153.6 kB / 494.6 MB, free: 8.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.01938, allocations: 4 kB / 494.6 MB, free: 8.266 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.01939, allocations: 1.438 kB / 494.6 MB, free: 8.266 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.0194, allocations: 0 / 494.6 MB, free: 8.266 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.244e-05/0.01945, allocations: 4 kB / 494.6 MB, free: 8.262 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.01946, allocations: 3.938 kB / 494.6 MB, free: 8.258 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.0195, allocations: 8.828 kB / 494.6 MB, free: 8.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.01951, allocations: 7.984 kB / 494.6 MB, free: 8.242 MB / 458.7 MB 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 5.548e-05/0.01957, allocations: 110.7 kB / 494.7 MB, free: 8.125 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-06/0.01957, allocations: 7.938 kB / 494.8 MB, free: 8.117 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.01973, allocations: 152.6 kB / 494.9 MB, free: 7.965 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01973, allocations: 0 / 494.9 MB, free: 7.965 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.01973, allocations: 3.938 kB / 494.9 MB, free: 7.961 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01974, allocations: 1.281 kB / 494.9 MB, free: 7.961 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.01988, allocations: 181.8 kB / 495.1 MB, free: 7.766 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.01988, allocations: 0 / 495.1 MB, free: 7.766 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.22e-07/0.01988, allocations: 0.875 kB / 495.1 MB, free: 7.766 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.01989, allocations: 5.922 kB / 495.1 MB, free: 7.762 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-06/0.01989, allocations: 0.5 kB / 495.1 MB, free: 7.762 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.01989, allocations: 3.984 kB / 495.1 MB, free: 7.758 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.0199, allocations: 0.9688 kB / 495.1 MB, free: 7.758 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005423/0.02044, allocations: 188.9 kB / 495.3 MB, free: 7.555 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.017e-06/0.02044, allocations: 0.5312 kB / 495.3 MB, free: 7.555 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/0.02048, allocations: 0.9062 kB / 495.3 MB, free: 7.555 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.871e-05/0.02052, allocations: 0 / 495.3 MB, free: 7.555 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.02053, allocations: 4.562 kB / 495.3 MB, free: 7.551 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.02053, allocations: 0 / 495.3 MB, free: 7.551 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.209e-05/0.02055, allocations: 6.078 kB / 495.3 MB, free: 7.543 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02055, allocations: 0 / 495.3 MB, free: 7.543 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001224/0.02177, allocations: 0.5803 MB / 495.9 MB, free: 6.961 MB / 458.7 MB 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.00187/0.02364, allocations: 1.1 MB / 497 MB, free: 6.074 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.02377, allocations: 129.8 kB / 497.1 MB, free: 5.945 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.02378, allocations: 3.875 kB / 497.1 MB, free: 5.945 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.449e-05/0.02383, allocations: 99.38 kB / 497.2 MB, free: 5.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001009/0.02393, allocations: 25.48 kB / 497.2 MB, free: 5.816 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006207/0.02455, allocations: 0.7672 MB / 498 MB, free: 5.023 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.048e-05/0.02461, allocations: 115.2 kB / 498.1 MB, free: 4.891 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.696e-05/0.02463, allocations: 1.25 kB / 498.1 MB, free: 4.891 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.02467, allocations: 52.81 kB / 498.2 MB, free: 4.84 MB / 458.7 MB Notification: Performance of SimCode: time 8.51e-07/0.02467, allocations: 0 / 498.2 MB, free: 4.84 MB / 458.7 MB Notification: Performance of Templates: time 0.01622/0.0409, allocations: 13.73 MB / 0.4999 GB, free: 7.383 MB / 474.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1613547946326435]