Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IBPSA_latest_IBPSA_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.001067/0.001067, allocations: 183.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4775/0.4775, allocations: 91.97 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.2 MB / 354.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008783/0.0008784, allocations: 96.33 kB / 427.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003305, allocations: 8 kB / 0.4984 GB, free: 42.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1474, allocations: 72.31 MB / 0.569 GB, free: 1.797 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4997/0.6472, allocations: 125 MB / 0.691 GB, free: 11.36 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004141/0.6477, allocations: 107.9 kB / 0.6911 GB, free: 11.25 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/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.09191/0.7396, allocations: 29.23 MB / 0.7197 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7397, allocations: 0 / 0.7197 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.296e-05/0.7397, allocations: 4 kB / 0.7197 GB, free: 13.98 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.004143/0.7439, allocations: 1.316 MB / 0.721 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.744, allocations: 8.031 kB / 0.721 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.219e-05/0.744, allocations: 34.56 kB / 0.721 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.7442, allocations: 47.44 kB / 0.721 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.7453, allocations: 0.6045 MB / 0.7216 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.7453, allocations: 4 kB / 0.7216 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.7454, allocations: 0 / 0.7216 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.7457, allocations: 181.4 kB / 0.7218 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.7457, allocations: 4 kB / 0.7218 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.7457, allocations: 3.938 kB / 0.7218 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.7458, allocations: 3.938 kB / 0.7218 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.746, allocations: 119.9 kB / 0.7219 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007419/0.7467, allocations: 489.4 kB / 0.7224 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.7469, allocations: 138.5 kB / 0.7225 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.747, allocations: 0 / 0.7225 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.747, allocations: 34.62 kB / 0.7226 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 2.404e-06/0.747, allocations: 0 / 0.7226 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0007716/0.7478, allocations: 460.7 kB / 0.723 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.7478, allocations: 51.41 kB / 0.7231 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008594/0.7487, allocations: 0.6348 MB / 0.7237 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.7487, allocations: 25.83 kB / 0.7237 GB, free: 9.648 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.7489, allocations: 228.1 kB / 0.7239 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.7489, allocations: 3.906 kB / 0.7239 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.7489, allocations: 0 / 0.7239 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.7491, allocations: 366.8 kB / 0.7243 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.7493, allocations: 119.9 kB / 0.7244 GB, free: 8.934 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.7495, allocations: 119.9 kB / 0.7245 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.7497, allocations: 123.9 kB / 0.7246 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7497, allocations: 0 / 0.7246 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0005773/0.7503, allocations: 336.9 kB / 0.7249 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.7503, allocations: 7.984 kB / 0.7249 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.231e-05/0.7504, allocations: 12 kB / 0.725 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.7504, allocations: 0 / 0.725 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.777e-06/0.7504, allocations: 3.953 kB / 0.725 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.7504, allocations: 0 / 0.725 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.7507, allocations: 32 kB / 0.725 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/0.7507, allocations: 24 kB / 0.725 GB, free: 8.281 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 () * 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.0002128/0.7509, allocations: 205.8 kB / 0.7252 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.7511, allocations: 55.45 kB / 0.7253 GB, free: 8.016 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.7521, allocations: 488.7 kB / 0.7257 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.7521, allocations: 0 / 0.7257 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.7521, allocations: 3.953 kB / 0.7257 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7521, allocations: 0 / 0.7257 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005219/0.7527, allocations: 389.5 kB / 0.7261 GB, free: 7.098 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.438e-05/0.7527, allocations: 12 kB / 0.7261 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-06/0.7527, allocations: 0 / 0.7261 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.7527, allocations: 3.938 kB / 0.7261 GB, free: 7.082 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.7528, allocations: 8.031 kB / 0.7261 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.7528, allocations: 4 kB / 0.7261 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7528, allocations: 0 / 0.7261 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006341/0.7534, allocations: 356.3 kB / 0.7265 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007244/0.7542, allocations: 344.2 kB / 0.7268 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.7544, allocations: 8 kB / 0.7268 GB, free: 6.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.7546, allocations: 35.98 kB / 0.7268 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.7546, allocations: 4.031 kB / 0.7268 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.7547, allocations: 35.94 kB / 0.7269 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008694/0.7556, allocations: 0.5339 MB / 0.7274 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7556, allocations: 0 / 0.7274 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003395/0.759, allocations: 0.7022 MB / 0.7281 GB, free: 5.031 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 () * 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.005243/0.7642, allocations: 1.828 MB / 0.7299 GB, free: 3.285 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004967/0.7647, allocations: 281.4 kB / 0.7301 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7648, allocations: 0 / 0.7301 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.765, allocations: 149.6 kB / 0.7303 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.7653, allocations: 38.97 kB / 0.7303 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006759/0.772, allocations: 3.848 MB / 0.7341 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.7725, allocations: 0.8278 MB / 0.7349 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001262/0.7737, allocations: 434.5 kB / 0.7353 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000667/0.7744, allocations: 375.2 kB / 0.7357 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of SimCode: time 5.01e-07/0.7744, allocations: 0 / 0.7357 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04911/0.8235, allocations: 24.88 MB / 0.76 GB, free: 4.586 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.8238, allocations: 290.7 kB / 0.7602 GB, free: 4.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/3.369, allocations: 3.938 kB / 0.7602 GB, free: 4.227 MB / 0.5417 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)