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/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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006076/0.006076, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.784/0.784, allocations: 135.2 MB / 151 MB, free: 13.84 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.404/1.404, allocations: 223.2 MB / 406.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009109/0.000911, allocations: 97.2 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003533, allocations: 8 kB / 0.5692 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4145, allocations: 82.31 MB / 0.6496 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.5782, allocations: 126.3 MB / 0.7729 GB, free: 5.648 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/0.5786, allocations: 111.9 kB / 0.773 GB, free: 5.539 MB / 0.5417 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.07628/0.6549, allocations: 20.95 MB / 0.7935 GB, free: 0.5547 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.384e-06/0.6549, allocations: 4 kB / 0.7935 GB, free: 0.5508 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.6549, allocations: 4 kB / 0.7935 GB, free: 0.5469 MB / 0.5573 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.4433/1.098, allocations: 1.204 MB / 0.7947 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.25e-05/1.098, allocations: 9.719 kB / 0.7947 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.703e-05/1.098, allocations: 31.72 kB / 0.7947 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/1.099, allocations: 48.41 kB / 0.7947 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/1.1, allocations: 0.6001 MB / 0.7953 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/1.1, allocations: 0.8125 kB / 0.7953 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/1.1, allocations: 0.75 kB / 0.7953 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/1.1, allocations: 179.1 kB / 0.7955 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/1.1, allocations: 0 / 0.7955 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/1.1, allocations: 0 / 0.7955 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/1.1, allocations: 0.6875 kB / 0.7955 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002536/1.101, allocations: 122.8 kB / 0.7956 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008446/1.101, allocations: 490.9 kB / 0.7961 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/1.102, allocations: 140.5 kB / 0.7962 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/1.102, allocations: 1.984 kB / 0.7962 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/1.102, allocations: 33.16 kB / 0.7963 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/1.102, allocations: 1.219 kB / 0.7963 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.001069/1.103, allocations: 449 kB / 0.7967 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/1.103, allocations: 54.25 kB / 0.7967 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/1.104, allocations: 0.6268 MB / 0.7973 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/1.104, allocations: 25.7 kB / 0.7974 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/1.104, allocations: 227.3 kB / 0.7976 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/1.104, allocations: 9.297 kB / 0.7976 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.269e-05/1.104, allocations: 0 / 0.7976 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.104, allocations: 370.1 kB / 0.798 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/1.105, allocations: 121.3 kB / 0.7981 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/1.105, allocations: 121.1 kB / 0.7982 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/1.105, allocations: 122.5 kB / 0.7983 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.105, allocations: 0 / 0.7983 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0007086/1.106, allocations: 331.3 kB / 0.7986 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.106, allocations: 4.875 kB / 0.7986 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-05/1.106, allocations: 16.17 kB / 0.7986 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/1.106, allocations: 2.688 kB / 0.7986 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.407e-06/1.106, allocations: 1.328 kB / 0.7986 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/1.106, allocations: 0 / 0.7986 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/1.106, allocations: 33.88 kB / 0.7987 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/1.106, allocations: 25.52 kB / 0.7987 GB, free: 128.1 MB / 0.5573 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): 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 0.0002439/1.107, allocations: 210.7 kB / 0.7989 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/1.107, allocations: 48.28 kB / 0.7989 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/1.108, allocations: 483.3 kB / 0.7994 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/1.108, allocations: 1.312 kB / 0.7994 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.108, allocations: 0.7969 kB / 0.7994 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.108, allocations: 1.641 kB / 0.7994 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006117/1.109, allocations: 397.8 kB / 0.7998 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.811e-05/1.109, allocations: 14.48 kB / 0.7998 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.964e-06/1.109, allocations: 2.344 kB / 0.7998 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/1.109, allocations: 1.688 kB / 0.7998 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/1.109, allocations: 5.469 kB / 0.7998 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.109, allocations: 2.703 kB / 0.7998 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.109, allocations: 1.344 kB / 0.7998 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006618/1.109, allocations: 354 kB / 0.8002 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006977/1.11, allocations: 343.3 kB / 0.8005 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/1.11, allocations: 8.797 kB / 0.8005 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/1.11, allocations: 33.78 kB / 0.8005 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/1.11, allocations: 6.234 kB / 0.8005 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.413e-05/1.11, allocations: 24.78 kB / 0.8005 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008261/1.111, allocations: 0.5291 MB / 0.8011 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.31e-07/1.111, allocations: 0 / 0.8011 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001678/1.113, allocations: 498.1 kB / 0.8015 GB, free: 127.5 MB / 0.5573 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 (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.003234/1.116, allocations: 1.595 MB / 0.8031 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006185/1.117, allocations: 278.2 kB / 0.8034 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/1.117, allocations: 0.6875 kB / 0.8034 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002935/1.117, allocations: 154.2 kB / 0.8035 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/1.117, allocations: 38.75 kB / 0.8035 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004688/1.122, allocations: 3.744 MB / 0.8072 GB, free: 126 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/1.122, allocations: 0.8258 MB / 0.808 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00121/1.124, allocations: 429.7 kB / 0.8084 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005962/1.124, allocations: 361.6 kB / 0.8088 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of SimCode: time 9.81e-07/1.124, allocations: 0 / 0.8088 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03711/1.161, allocations: 20.8 MB / 0.8291 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/1.162, allocations: 286.1 kB / 0.8293 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.429/3.59, allocations: 0 / 0.8293 GB, free: 113.4 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)