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.006781/0.006781, allocations: 172 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.767/0.767, allocations: 135.2 MB / 151 MB, free: 13.81 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.284/1.284, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.0009089/0.0009089, allocations: 97.41 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002833/0.0002834, allocations: 11.98 kB / 0.5692 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3179, allocations: 82.3 MB / 0.6496 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1471/0.4651, allocations: 126.3 MB / 0.7729 GB, free: 5.641 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.4654, allocations: 115.9 kB / 0.773 GB, free: 5.527 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.06039/0.5258, allocations: 20.95 MB / 0.7935 GB, free: 0.5469 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.714e-06/0.5259, allocations: 0 / 0.7935 GB, free: 0.5469 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.5259, allocations: 4 kB / 0.7935 GB, free: 0.543 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.256/0.7819, allocations: 1.201 MB / 0.7947 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.782, allocations: 9.344 kB / 0.7947 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.616e-05/0.782, allocations: 32.34 kB / 0.7947 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.7822, allocations: 49.14 kB / 0.7947 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009897/0.7831, allocations: 0.599 MB / 0.7953 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.7832, allocations: 0.8125 kB / 0.7953 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.7832, allocations: 2.469 kB / 0.7953 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.7835, allocations: 174.5 kB / 0.7955 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.7835, allocations: 1.594 kB / 0.7955 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.855e-05/0.7836, allocations: 3.469 kB / 0.7955 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.7836, allocations: 2.859 kB / 0.7955 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.7838, allocations: 122 kB / 0.7956 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007084/0.7845, allocations: 493.5 kB / 0.7961 GB, free: 129 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.7847, allocations: 139.6 kB / 0.7962 GB, free: 129 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.7848, allocations: 1.359 kB / 0.7962 GB, free: 129 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.351e-05/0.7848, allocations: 33.47 kB / 0.7963 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.7848, allocations: 0 / 0.7963 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0008506/0.7856, allocations: 451.2 kB / 0.7967 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.956e-05/0.7857, allocations: 52.19 kB / 0.7967 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008776/0.7866, allocations: 0.6256 MB / 0.7973 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.7866, allocations: 26.27 kB / 0.7974 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.7867, allocations: 229.8 kB / 0.7976 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.7867, allocations: 4.844 kB / 0.7976 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.229e-05/0.7868, allocations: 0 / 0.7976 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.376e-05/0.7869, allocations: 375.8 kB / 0.798 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.7871, allocations: 120.1 kB / 0.7981 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.7873, allocations: 120.7 kB / 0.7982 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.7875, allocations: 120.7 kB / 0.7983 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.7875, allocations: 0 / 0.7983 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0005699/0.7881, allocations: 332.7 kB / 0.7986 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.7881, allocations: 5.5 kB / 0.7986 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.221e-05/0.7881, allocations: 14.81 kB / 0.7986 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.7882, allocations: 3.094 kB / 0.7986 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.7882, allocations: 0.8125 kB / 0.7986 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.7882, allocations: 3.094 kB / 0.7986 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.7884, allocations: 34.56 kB / 0.7987 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/0.7884, allocations: 24.72 kB / 0.7987 GB, free: 128.2 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.0002046/0.7886, allocations: 208.6 kB / 0.7989 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.7888, allocations: 51.86 kB / 0.7989 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.7898, allocations: 482 kB / 0.7994 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.7899, allocations: 3.938 kB / 0.7994 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.7899, allocations: 1.125 kB / 0.7994 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.7899, allocations: 0.6094 kB / 0.7994 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004909/0.7904, allocations: 391.7 kB / 0.7998 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.138e-05/0.7904, allocations: 10.34 kB / 0.7998 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.273e-06/0.7904, allocations: 2.562 kB / 0.7998 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.7904, allocations: 4.219 kB / 0.7998 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.7904, allocations: 5.969 kB / 0.7998 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7904, allocations: 2.641 kB / 0.7998 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.7905, allocations: 1.875 kB / 0.7998 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005873/0.791, allocations: 358.5 kB / 0.8002 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006094/0.7917, allocations: 343.8 kB / 0.8005 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.7918, allocations: 8.859 kB / 0.8005 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.792, allocations: 37.39 kB / 0.8005 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.7921, allocations: 6.234 kB / 0.8005 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.7921, allocations: 24.78 kB / 0.8006 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007106/0.7928, allocations: 0.5291 MB / 0.8011 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7928, allocations: 4.406 kB / 0.8011 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001362/0.7942, allocations: 489.4 kB / 0.8015 GB, free: 127.6 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.002826/0.797, allocations: 1.596 MB / 0.8031 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005239/0.7975, allocations: 273 kB / 0.8034 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7976, allocations: 0 / 0.8034 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.7978, allocations: 156.8 kB / 0.8035 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.798, allocations: 37.47 kB / 0.8035 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004358/0.8024, allocations: 3.742 MB / 0.8072 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.8026, allocations: 0.8303 MB / 0.808 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001252/0.8039, allocations: 429.4 kB / 0.8084 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005665/0.8045, allocations: 361 kB / 0.8088 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of SimCode: time 4.91e-07/0.8045, allocations: 0 / 0.8088 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.101/2.906, 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.0003141/2.906, allocations: 284.2 kB / 0.8293 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.621/6.527, allocations: 0 / 0.8293 GB, free: 113.4 MB / 0.5573 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)