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.001182/0.001182, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 210.2 kB / 16.79 MB, free: 6.84 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.167/1.167, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6108/0.6108, allocations: 115.3 MB / 406 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 60.59 kB / 493 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1169, allocations: 76.19 MB / 0.5559 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00224/0.1191, allocations: 1.306 MB / 0.5572 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006188/0.1253, allocations: 4.762 MB / 0.5618 GB, free: 4.617 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.587e-05/0.1254, allocations: 0 / 0.5618 GB, free: 4.617 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.685e-05/0.1255, allocations: 0 / 0.5618 GB, free: 4.617 MB / 430.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‘. Notification: Performance of NFTyping.typeBindings: time 0.002783/0.1283, allocations: 1.189 MB / 0.563 GB, free: 3.426 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.546e-05/0.1283, allocations: 27.92 kB / 0.563 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.017e-05/0.1284, allocations: 31.91 kB / 0.563 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.388e-05/0.1284, allocations: 4 kB / 0.563 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.685e-05/0.1285, allocations: 4 kB / 0.563 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.754e-05/0.1285, allocations: 70.48 kB / 0.5631 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.446e-06/0.1286, allocations: 4 kB / 0.5631 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00274/0.1313, allocations: 2.246 MB / 0.5653 GB, free: 1.035 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.1315, allocations: 242.1 kB / 0.5655 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003323/0.1318, allocations: 286.8 kB / 0.5658 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002281/0.1341, allocations: 2.269 MB / 0.568 GB, free: 14.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1341, allocations: 0 / 0.568 GB, free: 14.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1341, allocations: 0 / 0.568 GB, free: 14.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1341, allocations: 0 / 0.568 GB, free: 14.25 MB / 446.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.001895/0.136, allocations: 1.499 MB / 0.5695 GB, free: 12.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1361, allocations: 11.97 kB / 0.5695 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.736e-05/0.1361, allocations: 30.75 kB / 0.5695 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.1363, allocations: 44.38 kB / 0.5696 GB, free: 12.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006978/0.137, allocations: 0.6325 MB / 0.5702 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.162e-06/0.137, allocations: 384 / 0.5702 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.137, allocations: 3.938 kB / 0.5702 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.1372, allocations: 169.6 kB / 0.5704 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-06/0.1372, allocations: 0 / 0.5704 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.1372, allocations: 0 / 0.5704 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.1372, allocations: 4 kB / 0.5704 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.1374, allocations: 283.9 kB / 0.5706 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000529/0.1379, allocations: 0.5327 MB / 0.5712 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.138, allocations: 162.4 kB / 0.5713 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.188e-05/0.1381, allocations: 148.9 kB / 0.5714 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.1382, allocations: 0 / 0.5714 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.1382, allocations: 34.56 kB / 0.5715 GB, free: 10.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.1382, allocations: 4 kB / 0.5715 GB, free: 10.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0004964/0.1387, allocations: 489 kB / 0.572 GB, free: 10.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.1387, allocations: 55.41 kB / 0.572 GB, free: 9.973 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008062/0.1395, allocations: 0.6903 MB / 0.5727 GB, free: 9.273 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.1396, allocations: 25.7 kB / 0.5727 GB, free: 9.242 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.1397, allocations: 236 kB / 0.5729 GB, free: 9.008 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.1397, allocations: 0 / 0.5729 GB, free: 9.008 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.1397, allocations: 13.84 kB / 0.5729 GB, free: 8.988 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1399, allocations: 370.8 kB / 0.5733 GB, free: 8.617 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.023e-05/0.1399, allocations: 139.9 kB / 0.5734 GB, free: 8.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.446e-05/0.14, allocations: 140 kB / 0.5736 GB, free: 8.344 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.1402, allocations: 288.7 kB / 0.5738 GB, free: 8.059 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1402, allocations: 0 / 0.5738 GB, free: 8.059 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003647/0.1406, allocations: 360.9 kB / 0.5742 GB, free: 7.699 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1406, allocations: 7.984 kB / 0.5742 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1406, allocations: 4.094 kB / 0.5742 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.385e-06/0.1406, allocations: 3.938 kB / 0.5742 GB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.919e-05/0.1407, allocations: 7.938 kB / 0.5742 GB, free: 7.676 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1407, allocations: 0 / 0.5742 GB, free: 7.676 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.1409, allocations: 28 kB / 0.5742 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1409, allocations: 3.938 kB / 0.5742 GB, free: 7.645 MB / 446.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.000148/0.1411, allocations: 209.7 kB / 0.5744 GB, free: 7.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.1412, allocations: 47.42 kB / 0.5745 GB, free: 7.383 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003005/0.1415, allocations: 377 kB / 0.5748 GB, free: 7.008 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1416, allocations: 0 / 0.5748 GB, free: 7.008 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.1416, allocations: 0 / 0.5748 GB, free: 7.008 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.1416, allocations: 0 / 0.5748 GB, free: 7.008 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.1419, allocations: 445.4 kB / 0.5753 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.1419, allocations: 0 / 0.5753 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1419, allocations: 0 / 0.5753 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.142, allocations: 4 kB / 0.5753 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.142, allocations: 0 / 0.5753 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.142, allocations: 0 / 0.5753 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.142, allocations: 0 / 0.5753 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.1424, allocations: 392.4 kB / 0.5756 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003623/0.1427, allocations: 336.2 kB / 0.576 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.1429, allocations: 3.984 kB / 0.576 GB, free: 5.766 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.1431, allocations: 28 kB / 0.576 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.1431, allocations: 3.984 kB / 0.576 GB, free: 5.734 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1431, allocations: 4 kB / 0.576 GB, free: 5.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006599/0.1438, allocations: 0.5339 MB / 0.5765 GB, free: 5.199 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1438, allocations: 4.031 kB / 0.5765 GB, free: 5.195 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001289/0.1451, allocations: 0.5701 MB / 0.5771 GB, free: 4.625 MB / 446.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.002513/0.1476, allocations: 1.742 MB / 0.5788 GB, free: 2.973 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.1478, allocations: 291.9 kB / 0.5791 GB, free: 2.688 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1478, allocations: 0 / 0.5791 GB, free: 2.688 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.1479, allocations: 169.6 kB / 0.5792 GB, free: 2.516 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.1483, allocations: 31.84 kB / 0.5793 GB, free: 2.488 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1848/0.3331, allocations: 7.441 MB / 0.5865 GB, free: 29.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.3334, allocations: 0.8187 MB / 0.5873 GB, free: 28.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001194/0.3346, allocations: 450.5 kB / 0.5878 GB, free: 28.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006505/0.3352, allocations: 371.5 kB / 0.5881 GB, free: 28.41 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3353, allocations: 0.875 kB / 0.5881 GB, free: 28.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.139/3.474, allocations: 25.28 MB / 0.6128 GB, free: 18.52 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/3.475, allocations: 326.4 kB / 0.6131 GB, free: 18.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.29/5.764, allocations: 0 / 0.6131 GB, free: 18.14 MB / 446.1 MB (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)