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.0009995/0.0009992, allocations: 106 kB / 16.4 MB, free: 6.504 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.001033/0.001033, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.22/1.22, allocations: 222.9 MB / 241 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.6516/0.6516, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 70.33 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1181, allocations: 76.17 MB / 0.6321 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001954/0.1201, allocations: 1.238 MB / 0.6333 GB, free: 3.148 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005718/0.1259, allocations: 4.488 MB / 0.6377 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.932e-05/0.1259, allocations: 0 / 0.6377 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.655e-05/0.1259, allocations: 0 / 0.6377 GB, free: 14.64 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.002859/0.1288, allocations: 1.506 MB / 0.6392 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.195e-05/0.1289, allocations: 35.91 kB / 0.6392 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.439e-05/0.1289, allocations: 15.97 kB / 0.6392 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.544e-05/0.129, allocations: 0 / 0.6392 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.886e-05/0.129, allocations: 8 kB / 0.6392 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.723e-05/0.1291, allocations: 17.28 kB / 0.6392 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.387e-06/0.1291, allocations: 0 / 0.6392 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002717/0.1318, allocations: 2.278 MB / 0.6415 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.1319, allocations: 153.2 kB / 0.6416 GB, free: 10.62 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.132, allocations: 7.984 kB / 0.6416 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.1338, allocations: 1.731 MB / 0.6433 GB, free: 8.875 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1338, allocations: 3.938 kB / 0.6433 GB, free: 8.871 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1338, allocations: 0 / 0.6433 GB, free: 8.871 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1338, allocations: 0 / 0.6433 GB, free: 8.871 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.0006932/0.1345, allocations: 0.6163 MB / 0.6439 GB, free: 8.207 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.1345, allocations: 16.03 kB / 0.6439 GB, free: 8.191 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.1346, allocations: 4.844 kB / 0.6439 GB, free: 8.188 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.1347, allocations: 168.4 kB / 0.6441 GB, free: 7.984 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.1347, allocations: 384 / 0.6441 GB, free: 7.984 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.946e-06/0.1347, allocations: 8.125 kB / 0.6441 GB, free: 7.977 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.1349, allocations: 169.6 kB / 0.6443 GB, free: 7.805 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1349, allocations: 0 / 0.6443 GB, free: 7.805 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.1349, allocations: 0 / 0.6443 GB, free: 7.805 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.1349, allocations: 0 / 0.6443 GB, free: 7.805 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.1351, allocations: 283.9 kB / 0.6445 GB, free: 7.527 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002424/0.1353, allocations: 289.7 kB / 0.6448 GB, free: 7.195 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.1355, allocations: 158.5 kB / 0.645 GB, free: 7.031 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.644e-05/0.1356, allocations: 148.8 kB / 0.6451 GB, free: 6.883 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.1356, allocations: 0 / 0.6451 GB, free: 6.883 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.1356, allocations: 38.48 kB / 0.6452 GB, free: 6.836 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.1356, allocations: 3.938 kB / 0.6452 GB, free: 6.832 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003568/0.136, allocations: 453.5 kB / 0.6456 GB, free: 6.383 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.136, allocations: 51.41 kB / 0.6456 GB, free: 6.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.1361, allocations: 169.8 kB / 0.6458 GB, free: 6.145 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.1361, allocations: 25.7 kB / 0.6458 GB, free: 6.113 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.62e-05/0.1362, allocations: 80.14 kB / 0.6459 GB, free: 6.031 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.1362, allocations: 0 / 0.6459 GB, free: 6.031 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.1362, allocations: 9.719 kB / 0.6459 GB, free: 6.016 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.501e-05/0.1363, allocations: 327.1 kB / 0.6462 GB, free: 5.688 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.672e-05/0.1364, allocations: 136 kB / 0.6464 GB, free: 5.555 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.597e-05/0.1365, allocations: 139.9 kB / 0.6465 GB, free: 5.418 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.1367, allocations: 292.7 kB / 0.6468 GB, free: 5.129 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1367, allocations: 0 / 0.6468 GB, free: 5.129 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002126/0.1369, allocations: 313.5 kB / 0.6471 GB, free: 4.816 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.137, allocations: 4 kB / 0.6471 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.137, allocations: 0 / 0.6471 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.137, allocations: 8.078 kB / 0.6471 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.948e-05/0.137, allocations: 4 kB / 0.6471 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.137, allocations: 0 / 0.6471 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.041e-05/0.1371, allocations: 0 / 0.6471 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.1371, allocations: 0 / 0.6471 GB, free: 4.801 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 9.798e-05/0.1372, allocations: 173.8 kB / 0.6472 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.749e-06/0.1372, allocations: 3.938 kB / 0.6472 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.1375, allocations: 324.6 kB / 0.6476 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1375, allocations: 0 / 0.6476 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1375, allocations: 4.031 kB / 0.6476 GB, free: 4.289 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1375, allocations: 4 kB / 0.6476 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.1377, allocations: 293.6 kB / 0.6478 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1378, allocations: 0 / 0.6478 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.1378, allocations: 0 / 0.6478 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.1378, allocations: 0 / 0.6478 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-06/0.1378, allocations: 4 kB / 0.6478 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1378, allocations: 3.984 kB / 0.6479 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1378, allocations: 3.984 kB / 0.6479 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.138, allocations: 344.8 kB / 0.6482 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.1381, allocations: 81.09 kB / 0.6483 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.762e-05/0.1381, allocations: 7.938 kB / 0.6483 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-05/0.1382, allocations: 0 / 0.6483 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.098e-05/0.1382, allocations: 0 / 0.6483 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.1382, allocations: 4 kB / 0.6483 GB, free: 3.473 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.349e-05/0.1383, allocations: 147.2 kB / 0.6484 GB, free: 3.328 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1383, allocations: 0 / 0.6484 GB, free: 3.328 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000974/0.1393, allocations: 0.5702 MB / 0.649 GB, free: 2.758 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.001939/0.1412, allocations: 0.923 MB / 0.6499 GB, free: 1.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.1415, allocations: 283.9 kB / 0.6501 GB, free: 1.652 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1415, allocations: 4 kB / 0.6501 GB, free: 1.648 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.1416, allocations: 169.7 kB / 0.6503 GB, free: 1.477 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.1418, allocations: 19.31 kB / 0.6503 GB, free: 1.461 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009469/0.1428, allocations: 0.9144 MB / 0.6512 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.1431, allocations: 0.8185 MB / 0.652 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.905e-05/0.1432, allocations: 8 kB / 0.652 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.1432, allocations: 11.44 kB / 0.652 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1432, allocations: 0 / 0.652 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.01698/0.1602, allocations: 12.23 MB / 0.664 GB, free: 3.461 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)