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.0009497/0.0009498, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5053/0.5053, allocations: 90.91 MB / 99.34 MB, free: 2.219 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 221.5 MB / 343.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008553/0.0008551, allocations: 97.66 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.127e-05/2.137e-05, allocations: 4 kB / 494.6 MB, free: 52.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1296, allocations: 72.31 MB / 0.5537 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5052/0.6348, allocations: 124.3 MB / 0.675 GB, free: 1.996 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.6351, allocations: 107.5 kB / 0.6751 GB, free: 1.93 MB / 474.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.09017/0.7253, allocations: 29.01 MB / 0.7034 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7254, allocations: 4 kB / 0.7034 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.73e-05/0.7254, allocations: 4 kB / 0.7034 GB, free: 9.09 MB / 0.4948 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.002039/0.7274, allocations: 0.9209 MB / 0.7043 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.7275, allocations: 12.03 kB / 0.7044 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.7277, allocations: 47.44 kB / 0.7044 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007901/0.7285, allocations: 0.6035 MB / 0.705 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.7285, allocations: 0 / 0.705 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.7285, allocations: 3.938 kB / 0.705 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002054/0.7287, allocations: 119.9 kB / 0.7051 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.729, allocations: 181.5 kB / 0.7053 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.729, allocations: 0 / 0.7053 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.729, allocations: 0 / 0.7053 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.7291, allocations: 3.984 kB / 0.7053 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000628/0.7297, allocations: 471.9 kB / 0.7057 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.7299, allocations: 134.5 kB / 0.7059 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.7301, allocations: 128.8 kB / 0.706 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.7301, allocations: 3.984 kB / 0.706 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.7301, allocations: 37.62 kB / 0.706 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.7302, allocations: 4 kB / 0.706 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0006128/0.7308, allocations: 333.7 kB / 0.7063 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.7308, allocations: 51.41 kB / 0.7064 GB, free: 6.031 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006897/0.7315, allocations: 0.5914 MB / 0.707 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.7315, allocations: 29.7 kB / 0.707 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.7317, allocations: 226.9 kB / 0.7072 GB, free: 5.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.7317, allocations: 7.906 kB / 0.7072 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.426e-05/0.7317, allocations: 0 / 0.7072 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.7319, allocations: 364.1 kB / 0.7076 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.7321, allocations: 119.9 kB / 0.7077 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.7322, allocations: 127.5 kB / 0.7078 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.7325, allocations: 123.9 kB / 0.7079 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7325, allocations: 0 / 0.7079 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000537/0.733, allocations: 336.8 kB / 0.7082 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.733, allocations: 4 kB / 0.7082 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.086e-05/0.7331, allocations: 8 kB / 0.7083 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.7331, allocations: 4 kB / 0.7083 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.7331, allocations: 0 / 0.7083 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.7331, allocations: 4.094 kB / 0.7083 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.7334, allocations: 39.95 kB / 0.7083 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.7334, allocations: 27.94 kB / 0.7083 GB, free: 4.203 MB / 0.4948 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.961e-05/0.7335, allocations: 105 kB / 0.7084 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005357/0.734, allocations: 328.9 kB / 0.7087 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.7342, allocations: 47.44 kB / 0.7088 GB, free: 3.719 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009904/0.7351, allocations: 484.5 kB / 0.7093 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.7352, allocations: 3.953 kB / 0.7093 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.7352, allocations: 4.062 kB / 0.7093 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.7352, allocations: 0 / 0.7093 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/0.7356, allocations: 369.5 kB / 0.7096 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.645e-05/0.7357, allocations: 12 kB / 0.7096 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.7357, allocations: 0 / 0.7096 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.7357, allocations: 0 / 0.7096 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.7357, allocations: 7.984 kB / 0.7096 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.7357, allocations: 0 / 0.7096 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7357, allocations: 4 kB / 0.7096 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005445/0.7363, allocations: 359 kB / 0.71 GB, free: 2.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/0.7367, allocations: 340.1 kB / 0.7103 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.7369, allocations: 8 kB / 0.7103 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.7371, allocations: 32 kB / 0.7103 GB, free: 2.195 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.7371, allocations: 7.938 kB / 0.7103 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.7371, allocations: 28 kB / 0.7104 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005416/0.7377, allocations: 0.4955 MB / 0.7109 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7377, allocations: 0 / 0.7109 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002325/0.74, allocations: 0.7137 MB / 0.7116 GB, free: 1.039 MB / 0.4948 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.005042/0.7451, allocations: 1.829 MB / 0.7133 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004534/0.7456, allocations: 269.5 kB / 0.7136 GB, free: 15 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7456, allocations: 0 / 0.7136 GB, free: 15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.7458, allocations: 153.5 kB / 0.7137 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.7461, allocations: 36.31 kB / 0.7138 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.7488, allocations: 1.061 MB / 0.7148 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.7493, allocations: 0.8236 MB / 0.7156 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001323/0.7506, allocations: 439.5 kB / 0.716 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000647/0.7512, allocations: 367.9 kB / 0.7164 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of SimCode: time 3.8e-07/0.7513, allocations: 0 / 0.7164 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05626/0.8075, allocations: 23.18 MB / 0.739 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002653/0.8078, allocations: 258.3 kB / 0.7393 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/3.202, allocations: 0 / 0.7393 GB, free: 4.742 MB / 0.5261 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)