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.001265/0.001265, allocations: 119.3 kB / 17.09 MB, free: 6.012 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.00149/0.00149, allocations: 195 kB / 18.02 MB, free: 5.094 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.364/1.364, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7222/0.7222, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 72.62 kB / 0.5584 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1856, allocations: 76.19 MB / 0.6328 GB, free: 4.504 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002432/0.1881, allocations: 1.223 MB / 0.634 GB, free: 3.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006788/0.1949, allocations: 4.502 MB / 0.6384 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.101e-05/0.195, allocations: 0 / 0.6384 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.734e-05/0.1951, allocations: 0 / 0.6384 GB, free: 14.75 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.004721/0.1998, allocations: 1.505 MB / 0.6398 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001113/0.2, allocations: 35.91 kB / 0.6399 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.364e-05/0.2001, allocations: 8 kB / 0.6399 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.384e-05/0.2001, allocations: 0 / 0.6399 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.198e-05/0.2002, allocations: 11.97 kB / 0.6399 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.1e-05/0.2002, allocations: 25.28 kB / 0.6399 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.2002, allocations: 0 / 0.6399 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004087/0.2043, allocations: 2.278 MB / 0.6421 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.2045, allocations: 149.2 kB / 0.6423 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.145e-05/0.2045, allocations: 4 kB / 0.6423 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002772/0.2073, allocations: 1.731 MB / 0.644 GB, free: 8.992 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2073, allocations: 4 kB / 0.644 GB, free: 8.988 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2074, allocations: 0 / 0.644 GB, free: 8.988 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.2074, allocations: 0 / 0.644 GB, free: 8.988 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.0008634/0.2082, allocations: 0.6202 MB / 0.6446 GB, free: 8.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.2083, allocations: 12.03 kB / 0.6446 GB, free: 8.309 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.2083, allocations: 4.844 kB / 0.6446 GB, free: 8.305 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.2085, allocations: 164.4 kB / 0.6448 GB, free: 8.105 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.2085, allocations: 384 / 0.6448 GB, free: 8.105 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.2085, allocations: 4.125 kB / 0.6448 GB, free: 8.102 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.2087, allocations: 177.6 kB / 0.6449 GB, free: 7.922 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.2087, allocations: 0 / 0.6449 GB, free: 7.922 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.2087, allocations: 0 / 0.6449 GB, free: 7.922 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2088, allocations: 0 / 0.6449 GB, free: 7.922 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.209, allocations: 279.9 kB / 0.6452 GB, free: 7.648 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.2092, allocations: 285.6 kB / 0.6455 GB, free: 7.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.2094, allocations: 158.5 kB / 0.6456 GB, free: 7.156 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.2095, allocations: 152.8 kB / 0.6458 GB, free: 7.004 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.2095, allocations: 8 kB / 0.6458 GB, free: 6.996 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.2096, allocations: 38.44 kB / 0.6458 GB, free: 6.949 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.345e-06/0.2096, allocations: 0 / 0.6458 GB, free: 6.949 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0004099/0.21, allocations: 457.5 kB / 0.6463 GB, free: 6.496 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.21, allocations: 55.41 kB / 0.6463 GB, free: 6.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.2102, allocations: 161.8 kB / 0.6465 GB, free: 6.262 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.2102, allocations: 29.95 kB / 0.6465 GB, free: 6.227 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.2102, allocations: 84.14 kB / 0.6466 GB, free: 6.141 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.2103, allocations: 4 kB / 0.6466 GB, free: 6.137 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.2103, allocations: 9.719 kB / 0.6466 GB, free: 6.121 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.2104, allocations: 314.8 kB / 0.6469 GB, free: 5.805 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-05/0.2105, allocations: 139.9 kB / 0.647 GB, free: 5.668 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.872e-05/0.2106, allocations: 143.9 kB / 0.6472 GB, free: 5.527 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.2108, allocations: 284.8 kB / 0.6474 GB, free: 5.246 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2108, allocations: 4.062 kB / 0.6474 GB, free: 5.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002391/0.2111, allocations: 321.5 kB / 0.6477 GB, free: 4.922 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2111, allocations: 4 kB / 0.6477 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2111, allocations: 0 / 0.6477 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.2111, allocations: 0 / 0.6477 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.43e-05/0.2112, allocations: 4 kB / 0.6477 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2112, allocations: 0 / 0.6477 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.224e-05/0.2113, allocations: 0 / 0.6477 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.2113, allocations: 0 / 0.6477 GB, free: 4.914 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.0001169/0.2114, allocations: 174.5 kB / 0.6479 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.2114, allocations: 3.938 kB / 0.6479 GB, free: 4.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.2117, allocations: 324.6 kB / 0.6482 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.2117, allocations: 3.984 kB / 0.6482 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2118, allocations: 0 / 0.6482 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.2118, allocations: 3.984 kB / 0.6482 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.212, allocations: 289.6 kB / 0.6485 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.212, allocations: 0 / 0.6485 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-07/0.212, allocations: 0 / 0.6485 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.212, allocations: 0 / 0.6485 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.212, allocations: 4.031 kB / 0.6485 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.212, allocations: 4 kB / 0.6485 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2121, allocations: 0 / 0.6485 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.2123, allocations: 348.8 kB / 0.6488 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.2124, allocations: 77.11 kB / 0.6489 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.769e-05/0.2124, allocations: 0 / 0.6489 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.2125, allocations: 7.938 kB / 0.6489 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.2125, allocations: 4.031 kB / 0.6489 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.2125, allocations: 3.984 kB / 0.6489 GB, free: 3.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.677e-05/0.2126, allocations: 147.3 kB / 0.6491 GB, free: 3.445 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2126, allocations: 3.938 kB / 0.6491 GB, free: 3.441 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001264/0.2139, allocations: 0.57 MB / 0.6496 GB, free: 2.871 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.002083/0.216, allocations: 0.9181 MB / 0.6505 GB, free: 2.047 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002774/0.2163, allocations: 279.9 kB / 0.6508 GB, free: 1.773 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2163, allocations: 0 / 0.6508 GB, free: 1.773 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.2164, allocations: 173.6 kB / 0.651 GB, free: 1.598 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.2166, allocations: 10.59 kB / 0.651 GB, free: 1.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005566/0.2172, allocations: 423.3 kB / 0.6514 GB, free: 1.145 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.2174, allocations: 0.673 MB / 0.652 GB, free: 456 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.2175, allocations: 15.42 kB / 0.6521 GB, free: 440 kB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2175, allocations: 0 / 0.6521 GB, free: 440 kB / 494.1 MB Notification: Performance of Templates: time 0.01985/0.2373, allocations: 12.11 MB / 0.6639 GB, free: 4.324 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)