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.00132/0.001319, allocations: 173.4 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9769/0.9769, allocations: 133.6 MB / 141.6 MB, free: 2.898 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0008392/0.0008392, allocations: 88.91 kB / 478.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.383e-05/2.386e-05, allocations: 4 kB / 0.5536 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4889/0.4889, allocations: 82.3 MB / 0.634 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2055/0.6945, allocations: 125.6 MB / 0.7566 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/0.6949, allocations: 111.9 kB / 0.7567 GB, free: 12.98 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.0643/0.7592, allocations: 20.79 MB / 0.777 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7592, allocations: 0 / 0.777 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.7593, allocations: 4 kB / 0.777 GB, free: 8.148 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.001644/0.7609, allocations: 0.813 MB / 0.7778 GB, free: 7.289 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.761, allocations: 8.031 kB / 0.7778 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.7611, allocations: 55.38 kB / 0.7779 GB, free: 7.227 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008233/0.762, allocations: 0.5927 MB / 0.7784 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.762, allocations: 4 kB / 0.7784 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.762, allocations: 4 kB / 0.7784 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002167/0.7622, allocations: 123.9 kB / 0.7786 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.7625, allocations: 173.5 kB / 0.7787 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/0.7626, allocations: 0 / 0.7787 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.7626, allocations: 0 / 0.7787 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.7626, allocations: 3.938 kB / 0.7787 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006308/0.7632, allocations: 469.9 kB / 0.7792 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.7634, allocations: 142.5 kB / 0.7793 GB, free: 5.637 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.7636, allocations: 124.8 kB / 0.7794 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.7637, allocations: 0 / 0.7794 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.7637, allocations: 30.56 kB / 0.7795 GB, free: 5.473 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.7637, allocations: 4 kB / 0.7795 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0006382/0.7644, allocations: 332.8 kB / 0.7798 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.7644, allocations: 51.41 kB / 0.7798 GB, free: 5.074 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006852/0.7651, allocations: 0.592 MB / 0.7804 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.7651, allocations: 25.7 kB / 0.7804 GB, free: 4.445 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.7653, allocations: 228.1 kB / 0.7807 GB, free: 4.219 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.7653, allocations: 0 / 0.7807 GB, free: 4.219 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/0.7654, allocations: 0 / 0.7807 GB, free: 4.219 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.7655, allocations: 370.7 kB / 0.781 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.7657, allocations: 119.9 kB / 0.7811 GB, free: 3.73 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.7659, allocations: 123.9 kB / 0.7812 GB, free: 3.609 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.7661, allocations: 124 kB / 0.7814 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7661, allocations: 0 / 0.7814 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0005571/0.7667, allocations: 332.8 kB / 0.7817 GB, free: 3.156 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.7667, allocations: 8 kB / 0.7817 GB, free: 3.148 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-05/0.7667, allocations: 8 kB / 0.7817 GB, free: 3.141 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.7668, allocations: 0 / 0.7817 GB, free: 3.141 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.565e-06/0.7668, allocations: 0 / 0.7817 GB, free: 3.141 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.7668, allocations: 7.938 kB / 0.7817 GB, free: 3.133 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.767, allocations: 32 kB / 0.7817 GB, free: 3.102 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.767, allocations: 27.94 kB / 0.7818 GB, free: 3.074 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 () * 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 8.893e-05/0.7671, allocations: 109 kB / 0.7819 GB, free: 2.961 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005144/0.7677, allocations: 336.9 kB / 0.7822 GB, free: 2.625 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.7678, allocations: 51.44 kB / 0.7822 GB, free: 2.574 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.7688, allocations: 481.1 kB / 0.7827 GB, free: 2.098 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7689, allocations: 0 / 0.7827 GB, free: 2.098 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.7689, allocations: 0 / 0.7827 GB, free: 2.098 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.7689, allocations: 3.938 kB / 0.7827 GB, free: 2.094 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00045/0.7693, allocations: 374 kB / 0.7831 GB, free: 1.691 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.816e-05/0.7694, allocations: 20.05 kB / 0.7831 GB, free: 1.672 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.7694, allocations: 3.938 kB / 0.7831 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7694, allocations: 0 / 0.7831 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.7694, allocations: 4 kB / 0.7831 GB, free: 1.664 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7694, allocations: 0 / 0.7831 GB, free: 1.664 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.7694, allocations: 0 / 0.7831 GB, free: 1.664 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005701/0.77, allocations: 360.3 kB / 0.7834 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/0.7704, allocations: 336.3 kB / 0.7837 GB, free: 0.9453 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.7707, allocations: 8.031 kB / 0.7838 GB, free: 0.9375 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.7709, allocations: 36 kB / 0.7838 GB, free: 0.9023 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.7709, allocations: 7.984 kB / 0.7838 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.771, allocations: 27.98 kB / 0.7838 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005445/0.7715, allocations: 0.491 MB / 0.7843 GB, free: 388 kB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7715, allocations: 0 / 0.7843 GB, free: 388 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001625/0.7731, allocations: 491.3 kB / 0.7848 GB, free: 15.9 MB / 0.573 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.002873/0.776, allocations: 1.583 MB / 0.7863 GB, free: 14.34 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000465/0.7765, allocations: 273.5 kB / 0.7866 GB, free: 14.07 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.7765, allocations: 0 / 0.7866 GB, free: 14.07 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.7768, allocations: 153.6 kB / 0.7867 GB, free: 13.91 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.777, allocations: 34.97 kB / 0.7868 GB, free: 13.88 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.7788, allocations: 0.9783 MB / 0.7877 GB, free: 12.86 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/0.7793, allocations: 0.8275 MB / 0.7885 GB, free: 12.01 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001278/0.7806, allocations: 437.5 kB / 0.7889 GB, free: 11.62 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006627/0.7813, allocations: 359.2 kB / 0.7893 GB, free: 11.27 MB / 0.573 GB Notification: Performance of SimCode: time 2.51e-07/0.7813, allocations: 0 / 0.7893 GB, free: 11.27 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4277/1.209, allocations: 19.04 MB / 0.8079 GB, free: 145.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/1.209, allocations: 237.7 kB / 0.8081 GB, free: 145.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.468/3.678, allocations: 1.875 kB / 0.8081 GB, free: 145.1 MB / 0.573 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)