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.001178/0.001178, allocations: 174.7 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.7951/0.7951, 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.515/1.515, allocations: 221.3 MB / 400.4 MB, free: 5.82 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.0009258/0.0009258, allocations: 107 kB / 483.3 MB, free: 5.809 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.091e-05/4.093e-05, allocations: 3.844 kB / 0.5602 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1982, allocations: 82.31 MB / 0.6406 GB, free: 7.664 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7232/0.9215, allocations: 126.2 MB / 0.7638 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/0.9219, allocations: 106.3 kB / 0.7639 GB, free: 8.902 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.063/0.9849, allocations: 20.9 MB / 0.7843 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.983e-06/0.9849, allocations: 0 / 0.7843 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.837e-05/0.985, 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.001987/0.987, allocations: 0.81 MB / 0.7851 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.987, allocations: 12.03 kB / 0.7851 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.953e-05/0.9871, allocations: 34.5 kB / 0.7852 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.9873, allocations: 51.39 kB / 0.7852 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009105/0.9882, allocations: 0.5925 MB / 0.7858 GB, free: 8.543 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.9883, allocations: 4 kB / 0.7858 GB, free: 8.539 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.9883, allocations: 0 / 0.7858 GB, free: 8.539 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.9887, allocations: 184.8 kB / 0.786 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.9887, allocations: 0 / 0.786 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.9887, allocations: 3.938 kB / 0.786 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.9887, allocations: 0 / 0.786 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.9889, allocations: 123.8 kB / 0.7861 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007715/0.9897, allocations: 484.7 kB / 0.7866 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.99, allocations: 138.5 kB / 0.7867 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.9902, allocations: 128.8 kB / 0.7868 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.9902, allocations: 3.938 kB / 0.7868 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.9903, allocations: 33.81 kB / 0.7869 GB, free: 7.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.713e-06/0.9903, allocations: 4 kB / 0.7869 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0006716/0.991, allocations: 324.9 kB / 0.7872 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.991, allocations: 51.41 kB / 0.7872 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009095/0.9919, allocations: 0.6217 MB / 0.7878 GB, free: 6.473 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.992, allocations: 25.7 kB / 0.7878 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.9922, allocations: 228.6 kB / 0.7881 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.9922, allocations: 3.984 kB / 0.7881 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.9922, allocations: 0 / 0.7881 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002161/0.9925, allocations: 371 kB / 0.7884 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.9927, allocations: 123.8 kB / 0.7885 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.9929, allocations: 119.9 kB / 0.7887 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.9931, allocations: 131.9 kB / 0.7888 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.9931, allocations: 0 / 0.7888 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0006026/0.9937, allocations: 331.7 kB / 0.7891 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.9938, allocations: 4.781 kB / 0.7891 GB, free: 5.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.281e-05/0.9938, allocations: 12 kB / 0.7891 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.9938, allocations: 7.984 kB / 0.7891 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.004e-06/0.9939, allocations: 0 / 0.7891 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.9939, allocations: 0 / 0.7891 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.9941, allocations: 36 kB / 0.7892 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.9942, allocations: 24 kB / 0.7892 GB, free: 5.18 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 0.0001025/0.9943, allocations: 110.5 kB / 0.7893 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.9944, allocations: 47.44 kB / 0.7893 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.9955, allocations: 484 kB / 0.7898 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.9956, allocations: 0 / 0.7898 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.9956, allocations: 3.984 kB / 0.7898 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.9956, allocations: 4 kB / 0.7898 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000519/0.9961, allocations: 392.7 kB / 0.7902 GB, free: 4.172 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-05/0.9962, allocations: 11.94 kB / 0.7902 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-07/0.9962, allocations: 0 / 0.7902 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.9962, allocations: 8.031 kB / 0.7902 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.9962, allocations: 4 kB / 0.7902 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.9962, allocations: 4.531 kB / 0.7902 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9962, allocations: 0 / 0.7902 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006483/0.9969, allocations: 352 kB / 0.7905 GB, free: 3.785 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005964/0.9975, allocations: 343.9 kB / 0.7909 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.9976, allocations: 7.938 kB / 0.7909 GB, free: 3.488 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.9979, allocations: 36.03 kB / 0.7909 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.9979, allocations: 8 kB / 0.7909 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/0.998, allocations: 24 kB / 0.7909 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007688/0.9988, allocations: 0.5215 MB / 0.7914 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9988, allocations: 0 / 0.7914 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001984/1.001, allocations: 497.8 kB / 0.7919 GB, free: 2.488 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.004406/1.005, allocations: 1.587 MB / 0.7935 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005208/1.006, allocations: 273.4 kB / 0.7937 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.006, allocations: 0 / 0.7937 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002449/1.006, allocations: 157.7 kB / 0.7939 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/1.006, allocations: 35.84 kB / 0.7939 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/1.009, allocations: 0.9779 MB / 0.7949 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/1.009, allocations: 0.8317 MB / 0.7957 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001361/1.011, allocations: 423.7 kB / 0.7961 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007118/1.012, allocations: 367.9 kB / 0.7964 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of SimCode: time 6.22e-07/1.012, allocations: 0 / 0.7964 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05357/1.065, allocations: 20.54 MB / 0.8165 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003095/1.066, allocations: 245 kB / 0.8167 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/3.457, allocations: 4 kB / 0.8167 GB, free: 9.316 MB / 0.5417 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)