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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IDEAS_dev_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_dev_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.001662/0.001662, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7163/0.7163, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.502/1.502, allocations: 221.3 MB / 400.4 MB, free: 5.777 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.0008415/0.0008415, allocations: 92.64 kB / 483.3 MB, free: 5.797 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.149e-05/4.152e-05, allocations: 3.281 kB / 0.5602 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1663, allocations: 82.31 MB / 0.6406 GB, free: 7.652 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.653/0.8193, allocations: 126.2 MB / 0.7638 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.8197, allocations: 108.8 kB / 0.7639 GB, free: 9.031 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.05888/0.8786, allocations: 20.89 MB / 0.7843 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8786, allocations: 0 / 0.7843 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.966e-05/0.8786, allocations: 4 kB / 0.7843 GB, free: 10.05 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.001863/0.8805, allocations: 0.8148 MB / 0.7851 GB, free: 9.219 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/0.8806, allocations: 8.031 kB / 0.7851 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.703e-05/0.8807, allocations: 30.56 kB / 0.7852 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.8809, allocations: 51.39 kB / 0.7852 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.882, allocations: 0.601 MB / 0.7858 GB, free: 8.547 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.882, allocations: 8 kB / 0.7858 GB, free: 8.539 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.882, allocations: 0 / 0.7858 GB, free: 8.539 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.8824, allocations: 177.4 kB / 0.786 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.8824, allocations: 3.938 kB / 0.786 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.8824, allocations: 0 / 0.786 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.8824, allocations: 0 / 0.786 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.8826, allocations: 127.8 kB / 0.7861 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007779/0.8834, allocations: 485.5 kB / 0.7866 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.8837, allocations: 145.7 kB / 0.7867 GB, free: 7.598 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.8839, allocations: 124.8 kB / 0.7868 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.8839, allocations: 3.984 kB / 0.7868 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.884, allocations: 34.5 kB / 0.7869 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.884, allocations: 0 / 0.7869 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0006138/0.8846, allocations: 328.9 kB / 0.7872 GB, free: 7.098 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.8846, allocations: 51.41 kB / 0.7872 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008658/0.8855, allocations: 0.6273 MB / 0.7878 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.8855, allocations: 25.7 kB / 0.7879 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.8857, allocations: 227.9 kB / 0.7881 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.8857, allocations: 0 / 0.7881 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/0.8857, allocations: 0 / 0.7881 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.8859, allocations: 366.6 kB / 0.7884 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.8861, allocations: 127.8 kB / 0.7885 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.8863, allocations: 119.9 kB / 0.7887 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.8865, allocations: 127.9 kB / 0.7888 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.8865, allocations: 0 / 0.7888 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0006108/0.8871, allocations: 336.2 kB / 0.7891 GB, free: 5.258 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.8871, allocations: 4 kB / 0.7891 GB, free: 5.254 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-05/0.8872, allocations: 12 kB / 0.7891 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.8872, allocations: 0 / 0.7891 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.814e-06/0.8872, allocations: 0 / 0.7891 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.8872, allocations: 0 / 0.7891 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.8875, allocations: 32 kB / 0.7892 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/0.8876, allocations: 24 kB / 0.7892 GB, free: 5.188 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.146e-05/0.8877, allocations: 113 kB / 0.7893 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.8878, allocations: 51.42 kB / 0.7893 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.8889, allocations: 485.6 kB / 0.7898 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.8889, allocations: 0 / 0.7898 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.8889, allocations: 0 / 0.7898 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.8889, allocations: 0 / 0.7898 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.8894, allocations: 395 kB / 0.7902 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.142e-05/0.8894, allocations: 12 kB / 0.7902 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-06/0.8894, allocations: 4.031 kB / 0.7902 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.8895, allocations: 0 / 0.7902 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.8895, allocations: 4 kB / 0.7902 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.8895, allocations: 4 kB / 0.7902 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.8895, allocations: 0 / 0.7902 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005636/0.8901, allocations: 355.4 kB / 0.7905 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004838/0.8906, allocations: 335.4 kB / 0.7909 GB, free: 3.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.8907, allocations: 4 kB / 0.7909 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.8909, allocations: 48.02 kB / 0.7909 GB, free: 3.457 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.891, allocations: 7.938 kB / 0.7909 GB, free: 3.449 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.891, allocations: 24 kB / 0.7909 GB, free: 3.426 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006718/0.8917, allocations: 0.5255 MB / 0.7914 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8917, allocations: 0 / 0.7914 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001727/0.8934, allocations: 492.5 kB / 0.7919 GB, free: 2.496 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.003933/0.8974, allocations: 1.584 MB / 0.7935 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004857/0.8979, allocations: 281.4 kB / 0.7937 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.8979, allocations: 0 / 0.7937 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.8981, allocations: 153.7 kB / 0.7939 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.8984, allocations: 38.59 kB / 0.7939 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.9005, allocations: 0.9768 MB / 0.7949 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.901, allocations: 0.8239 MB / 0.7957 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001304/0.9023, allocations: 429.4 kB / 0.7961 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006291/0.9029, allocations: 364.6 kB / 0.7964 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of SimCode: time 8.22e-07/0.9029, allocations: 0 / 0.7964 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04367/0.9466, allocations: 20.54 MB / 0.8165 GB, free: 9.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003127/0.947, allocations: 268 kB / 0.8167 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/3.332, allocations: 0 / 0.8167 GB, free: 9.316 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)