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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 169.5 kB / 12.72 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8943/0.8943, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.489/1.489, allocations: 221.3 MB / 400.4 MB, free: 5.84 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.000901/0.0009011, allocations: 93.2 kB / 483.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.343e-05/3.346e-05, allocations: 3.062 kB / 0.5601 GB, free: 87.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1862, allocations: 82.31 MB / 0.6405 GB, free: 7.77 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.675/0.8613, allocations: 126.2 MB / 0.7637 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/0.8617, allocations: 108.6 kB / 0.7638 GB, free: 9.023 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 - DAE generated: time 0.05867/0.9204, allocations: 20.9 MB / 0.7842 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.354e-06/0.9204, allocations: 0 / 0.7842 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.906e-05/0.9204, allocations: 4 kB / 0.7842 GB, free: 10.09 MB / 0.5105 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.001939/0.9224, allocations: 0.815 MB / 0.785 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.9224, allocations: 8.031 kB / 0.7851 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.9226, allocations: 58.77 kB / 0.7851 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.9237, allocations: 0.5946 MB / 0.7857 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.9237, allocations: 4 kB / 0.7857 GB, free: 8.617 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.9237, allocations: 0 / 0.7857 GB, free: 8.617 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.924, allocations: 173.5 kB / 0.7859 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.9241, allocations: 0 / 0.7859 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.9241, allocations: 0 / 0.7859 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.9241, allocations: 3.938 kB / 0.7859 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.9243, allocations: 123.9 kB / 0.786 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007326/0.925, allocations: 490.3 kB / 0.7864 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.9253, allocations: 142.4 kB / 0.7866 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.9255, allocations: 124.8 kB / 0.7867 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.9255, allocations: 0 / 0.7867 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.9256, allocations: 34.56 kB / 0.7867 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.9256, allocations: 0 / 0.7867 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0006129/0.9262, allocations: 328.3 kB / 0.787 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.9262, allocations: 51.41 kB / 0.7871 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008196/0.9271, allocations: 0.6224 MB / 0.7877 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.9271, allocations: 32.52 kB / 0.7877 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.9273, allocations: 228.5 kB / 0.788 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.9273, allocations: 7.938 kB / 0.788 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/0.9273, allocations: 0 / 0.788 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.9275, allocations: 367.6 kB / 0.7883 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.9277, allocations: 119.9 kB / 0.7884 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.9279, allocations: 119.9 kB / 0.7885 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.9281, allocations: 124 kB / 0.7887 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.9281, allocations: 0 / 0.7887 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0005526/0.9286, allocations: 332.8 kB / 0.789 GB, free: 5.348 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.9286, allocations: 9.094 kB / 0.789 GB, free: 5.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-05/0.9287, allocations: 12 kB / 0.789 GB, free: 5.328 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.9287, allocations: 0 / 0.789 GB, free: 5.328 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.9287, allocations: 0 / 0.789 GB, free: 5.328 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.9287, allocations: 4 kB / 0.789 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.929, allocations: 32 kB / 0.789 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.929, allocations: 24 kB / 0.7891 GB, free: 5.27 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 9.778e-05/0.9292, allocations: 111.4 kB / 0.7892 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.9293, allocations: 55.36 kB / 0.7892 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.9303, allocations: 479.5 kB / 0.7897 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-06/0.9304, allocations: 4 kB / 0.7897 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.9304, allocations: 0 / 0.7897 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.9304, allocations: 0 / 0.7897 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005168/0.9309, allocations: 397.5 kB / 0.7901 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.084e-05/0.9309, allocations: 8 kB / 0.7901 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-07/0.9309, allocations: 7.938 kB / 0.7901 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.931, allocations: 4.031 kB / 0.7901 GB, free: 4.238 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.931, allocations: 4 kB / 0.7901 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.931, allocations: 0 / 0.7901 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.931, allocations: 0 / 0.7901 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005771/0.9316, allocations: 359.6 kB / 0.7904 GB, free: 3.867 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004424/0.932, allocations: 338.1 kB / 0.7907 GB, free: 3.582 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.9322, allocations: 4 kB / 0.7907 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.9324, allocations: 40.02 kB / 0.7908 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.9324, allocations: 8 kB / 0.7908 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.9325, allocations: 24 kB / 0.7908 GB, free: 3.508 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006781/0.9332, allocations: 0.5224 MB / 0.7913 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9332, allocations: 4 kB / 0.7913 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001836/0.935, allocations: 489.1 kB / 0.7918 GB, free: 2.582 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.001996/0.937, allocations: 0.7888 MB / 0.7926 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004832/0.9375, allocations: 280.7 kB / 0.7928 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.9375, allocations: 0 / 0.7928 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.9377, allocations: 149.6 kB / 0.793 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.938, allocations: 42.92 kB / 0.793 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.9392, allocations: 0.6551 MB / 0.7937 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.9396, allocations: 0.8278 MB / 0.7945 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001218/0.9408, allocations: 424.4 kB / 0.7949 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005388/0.9414, allocations: 273.4 kB / 0.7951 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of SimCode: time 4.31e-07/0.9414, allocations: 0 / 0.7951 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of Templates: time 0.02764/0.969, allocations: 16.02 MB / 0.8108 GB, free: 15.24 MB / 0.5417 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)