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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 107.6 kB / 16.27 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 191.9 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7282/0.7282, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 59.91 kB / 0.4912 GB, free: 7.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3282, allocations: 77.92 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002434/0.3306, allocations: 1.244 MB / 0.5685 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006341/0.337, allocations: 4.477 MB / 0.5729 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.229e-05/0.3371, allocations: 1.125 kB / 0.5729 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.102e-05/0.3372, allocations: 1.672 kB / 0.5729 GB, free: 28.89 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. [/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. Notification: Performance of NFTyping.typeBindings: time 0.005097/0.3423, allocations: 1.505 MB / 0.5744 GB, free: 28.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.3425, allocations: 39.08 kB / 0.5744 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.219e-05/0.3426, allocations: 18.64 kB / 0.5744 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.036e-05/0.3426, allocations: 1.562 kB / 0.5744 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.204e-05/0.3426, allocations: 10.5 kB / 0.5744 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.819e-05/0.3427, allocations: 24.05 kB / 0.5745 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.3427, allocations: 1.469 kB / 0.5745 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004612/0.3473, allocations: 2.201 MB / 0.5766 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.3476, allocations: 248.5 kB / 0.5769 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003303/0.348, allocations: 241.2 kB / 0.5771 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004284/0.3522, allocations: 2.199 MB / 0.5792 GB, free: 26.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.3523, allocations: 0.625 kB / 0.5792 GB, free: 26.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3523, allocations: 1.594 kB / 0.5792 GB, free: 26.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3523, allocations: 0.9062 kB / 0.5792 GB, free: 26.47 MB / 446.1 MB 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.002408/0.3547, allocations: 1.488 MB / 0.5807 GB, free: 25.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.3548, allocations: 10.59 kB / 0.5807 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.3548, allocations: 31.5 kB / 0.5807 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.355, allocations: 44.91 kB / 0.5808 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006906/0.3557, allocations: 0.6333 MB / 0.5814 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.3557, allocations: 384 / 0.5814 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.3558, allocations: 9.219 kB / 0.5814 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.356, allocations: 169.2 kB / 0.5816 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.356, allocations: 0 / 0.5816 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.356, allocations: 1.281 kB / 0.5816 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.356, allocations: 0 / 0.5816 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.3562, allocations: 282.4 kB / 0.5818 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.3567, allocations: 0.538 MB / 0.5824 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.3569, allocations: 160.4 kB / 0.5825 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.357, allocations: 147.3 kB / 0.5826 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-06/0.357, allocations: 4.938 kB / 0.5827 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/0.357, allocations: 32.66 kB / 0.5827 GB, free: 24.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.357, allocations: 1.75 kB / 0.5827 GB, free: 24.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0005718/0.3576, allocations: 498.5 kB / 0.5832 GB, free: 24.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.3576, allocations: 51.41 kB / 0.5832 GB, free: 24.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008853/0.3585, allocations: 0.6968 MB / 0.5839 GB, free: 23.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.842e-06/0.3585, allocations: 25.7 kB / 0.5839 GB, free: 23.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.3587, allocations: 226.2 kB / 0.5841 GB, free: 23.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.3587, allocations: 5.281 kB / 0.5841 GB, free: 23.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.3587, allocations: 16.75 kB / 0.5842 GB, free: 23.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.782e-05/0.3588, allocations: 363.2 kB / 0.5845 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.359, allocations: 145 kB / 0.5846 GB, free: 23.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.3591, allocations: 142.6 kB / 0.5848 GB, free: 23.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.3593, allocations: 284.9 kB / 0.585 GB, free: 23.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3593, allocations: 1.312 kB / 0.585 GB, free: 23.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004525/0.3598, allocations: 362.3 kB / 0.5854 GB, free: 23.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3598, allocations: 7.75 kB / 0.5854 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3598, allocations: 0.6562 kB / 0.5854 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3598, allocations: 0 / 0.5854 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.311e-05/0.3599, allocations: 4.281 kB / 0.5854 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.3599, allocations: 0 / 0.5854 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.3601, allocations: 33 kB / 0.5854 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.3601, allocations: 1.125 kB / 0.5854 GB, free: 23.21 MB / 446.1 MB 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.3603, allocations: 212.1 kB / 0.5856 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.3605, allocations: 42.62 kB / 0.5857 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003675/0.3609, allocations: 380.2 kB / 0.586 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.3609, allocations: 1.156 kB / 0.586 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3609, allocations: 3.938 kB / 0.586 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3609, allocations: 0 / 0.586 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.3613, allocations: 441.5 kB / 0.5865 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.3613, allocations: 1.25 kB / 0.5865 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.3613, allocations: 0.5 kB / 0.5865 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3613, allocations: 2.094 kB / 0.5865 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.3613, allocations: 0 / 0.5865 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3613, allocations: 1.344 kB / 0.5865 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3613, allocations: 1.156 kB / 0.5865 GB, free: 22.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004335/0.3618, allocations: 387.9 kB / 0.5868 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003155/0.3621, allocations: 340.3 kB / 0.5872 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.3622, allocations: 0 / 0.5872 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.3624, allocations: 28 kB / 0.5872 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.3625, allocations: 0.5938 kB / 0.5872 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.3625, allocations: 4 kB / 0.5872 GB, free: 22.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000591/0.3631, allocations: 0.5388 MB / 0.5877 GB, free: 21.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3631, allocations: 0 / 0.5877 GB, free: 21.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001843/0.3649, allocations: 0.5636 MB / 0.5883 GB, free: 21.02 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002789/0.3677, allocations: 1.748 MB / 0.59 GB, free: 19.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.3679, allocations: 284.4 kB / 0.5903 GB, free: 19.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3679, allocations: 0.5625 kB / 0.5903 GB, free: 19.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.13e-05/0.368, allocations: 175 kB / 0.5904 GB, free: 18.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.3684, allocations: 32.61 kB / 0.5905 GB, free: 18.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006924/0.3753, allocations: 7.425 MB / 0.5977 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.3755, allocations: 0.8197 MB / 0.5985 GB, free: 10.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001117/0.3767, allocations: 446.8 kB / 0.5989 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005673/0.3772, allocations: 371.2 kB / 0.5993 GB, free: 9.812 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3773, allocations: 4 kB / 0.5993 GB, free: 9.809 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.033/2.41, allocations: 25.58 MB / 0.6243 GB, free: 424 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/13.88, allocations: 9.281 kB / 0.6243 GB, free: 416 kB / 462.1 MB (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/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)