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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 177.2 kB / 7.456 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5976/0.5976, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.138/1.138, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008836/0.0008836, allocations: 106.6 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.993e-06/7.003e-06, allocations: 2.875 kB / 0.5529 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1079, allocations: 82.31 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3278/0.4357, allocations: 125.5 MB / 0.7558 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.4359, allocations: 102.1 kB / 0.7559 GB, free: 9.273 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Streams.mo:207:5-207:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Streams.mo:208:5-208:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. Notification: Performance of FrontEnd: time 0.05596/0.4919, allocations: 20.6 MB / 0.776 GB, free: 1.703 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.4919, allocations: 5.469 kB / 0.776 GB, free: 1.703 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.001263/0.4932, allocations: 0.8049 MB / 0.7768 GB, free: 17.03 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.4932, allocations: 8.656 kB / 0.7768 GB, free: 17.03 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.4934, allocations: 47.56 kB / 0.7769 GB, free: 17 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007644/0.4941, allocations: 0.5949 MB / 0.7775 GB, free: 16.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.4942, allocations: 4 kB / 0.7775 GB, free: 16.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.4942, allocations: 0.8125 kB / 0.7775 GB, free: 16.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002021/0.4944, allocations: 138.6 kB / 0.7776 GB, free: 16.58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.4946, allocations: 197.4 kB / 0.7778 GB, free: 16.38 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.4947, allocations: 0 / 0.7778 GB, free: 16.38 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.4947, allocations: 4 kB / 0.7778 GB, free: 16.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.4947, allocations: 3.906 kB / 0.7778 GB, free: 16.37 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.4952, allocations: 470.2 kB / 0.7782 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.4954, allocations: 162.5 kB / 0.7784 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.4956, allocations: 140.8 kB / 0.7785 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.4956, allocations: 7.984 kB / 0.7785 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.4956, allocations: 30.56 kB / 0.7786 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.4956, allocations: 0 / 0.7786 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0005959/0.4962, allocations: 360.9 kB / 0.7789 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.4963, allocations: 51.41 kB / 0.779 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006862/0.497, allocations: 0.5908 MB / 0.7795 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.497, allocations: 28.89 kB / 0.7796 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.4971, allocations: 138.3 kB / 0.7797 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.4971, allocations: 3.906 kB / 0.7797 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.483e-05/0.4971, allocations: 3.938 kB / 0.7797 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4973, allocations: 368 kB / 0.7801 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.4974, allocations: 139.9 kB / 0.7802 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.4976, allocations: 135.9 kB / 0.7803 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.4978, allocations: 144 kB / 0.7805 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4978, allocations: 3.938 kB / 0.7805 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0005738/0.4984, allocations: 364.8 kB / 0.7808 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.4984, allocations: 8 kB / 0.7808 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.389e-05/0.4985, allocations: 8 kB / 0.7808 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.4985, allocations: 0 / 0.7808 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.266e-06/0.4985, allocations: 11.92 kB / 0.7808 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.4985, allocations: 3.984 kB / 0.7808 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.4988, allocations: 28 kB / 0.7809 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.4988, allocations: 24 kB / 0.7809 GB, free: 13.24 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.417e-05/0.4989, allocations: 105 kB / 0.781 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.499, allocations: 47.34 kB / 0.781 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.5001, allocations: 0.5776 MB / 0.7816 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.5001, allocations: 0 / 0.7816 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5001, allocations: 4 kB / 0.7816 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.5001, allocations: 0 / 0.7816 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.5006, allocations: 375.7 kB / 0.782 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.149e-05/0.5006, allocations: 12 kB / 0.782 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.5006, allocations: 4.031 kB / 0.782 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.5006, allocations: 0 / 0.782 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.5007, allocations: 4 kB / 0.782 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.5007, allocations: 7.906 kB / 0.782 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5007, allocations: 0 / 0.782 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005634/0.5013, allocations: 384.3 kB / 0.7823 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004028/0.5017, allocations: 339.4 kB / 0.7827 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002218/0.5019, allocations: 7.906 kB / 0.7827 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.5021, allocations: 32.03 kB / 0.7827 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.5022, allocations: 4 kB / 0.7827 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.5022, allocations: 24 kB / 0.7827 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0005457/0.5027, allocations: 0.4991 MB / 0.7832 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001393/0.5041, allocations: 492.2 kB / 0.7837 GB, free: 10.49 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001788/0.5059, allocations: 0.8063 MB / 0.7845 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004331/0.5064, allocations: 317.4 kB / 0.7848 GB, free: 9.469 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5064, allocations: 0 / 0.7848 GB, free: 9.469 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.5066, allocations: 169.6 kB / 0.7849 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.5069, allocations: 32.59 kB / 0.785 GB, free: 9.281 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.5085, allocations: 0.6922 MB / 0.7857 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009714/0.5095, allocations: 1.106 MB / 0.7867 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.5095, allocations: 0 / 0.7867 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of Templates: time 0.02076/0.5303, allocations: 14.29 MB / 0.8007 GB, free: 9.199 MB / 0.5261 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (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)