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.001454/0.001454, allocations: 107.2 kB / 16.4 MB, free: 6.445 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.001698/0.001698, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7357/0.7357, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 66.52 kB / 0.5577 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1272, allocations: 76.19 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.002315/0.1296, allocations: 1.226 MB / 0.6333 GB, free: 3.16 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006489/0.1361, allocations: 4.496 MB / 0.6377 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.1361, allocations: 4 kB / 0.6377 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.379e-05/0.1362, allocations: 3.938 kB / 0.6377 GB, free: 14.63 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.003906/0.1402, allocations: 1.495 MB / 0.6392 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.625e-05/0.1403, allocations: 35.89 kB / 0.6392 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.934e-05/0.1403, allocations: 11.98 kB / 0.6392 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.1404, allocations: 7.984 kB / 0.6392 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.146e-05/0.1404, allocations: 7.984 kB / 0.6392 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.994e-05/0.1405, allocations: 17.28 kB / 0.6393 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.1405, allocations: 0 / 0.6393 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003314/0.1438, allocations: 2.282 MB / 0.6415 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.144, allocations: 149.2 kB / 0.6416 GB, free: 10.62 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.144, allocations: 4 kB / 0.6416 GB, free: 10.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002744/0.1467, allocations: 1.731 MB / 0.6433 GB, free: 8.883 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1468, allocations: 0 / 0.6433 GB, free: 8.883 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1468, allocations: 0 / 0.6433 GB, free: 8.883 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1468, allocations: 4 kB / 0.6433 GB, free: 8.879 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.00102/0.1478, allocations: 0.6202 MB / 0.6439 GB, free: 8.211 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1478, allocations: 12.03 kB / 0.6439 GB, free: 8.199 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.1479, allocations: 4.844 kB / 0.6439 GB, free: 8.195 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.148, allocations: 168.3 kB / 0.6441 GB, free: 7.992 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.148, allocations: 4.375 kB / 0.6441 GB, free: 7.988 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.148, allocations: 4.125 kB / 0.6441 GB, free: 7.984 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.1482, allocations: 169.6 kB / 0.6443 GB, free: 7.812 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.1482, allocations: 4 kB / 0.6443 GB, free: 7.809 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.1482, allocations: 0 / 0.6443 GB, free: 7.809 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1483, allocations: 8 kB / 0.6443 GB, free: 7.801 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.1485, allocations: 279.9 kB / 0.6446 GB, free: 7.527 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.1487, allocations: 285.6 kB / 0.6448 GB, free: 7.199 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.1489, allocations: 158.5 kB / 0.645 GB, free: 7.035 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.149, allocations: 152.8 kB / 0.6451 GB, free: 6.883 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.149, allocations: 3.938 kB / 0.6451 GB, free: 6.879 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.149, allocations: 34.56 kB / 0.6452 GB, free: 6.836 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.149, allocations: 0 / 0.6452 GB, free: 6.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003972/0.1494, allocations: 449.5 kB / 0.6456 GB, free: 6.391 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.1495, allocations: 55.34 kB / 0.6456 GB, free: 6.324 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.1496, allocations: 169.8 kB / 0.6458 GB, free: 6.148 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.1496, allocations: 25.7 kB / 0.6458 GB, free: 6.117 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.353e-05/0.1496, allocations: 80.39 kB / 0.6459 GB, free: 6.035 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.1497, allocations: 7.984 kB / 0.6459 GB, free: 6.027 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.1497, allocations: 13.72 kB / 0.6459 GB, free: 6.008 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1498, allocations: 314.8 kB / 0.6462 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-05/0.1499, allocations: 139.9 kB / 0.6464 GB, free: 5.555 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.264e-05/0.15, allocations: 143.9 kB / 0.6465 GB, free: 5.414 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.1502, allocations: 288.7 kB / 0.6468 GB, free: 5.129 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1502, allocations: 0 / 0.6468 GB, free: 5.129 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002366/0.1505, allocations: 317.6 kB / 0.6471 GB, free: 4.812 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1505, allocations: 5.562 kB / 0.6471 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1505, allocations: 4 kB / 0.6471 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1505, allocations: 0 / 0.6471 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.863e-05/0.1506, allocations: 0 / 0.6471 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1506, allocations: 0 / 0.6471 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.63e-05/0.1507, allocations: 0 / 0.6471 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.1507, allocations: 4 kB / 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 0.0001088/0.1508, allocations: 173.8 kB / 0.6473 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.1508, allocations: 7.969 kB / 0.6473 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.1511, allocations: 316.7 kB / 0.6476 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1511, allocations: 0 / 0.6476 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1511, allocations: 0 / 0.6476 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1511, allocations: 4 kB / 0.6476 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.1513, allocations: 289.6 kB / 0.6478 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.1514, allocations: 3.984 kB / 0.6478 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-06/0.1514, allocations: 3.938 kB / 0.6479 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.1514, allocations: 4 kB / 0.6479 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1514, allocations: 0 / 0.6479 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1514, allocations: 4.031 kB / 0.6479 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1514, allocations: 0 / 0.6479 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.1517, allocations: 344.8 kB / 0.6482 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.847e-05/0.1517, allocations: 81.11 kB / 0.6483 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.265e-05/0.1517, allocations: 0 / 0.6483 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.563e-05/0.1518, allocations: 4 kB / 0.6483 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.1518, allocations: 3.938 kB / 0.6483 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-06/0.1519, allocations: 4.031 kB / 0.6483 GB, free: 3.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.262e-05/0.1519, allocations: 151.2 kB / 0.6484 GB, free: 3.332 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1519, allocations: 0 / 0.6484 GB, free: 3.332 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001296/0.1533, allocations: 0.5661 MB / 0.649 GB, free: 2.766 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.002532/0.1558, allocations: 0.9129 MB / 0.6499 GB, free: 1.945 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.1561, allocations: 291.8 kB / 0.6501 GB, free: 1.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1561, allocations: 0 / 0.6501 GB, free: 1.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.1562, allocations: 169.6 kB / 0.6503 GB, free: 1.488 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.1564, allocations: 11.44 kB / 0.6503 GB, free: 1.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.1575, allocations: 0.9223 MB / 0.6512 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.1578, allocations: 0.8224 MB / 0.652 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.844e-05/0.1579, allocations: 0 / 0.652 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.1579, allocations: 11.44 kB / 0.652 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.1579, allocations: 0 / 0.652 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of Templates: time 0.01969/0.1776, allocations: 12.36 MB / 0.6641 GB, free: 3.348 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)