Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006867/0.006867, allocations: 109.9 kB / 15.71 MB, free: 6.027 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.001617/0.001617, allocations: 191.1 kB / 16.64 MB, free: 5.961 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.305/1.305, allocations: 222.9 MB / 240.3 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002057/0.002056, allocations: 291 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9033/0.9033, allocations: 169.3 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 95.84 kB / 0.6814 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3844, allocations: 86.97 MB / 0.7664 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00205/0.3865, allocations: 1.241 MB / 0.7676 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006295/0.3928, allocations: 4.49 MB / 0.772 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.024e-05/0.3929, allocations: 0 / 0.772 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.883e-05/0.3929, allocations: 3.984 kB / 0.772 GB, free: 14.15 MB / 0.545 GB [/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/BuildingSystems 2.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.003267/0.3962, allocations: 1.496 MB / 0.7734 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 7.601e-05/0.3963, allocations: 35.89 kB / 0.7735 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.398e-05/0.3964, allocations: 19.92 kB / 0.7735 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.266e-05/0.3964, allocations: 0 / 0.7735 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.945e-05/0.3964, allocations: 8 kB / 0.7735 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.622e-05/0.3965, allocations: 25.27 kB / 0.7735 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.886e-06/0.3965, allocations: 0 / 0.7735 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003127/0.3996, allocations: 2.278 MB / 0.7757 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.3998, allocations: 149.2 kB / 0.7759 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.3998, allocations: 4 kB / 0.7759 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002334/0.4021, allocations: 1.734 MB / 0.7776 GB, free: 8.395 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.4022, allocations: 0 / 0.7776 GB, free: 8.395 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4022, allocations: 0 / 0.7776 GB, free: 8.395 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.4022, allocations: 3.938 kB / 0.7776 GB, free: 8.391 MB / 0.545 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.0007596/0.4029, allocations: 0.6241 MB / 0.7782 GB, free: 7.719 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.403, allocations: 12.03 kB / 0.7782 GB, free: 7.707 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.403, allocations: 4.938 kB / 0.7782 GB, free: 7.703 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.4031, allocations: 164.4 kB / 0.7784 GB, free: 7.504 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.4031, allocations: 384 / 0.7784 GB, free: 7.504 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.4032, allocations: 8.125 kB / 0.7784 GB, free: 7.496 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.4033, allocations: 177.6 kB / 0.7785 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.4034, allocations: 0 / 0.7785 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.4034, allocations: 0 / 0.7785 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.4034, allocations: 0 / 0.7785 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.4036, allocations: 287.8 kB / 0.7788 GB, free: 7.035 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.4039, allocations: 281.6 kB / 0.7791 GB, free: 6.711 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.404, allocations: 158.5 kB / 0.7792 GB, free: 6.547 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.4041, allocations: 156.8 kB / 0.7794 GB, free: 6.391 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.159e-06/0.4041, allocations: 4 kB / 0.7794 GB, free: 6.387 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.4041, allocations: 30.56 kB / 0.7794 GB, free: 6.348 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.4041, allocations: 0 / 0.7794 GB, free: 6.348 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0004496/0.4046, allocations: 449.5 kB / 0.7799 GB, free: 5.902 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.4046, allocations: 55.41 kB / 0.7799 GB, free: 5.836 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.4048, allocations: 170 kB / 0.7801 GB, free: 5.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.4048, allocations: 29.7 kB / 0.7801 GB, free: 5.625 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.335e-05/0.4048, allocations: 80.14 kB / 0.7802 GB, free: 5.543 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.4048, allocations: 0 / 0.7802 GB, free: 5.543 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.4049, allocations: 13.7 kB / 0.7802 GB, free: 5.523 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.587e-05/0.405, allocations: 314.8 kB / 0.7805 GB, free: 5.207 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.4051, allocations: 143.9 kB / 0.7806 GB, free: 5.066 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.289e-05/0.4052, allocations: 136 kB / 0.7808 GB, free: 4.934 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.4054, allocations: 292.9 kB / 0.781 GB, free: 4.645 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4054, allocations: 0 / 0.781 GB, free: 4.645 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002287/0.4056, allocations: 317.5 kB / 0.7813 GB, free: 4.328 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.4057, allocations: 7.984 kB / 0.7813 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.4057, allocations: 0 / 0.7813 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.4057, allocations: 0 / 0.7813 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.595e-05/0.4057, allocations: 4 kB / 0.7813 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.4057, allocations: 0 / 0.7813 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.386e-05/0.4058, allocations: 0 / 0.7813 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.4058, allocations: 0 / 0.7813 GB, free: 4.316 MB / 0.545 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): 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.0001022/0.4059, allocations: 173.8 kB / 0.7815 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.406, allocations: 3.938 kB / 0.7815 GB, free: 4.133 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.4063, allocations: 328.5 kB / 0.7818 GB, free: 3.809 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4063, allocations: 0 / 0.7818 GB, free: 3.809 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4063, allocations: 3.938 kB / 0.7818 GB, free: 3.805 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.4063, allocations: 3.938 kB / 0.7818 GB, free: 3.801 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.4066, allocations: 289.6 kB / 0.7821 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4066, allocations: 0 / 0.7821 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-06/0.4067, allocations: 4.016 kB / 0.7821 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.4067, allocations: 4 kB / 0.7821 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.4067, allocations: 4 kB / 0.7821 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.4067, allocations: 0 / 0.7821 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4067, allocations: 4 kB / 0.7821 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.4069, allocations: 341 kB / 0.7825 GB, free: 3.102 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.915e-05/0.407, allocations: 77.11 kB / 0.7825 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.084e-05/0.407, allocations: 0 / 0.7825 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.138e-05/0.4071, allocations: 4.031 kB / 0.7825 GB, free: 3.004 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.4071, allocations: 3.938 kB / 0.7825 GB, free: 3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.4071, allocations: 0 / 0.7825 GB, free: 3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001329/0.4073, allocations: 155.2 kB / 0.7827 GB, free: 2.848 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4073, allocations: 0 / 0.7827 GB, free: 2.848 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001066/0.4083, allocations: 0.5661 MB / 0.7832 GB, free: 2.281 MB / 0.545 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 (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.001993/0.4103, allocations: 0.932 MB / 0.7841 GB, free: 1.445 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.4106, allocations: 287.9 kB / 0.7844 GB, free: 1.164 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4106, allocations: 0 / 0.7844 GB, free: 1.164 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.4107, allocations: 165.6 kB / 0.7846 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.4109, allocations: 12.31 kB / 0.7846 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.412, allocations: 0.9183 MB / 0.7855 GB, free: 40 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.4125, allocations: 0.8223 MB / 0.7863 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.659e-05/0.4125, allocations: 0 / 0.7863 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.097e-05/0.4125, allocations: 11.44 kB / 0.7863 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.4125, allocations: 0 / 0.7863 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of Templates: time 0.01823/0.4307, allocations: 12.24 MB / 0.7982 GB, free: 2.98 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)