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: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009395/0.0009394, allocations: 177.2 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4892/0.4892, allocations: 90.92 MB / 99.35 MB, free: 2.152 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.574/1.574, allocations: 221.5 MB / 343.2 MB, free: 1.598 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.0009575/0.0009575, allocations: 102.6 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.618e-05/1.621e-05, allocations: 4 kB / 494.5 MB, free: 52.38 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1497, allocations: 72.31 MB / 0.5536 GB, free: 12.24 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4749/0.6246, allocations: 124.3 MB / 0.6749 GB, free: 2.238 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.625, allocations: 105.3 kB / 0.675 GB, free: 2.176 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.08967/0.7147, allocations: 29.01 MB / 0.7033 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7147, allocations: 0 / 0.7033 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.7147, allocations: 7.938 kB / 0.7034 GB, free: 9.328 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.002058/0.7168, allocations: 0.9216 MB / 0.7043 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.7168, allocations: 8.031 kB / 0.7043 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.717, allocations: 47.44 kB / 0.7043 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007356/0.7177, allocations: 0.6051 MB / 0.7049 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.7178, allocations: 0 / 0.7049 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.7178, allocations: 0 / 0.7049 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002007/0.718, allocations: 127.6 kB / 0.705 GB, free: 7.633 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.7183, allocations: 177.5 kB / 0.7052 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.7183, allocations: 0 / 0.7052 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.7183, allocations: 3.938 kB / 0.7052 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.7183, allocations: 0 / 0.7052 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006336/0.7189, allocations: 471.6 kB / 0.7056 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.7191, allocations: 134.5 kB / 0.7058 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.7193, allocations: 124.8 kB / 0.7059 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.7194, allocations: 8 kB / 0.7059 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.7194, allocations: 34 kB / 0.7059 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.7194, allocations: 0 / 0.7059 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0005962/0.72, allocations: 332.9 kB / 0.7062 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.72, allocations: 51.41 kB / 0.7063 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006562/0.7207, allocations: 0.5996 MB / 0.7069 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.7207, allocations: 25.7 kB / 0.7069 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.7209, allocations: 231.9 kB / 0.7071 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.7209, allocations: 0 / 0.7071 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/0.7209, allocations: 0 / 0.7071 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.7211, allocations: 364.4 kB / 0.7075 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.7213, allocations: 123.9 kB / 0.7076 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.7214, allocations: 119.9 kB / 0.7077 GB, free: 4.996 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.7216, allocations: 119.9 kB / 0.7078 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7216, allocations: 0 / 0.7078 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0005264/0.7222, allocations: 336.9 kB / 0.7081 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.7222, allocations: 4 kB / 0.7081 GB, free: 4.539 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.293e-05/0.7223, allocations: 12 kB / 0.7082 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.7223, allocations: 0 / 0.7082 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.7223, allocations: 0 / 0.7082 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.7223, allocations: 0 / 0.7082 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.7225, allocations: 39.95 kB / 0.7082 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/0.7226, allocations: 35.91 kB / 0.7082 GB, free: 4.453 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.004e-05/0.7227, allocations: 101 kB / 0.7083 GB, free: 4.348 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.7228, allocations: 47.44 kB / 0.7084 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009798/0.7238, allocations: 495.5 kB / 0.7088 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.7238, allocations: 0 / 0.7088 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.7238, allocations: 3.938 kB / 0.7088 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.7238, allocations: 0 / 0.7088 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004396/0.7243, allocations: 373.5 kB / 0.7092 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.262e-05/0.7243, allocations: 8 kB / 0.7092 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.22e-07/0.7243, allocations: 0 / 0.7092 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.7243, allocations: 0 / 0.7092 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.7243, allocations: 8 kB / 0.7092 GB, free: 3.465 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7243, allocations: 4.031 kB / 0.7092 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.7243, allocations: 0 / 0.7092 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005404/0.7249, allocations: 359.7 kB / 0.7096 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003879/0.7253, allocations: 347.7 kB / 0.7099 GB, free: 2.801 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.7255, allocations: 4 kB / 0.7099 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.7257, allocations: 32 kB / 0.7099 GB, free: 2.766 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.7257, allocations: 8 kB / 0.7099 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.7257, allocations: 24 kB / 0.71 GB, free: 2.734 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005033/0.7262, allocations: 0.5017 MB / 0.7105 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7262, allocations: 4 kB / 0.7105 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002093/0.7283, allocations: 0.6975 MB / 0.7111 GB, free: 1.621 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.002451/0.7308, allocations: 1.036 MB / 0.7121 GB, free: 0.6602 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004313/0.7312, allocations: 277.4 kB / 0.7124 GB, free: 392 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7313, allocations: 0 / 0.7124 GB, free: 392 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.7315, allocations: 152.9 kB / 0.7126 GB, free: 236 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.7317, allocations: 39.58 kB / 0.7126 GB, free: 216 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.7328, allocations: 0.6462 MB / 0.7132 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.7332, allocations: 0.8314 MB / 0.714 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001206/0.7344, allocations: 438.5 kB / 0.7145 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005477/0.7349, allocations: 277.9 kB / 0.7147 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of SimCode: time 7.01e-07/0.7349, allocations: 0 / 0.7147 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of Templates: time 0.02871/0.7637, allocations: 18.88 MB / 0.7332 GB, free: 11.16 MB / 0.5261 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)