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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001543, allocations: 109 kB / 16.41 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.001332/0.001332, allocations: 193.2 kB / 17.34 MB, free: 5.707 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7033/0.7033, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 64.03 kB / 0.5572 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1288, allocations: 76.19 MB / 0.6316 GB, free: 4.887 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002001/0.1309, allocations: 1.242 MB / 0.6328 GB, free: 3.637 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006233/0.1371, allocations: 4.488 MB / 0.6372 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.1372, allocations: 0 / 0.6372 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.132e-05/0.1373, allocations: 4 kB / 0.6372 GB, free: 15.12 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.003974/0.1413, allocations: 1.503 MB / 0.6387 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.88e-05/0.1414, allocations: 39.89 kB / 0.6387 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.429e-05/0.1415, allocations: 11.94 kB / 0.6387 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.1415, allocations: 3.984 kB / 0.6387 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.055e-05/0.1415, allocations: 4 kB / 0.6388 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.676e-05/0.1416, allocations: 25.27 kB / 0.6388 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.537e-06/0.1416, allocations: 0 / 0.6388 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00325/0.1449, allocations: 2.278 MB / 0.641 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.1451, allocations: 246.1 kB / 0.6412 GB, free: 11.01 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002782/0.1453, allocations: 238.9 kB / 0.6415 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003175/0.1485, allocations: 2.202 MB / 0.6436 GB, free: 8.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1485, allocations: 4 kB / 0.6436 GB, free: 8.566 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1485, allocations: 0 / 0.6436 GB, free: 8.566 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.1486, allocations: 0 / 0.6436 GB, free: 8.566 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.002774/0.1514, allocations: 1.495 MB / 0.6451 GB, free: 7.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1514, allocations: 8.031 kB / 0.6451 GB, free: 7.012 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.1514, allocations: 30.75 kB / 0.6451 GB, free: 6.973 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002175/0.1517, allocations: 52.36 kB / 0.6452 GB, free: 6.922 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.1527, allocations: 0.6286 MB / 0.6458 GB, free: 6.254 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1527, allocations: 384 / 0.6458 GB, free: 6.254 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.1527, allocations: 7.938 kB / 0.6458 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.1529, allocations: 165.6 kB / 0.6459 GB, free: 6.078 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1529, allocations: 0 / 0.6459 GB, free: 6.078 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1529, allocations: 8 kB / 0.646 GB, free: 6.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1529, allocations: 0 / 0.646 GB, free: 6.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.1531, allocations: 283.8 kB / 0.6462 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/0.1537, allocations: 0.5365 MB / 0.6467 GB, free: 5.207 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.1538, allocations: 162.5 kB / 0.6469 GB, free: 5.039 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.948e-05/0.1539, allocations: 140.9 kB / 0.647 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.154, allocations: 0 / 0.647 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.154, allocations: 38.55 kB / 0.6471 GB, free: 4.852 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.154, allocations: 0 / 0.6471 GB, free: 4.852 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0006521/0.1547, allocations: 496.9 kB / 0.6475 GB, free: 4.359 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.1547, allocations: 51.41 kB / 0.6476 GB, free: 4.297 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008696/0.1556, allocations: 0.6981 MB / 0.6483 GB, free: 3.586 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.1556, allocations: 25.7 kB / 0.6483 GB, free: 3.555 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.1557, allocations: 224.1 kB / 0.6485 GB, free: 3.332 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.1558, allocations: 11.89 kB / 0.6485 GB, free: 3.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.1558, allocations: 17.83 kB / 0.6485 GB, free: 3.297 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1559, allocations: 362.8 kB / 0.6489 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.934e-05/0.156, allocations: 143.9 kB / 0.649 GB, free: 2.793 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.731e-05/0.1561, allocations: 139.9 kB / 0.6492 GB, free: 2.656 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.1563, allocations: 284.8 kB / 0.6494 GB, free: 2.375 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1563, allocations: 0 / 0.6494 GB, free: 2.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003824/0.1567, allocations: 360.9 kB / 0.6498 GB, free: 2.016 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1567, allocations: 12.09 kB / 0.6498 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1568, allocations: 4 kB / 0.6498 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1568, allocations: 3.938 kB / 0.6498 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.516e-05/0.1568, allocations: 0 / 0.6498 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1568, allocations: 3.984 kB / 0.6498 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.157, allocations: 32 kB / 0.6498 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.1571, allocations: 0 / 0.6498 GB, free: 1.961 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.0001542/0.1572, allocations: 217.6 kB / 0.65 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.1574, allocations: 43.44 kB / 0.6501 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.1577, allocations: 380.9 kB / 0.6504 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1577, allocations: 0 / 0.6504 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1577, allocations: 4 kB / 0.6504 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1577, allocations: 0 / 0.6504 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.1581, allocations: 433.5 kB / 0.6509 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.1581, allocations: 4 kB / 0.6509 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-07/0.1581, allocations: 0 / 0.6509 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1581, allocations: 3.984 kB / 0.6509 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.1581, allocations: 0 / 0.6509 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1581, allocations: 0 / 0.6509 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1581, allocations: 4.031 kB / 0.6509 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/0.1585, allocations: 384.4 kB / 0.6512 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005736/0.1591, allocations: 336.3 kB / 0.6516 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.1592, allocations: 0 / 0.6516 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.1594, allocations: 32 kB / 0.6516 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.1594, allocations: 3.984 kB / 0.6516 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.1594, allocations: 3.938 kB / 0.6516 GB, free: 48 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007167/0.1602, allocations: 0.5339 MB / 0.6521 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1602, allocations: 0 / 0.6521 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001408/0.1616, allocations: 0.57 MB / 0.6527 GB, free: 14.95 MB / 0.4981 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.003027/0.1646, allocations: 1.732 MB / 0.6544 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.1649, allocations: 283.8 kB / 0.6546 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1649, allocations: 0 / 0.6546 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.165, allocations: 173.6 kB / 0.6548 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.1653, allocations: 39.23 kB / 0.6548 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008081/0.1734, allocations: 7.17 MB / 0.6618 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.1738, allocations: 0.8158 MB / 0.6626 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009299/0.1747, allocations: 450.6 kB / 0.6631 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005944/0.1753, allocations: 371.2 kB / 0.6634 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/0.1753, allocations: 0 / 0.6634 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04868/0.224, allocations: 25.96 MB / 0.6888 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.635/8.859, allocations: 11.31 kB / 0.6888 GB, free: 10.16 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)