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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 114.5 kB / 17.08 MB, free: 5.953 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.001849/0.001849, allocations: 200.1 kB / 18.02 MB, free: 5.031 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.427/1.427, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7481/0.7481, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.47 kB / 0.5584 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1817, allocations: 76.19 MB / 0.6328 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00302/0.1847, allocations: 1.231 MB / 0.634 GB, free: 3.137 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007075/0.1919, allocations: 4.496 MB / 0.6384 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.082e-05/0.1919, allocations: 0 / 0.6384 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.111e-05/0.192, allocations: 3.984 kB / 0.6384 GB, free: 14.61 MB / 494.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.004391/0.1964, allocations: 1.496 MB / 0.6398 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001169/0.1966, allocations: 35.91 kB / 0.6399 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.342e-05/0.1966, allocations: 19.91 kB / 0.6399 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.1967, allocations: 0 / 0.6399 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.303e-05/0.1967, allocations: 4 kB / 0.6399 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.667e-05/0.1968, allocations: 21.28 kB / 0.6399 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.1968, allocations: 0 / 0.6399 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003333/0.2001, allocations: 2.278 MB / 0.6421 GB, free: 10.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.2003, allocations: 153.2 kB / 0.6423 GB, free: 10.6 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.2003, allocations: 0 / 0.6423 GB, free: 10.6 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00257/0.2029, allocations: 1.738 MB / 0.644 GB, free: 8.859 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2029, allocations: 4 kB / 0.644 GB, free: 8.855 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2029, allocations: 0 / 0.644 GB, free: 8.855 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2029, allocations: 0 / 0.644 GB, free: 8.855 MB / 494.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.0009312/0.2039, allocations: 0.6202 MB / 0.6446 GB, free: 8.188 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.2039, allocations: 12.03 kB / 0.6446 GB, free: 8.176 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.204, allocations: 8.844 kB / 0.6446 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.2041, allocations: 160.4 kB / 0.6448 GB, free: 7.973 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.2041, allocations: 384 / 0.6448 GB, free: 7.973 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.2041, allocations: 4.125 kB / 0.6448 GB, free: 7.969 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.2043, allocations: 169.6 kB / 0.6449 GB, free: 7.797 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2044, allocations: 0 / 0.6449 GB, free: 7.797 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.2044, allocations: 0 / 0.6449 GB, free: 7.797 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2044, allocations: 3.938 kB / 0.6449 GB, free: 7.793 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002234/0.2046, allocations: 283.9 kB / 0.6452 GB, free: 7.516 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.2049, allocations: 289.6 kB / 0.6455 GB, free: 7.184 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.2051, allocations: 162.5 kB / 0.6456 GB, free: 7.016 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.2052, allocations: 148.8 kB / 0.6458 GB, free: 6.867 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/0.2052, allocations: 0 / 0.6458 GB, free: 6.867 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.2052, allocations: 34.56 kB / 0.6458 GB, free: 6.824 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.2052, allocations: 0 / 0.6458 GB, free: 6.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000416/0.2057, allocations: 457.5 kB / 0.6462 GB, free: 6.371 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.2057, allocations: 51.41 kB / 0.6463 GB, free: 6.309 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.2058, allocations: 169.8 kB / 0.6465 GB, free: 6.133 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.2059, allocations: 25.7 kB / 0.6465 GB, free: 6.102 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.02e-05/0.2059, allocations: 80.14 kB / 0.6466 GB, free: 6.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.2059, allocations: 8 kB / 0.6466 GB, free: 6.012 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.206, allocations: 13.7 kB / 0.6466 GB, free: 5.992 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.2061, allocations: 315.1 kB / 0.6469 GB, free: 5.676 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.908e-05/0.2062, allocations: 140 kB / 0.647 GB, free: 5.539 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.445e-05/0.2063, allocations: 139.9 kB / 0.6471 GB, free: 5.402 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.2065, allocations: 292.7 kB / 0.6474 GB, free: 5.113 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2065, allocations: 0 / 0.6474 GB, free: 5.113 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002339/0.2068, allocations: 317.5 kB / 0.6477 GB, free: 4.797 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2068, allocations: 4 kB / 0.6477 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2068, allocations: 3.984 kB / 0.6477 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.2068, allocations: 4.094 kB / 0.6477 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-05/0.2069, allocations: 4 kB / 0.6477 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.2069, allocations: 0 / 0.6477 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.967e-05/0.207, allocations: 0 / 0.6477 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.207, allocations: 0 / 0.6477 GB, free: 4.781 MB / 494.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.0001038/0.2071, allocations: 169.8 kB / 0.6479 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/0.2071, allocations: 3.938 kB / 0.6479 GB, free: 4.602 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.2074, allocations: 324.6 kB / 0.6482 GB, free: 4.277 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.2074, allocations: 3.984 kB / 0.6482 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2074, allocations: 4.031 kB / 0.6482 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2074, allocations: 0 / 0.6482 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.2077, allocations: 293.6 kB / 0.6485 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.2077, allocations: 0 / 0.6485 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.2077, allocations: 0 / 0.6485 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.2077, allocations: 0 / 0.6485 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.2077, allocations: 3.984 kB / 0.6485 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2077, allocations: 0 / 0.6485 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2077, allocations: 3.984 kB / 0.6485 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.208, allocations: 348.9 kB / 0.6488 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.208, allocations: 77.11 kB / 0.6489 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.706e-05/0.2081, allocations: 7.938 kB / 0.6489 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-05/0.2082, allocations: 0 / 0.6489 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.2082, allocations: 3.938 kB / 0.6489 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.2082, allocations: 3.938 kB / 0.6489 GB, free: 3.457 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.716e-05/0.2083, allocations: 151.2 kB / 0.6491 GB, free: 3.309 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2083, allocations: 0 / 0.6491 GB, free: 3.309 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001271/0.2095, allocations: 0.5702 MB / 0.6496 GB, free: 2.738 MB / 494.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.00204/0.2116, allocations: 0.9124 MB / 0.6505 GB, free: 1.922 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002634/0.2119, allocations: 283.9 kB / 0.6508 GB, free: 1.645 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2119, allocations: 4 kB / 0.6508 GB, free: 1.641 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.212, allocations: 173.6 kB / 0.651 GB, free: 1.465 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.2122, allocations: 8.531 kB / 0.651 GB, free: 1.457 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005619/0.2128, allocations: 431.2 kB / 0.6514 GB, free: 1.004 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.2131, allocations: 0.669 MB / 0.652 GB, free: 316 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.2131, allocations: 11.44 kB / 0.6521 GB, free: 304 kB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2131, allocations: 4 kB / 0.6521 GB, free: 300 kB / 494.1 MB Notification: Performance of Templates: time 0.02089/0.234, allocations: 12.17 MB / 0.6639 GB, free: 4.121 MB / 0.4981 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)