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.001008/0.001008, allocations: 180.9 kB / 7.65 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.7418/0.7418, allocations: 133.6 MB / 141.6 MB, free: 2.906 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.512/1.512, 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.0008977/0.000898, allocations: 105.2 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.875e-05/2.888e-05, allocations: 4 kB / 0.5536 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5004/0.5004, allocations: 82.3 MB / 0.634 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1658/0.6663, allocations: 125.6 MB / 0.7566 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/0.6666, allocations: 118.6 kB / 0.7567 GB, free: 13.06 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.06373/0.7304, allocations: 20.79 MB / 0.777 GB, free: 8.238 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7304, allocations: 4 kB / 0.777 GB, free: 8.234 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.7304, allocations: 4 kB / 0.777 GB, free: 8.23 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.001512/0.732, allocations: 0.8148 MB / 0.7778 GB, free: 7.371 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.732, allocations: 8.031 kB / 0.7778 GB, free: 7.363 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.7322, allocations: 55.39 kB / 0.7779 GB, free: 7.309 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007933/0.733, allocations: 0.5966 MB / 0.7784 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.733, allocations: 0 / 0.7784 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.733, allocations: 4 kB / 0.7784 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002056/0.7332, allocations: 119.8 kB / 0.7786 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.7335, allocations: 177.5 kB / 0.7787 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.7335, allocations: 0 / 0.7787 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.7336, allocations: 0 / 0.7787 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.7336, allocations: 3.938 kB / 0.7787 GB, free: 6.363 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006117/0.7342, allocations: 477.9 kB / 0.7792 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.7344, allocations: 134.5 kB / 0.7793 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.7346, allocations: 128.8 kB / 0.7794 GB, free: 5.59 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.7346, allocations: 0 / 0.7794 GB, free: 5.59 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.7346, allocations: 30.56 kB / 0.7795 GB, free: 5.551 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.7346, allocations: 0 / 0.7795 GB, free: 5.551 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0006457/0.7353, allocations: 336.8 kB / 0.7798 GB, free: 5.215 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.7353, allocations: 55.44 kB / 0.7798 GB, free: 5.148 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007149/0.7361, allocations: 0.5842 MB / 0.7804 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.7361, allocations: 25.7 kB / 0.7804 GB, free: 4.527 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.7363, allocations: 232.1 kB / 0.7807 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.7363, allocations: 3.938 kB / 0.7807 GB, free: 4.293 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/0.7363, allocations: 0 / 0.7807 GB, free: 4.293 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.7365, allocations: 370.7 kB / 0.781 GB, free: 3.922 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.7367, allocations: 119.9 kB / 0.7811 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.7369, allocations: 123.9 kB / 0.7812 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.7371, allocations: 123.9 kB / 0.7814 GB, free: 3.562 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.7371, allocations: 0 / 0.7814 GB, free: 3.562 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0005245/0.7376, allocations: 332.8 kB / 0.7817 GB, free: 3.23 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.7376, allocations: 11.98 kB / 0.7817 GB, free: 3.219 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-05/0.7377, allocations: 8 kB / 0.7817 GB, free: 3.211 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.7377, allocations: 0 / 0.7817 GB, free: 3.211 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.7377, allocations: 0 / 0.7817 GB, free: 3.211 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.7377, allocations: 0 / 0.7817 GB, free: 3.211 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.738, allocations: 40.09 kB / 0.7817 GB, free: 3.172 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.738, allocations: 24 kB / 0.7818 GB, free: 3.148 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 9.137e-05/0.7381, allocations: 104.9 kB / 0.7819 GB, free: 3.039 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005265/0.7387, allocations: 328.9 kB / 0.7822 GB, free: 2.711 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.7388, allocations: 47.44 kB / 0.7822 GB, free: 2.664 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.7398, allocations: 485 kB / 0.7827 GB, free: 2.184 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.7398, allocations: 4 kB / 0.7827 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.7398, allocations: 0 / 0.7827 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.7398, allocations: 4.062 kB / 0.7827 GB, free: 2.176 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004473/0.7403, allocations: 374 kB / 0.7831 GB, free: 1.773 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.528e-05/0.7403, allocations: 12 kB / 0.7831 GB, free: 1.762 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.7403, allocations: 3.938 kB / 0.7831 GB, free: 1.758 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.7403, allocations: 0 / 0.7831 GB, free: 1.758 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.7404, allocations: 4 kB / 0.7831 GB, free: 1.754 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.7404, allocations: 3.984 kB / 0.7831 GB, free: 1.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7404, allocations: 0 / 0.7831 GB, free: 1.75 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005503/0.7409, allocations: 364.3 kB / 0.7834 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004036/0.7413, allocations: 332.3 kB / 0.7837 GB, free: 1.031 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.7415, allocations: 4 kB / 0.7837 GB, free: 1.027 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.7417, allocations: 36 kB / 0.7838 GB, free: 0.9922 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.7418, allocations: 4 kB / 0.7838 GB, free: 0.9883 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.7418, allocations: 24 kB / 0.7838 GB, free: 0.9648 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000529/0.7423, allocations: 0.4949 MB / 0.7843 GB, free: 484 kB / 0.5573 GB Notification: Performance of sort global known variables: time 1.332e-06/0.7423, allocations: 4 kB / 0.7843 GB, free: 480 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001624/0.744, allocations: 499.3 kB / 0.7848 GB, free: 15.98 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.002733/0.7467, allocations: 1.584 MB / 0.7863 GB, free: 14.43 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004341/0.7472, allocations: 269.5 kB / 0.7866 GB, free: 14.16 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7472, allocations: 0 / 0.7866 GB, free: 14.16 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.7474, allocations: 161.5 kB / 0.7867 GB, free: 14 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.7476, allocations: 37.2 kB / 0.7868 GB, free: 13.96 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.7493, allocations: 0.9769 MB / 0.7877 GB, free: 12.95 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.7497, allocations: 0.8275 MB / 0.7885 GB, free: 12.09 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001281/0.7509, allocations: 429.4 kB / 0.7889 GB, free: 11.71 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006394/0.7516, allocations: 363.2 kB / 0.7893 GB, free: 11.36 MB / 0.573 GB Notification: Performance of SimCode: time 2.4e-07/0.7516, allocations: 0 / 0.7893 GB, free: 11.36 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.416/1.168, allocations: 19.04 MB / 0.8079 GB, free: 145.6 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/1.168, allocations: 247 kB / 0.8081 GB, free: 145.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.349/4.517, allocations: 0 / 0.8081 GB, free: 145.3 MB / 0.573 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)