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.001142/0.001147, allocations: 105 kB / 16.4 MB, free: 6.477 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.001248/0.001248, allocations: 193.2 kB / 17.34 MB, free: 5.75 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7329/0.7329, allocations: 115.3 MB / 406.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001147, allocations: 70.16 kB / 0.5572 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1221, allocations: 76.18 MB / 0.6316 GB, free: 4.879 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002307/0.1245, allocations: 1.231 MB / 0.6328 GB, free: 3.641 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006509/0.131, allocations: 4.504 MB / 0.6372 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.654e-05/0.1311, allocations: 0 / 0.6372 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.896e-05/0.1311, allocations: 0 / 0.6372 GB, free: 15.11 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.004103/0.1352, allocations: 1.496 MB / 0.6387 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.35e-05/0.1353, allocations: 35.91 kB / 0.6387 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.323e-05/0.1354, allocations: 11.98 kB / 0.6387 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.1355, allocations: 3.984 kB / 0.6387 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.776e-05/0.1355, allocations: 8 kB / 0.6387 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.782e-05/0.1355, allocations: 17.28 kB / 0.6388 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.599e-06/0.1356, allocations: 4 kB / 0.6388 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003322/0.1389, allocations: 2.278 MB / 0.641 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.1391, allocations: 242.1 kB / 0.6412 GB, free: 11.01 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000348/0.1394, allocations: 242.9 kB / 0.6415 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003368/0.1428, allocations: 2.206 MB / 0.6436 GB, free: 8.566 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1428, allocations: 0 / 0.6436 GB, free: 8.566 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1428, allocations: 4 kB / 0.6436 GB, free: 8.562 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.1429, allocations: 0 / 0.6436 GB, free: 8.562 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.002808/0.1457, allocations: 1.488 MB / 0.6451 GB, free: 7.023 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.1457, allocations: 12.03 kB / 0.6451 GB, free: 7.012 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.63e-05/0.1458, allocations: 34.73 kB / 0.6451 GB, free: 6.969 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.1461, allocations: 44.38 kB / 0.6452 GB, free: 6.926 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008742/0.1469, allocations: 0.6363 MB / 0.6458 GB, free: 6.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.147, allocations: 4.312 kB / 0.6458 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-06/0.147, allocations: 3.938 kB / 0.6458 GB, free: 6.242 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.1472, allocations: 177.6 kB / 0.646 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.1472, allocations: 0 / 0.646 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.872e-06/0.1472, allocations: 0 / 0.646 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1472, allocations: 0 / 0.646 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.1474, allocations: 283.9 kB / 0.6462 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005694/0.148, allocations: 0.5327 MB / 0.6467 GB, free: 5.203 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.1481, allocations: 166.4 kB / 0.6469 GB, free: 5.031 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.978e-05/0.1482, allocations: 144.9 kB / 0.647 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.1482, allocations: 4 kB / 0.647 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.1483, allocations: 34.55 kB / 0.6471 GB, free: 4.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1483, allocations: 0 / 0.6471 GB, free: 4.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0005412/0.1488, allocations: 489 kB / 0.6475 GB, free: 4.355 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.1488, allocations: 51.41 kB / 0.6476 GB, free: 4.293 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008663/0.1497, allocations: 0.6981 MB / 0.6483 GB, free: 3.582 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.1497, allocations: 25.7 kB / 0.6483 GB, free: 3.551 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.1499, allocations: 228.2 kB / 0.6485 GB, free: 3.324 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.1499, allocations: 11.83 kB / 0.6485 GB, free: 3.312 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.15, allocations: 17.72 kB / 0.6485 GB, free: 3.289 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1501, allocations: 362.8 kB / 0.6489 GB, free: 2.926 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.644e-05/0.1502, allocations: 139.9 kB / 0.649 GB, free: 2.789 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.018e-05/0.1503, allocations: 139.9 kB / 0.6492 GB, free: 2.652 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.1505, allocations: 284.8 kB / 0.6494 GB, free: 2.371 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1505, allocations: 4.062 kB / 0.6494 GB, free: 2.367 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000414/0.1509, allocations: 361 kB / 0.6498 GB, free: 2.008 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1509, allocations: 4 kB / 0.6498 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1509, allocations: 3.938 kB / 0.6498 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.151, allocations: 0 / 0.6498 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.556e-05/0.151, allocations: 4 kB / 0.6498 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.151, allocations: 3.938 kB / 0.6498 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.1512, allocations: 31.98 kB / 0.6498 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1512, 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.0001601/0.1514, allocations: 218.4 kB / 0.65 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.1516, allocations: 43.44 kB / 0.6501 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/0.1519, allocations: 373 kB / 0.6504 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.1519, allocations: 3.984 kB / 0.6504 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1519, allocations: 0 / 0.6504 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1519, allocations: 0 / 0.6504 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/0.1523, allocations: 437.5 kB / 0.6508 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.1523, allocations: 3.984 kB / 0.6509 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1523, allocations: 0 / 0.6509 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1523, allocations: 3.938 kB / 0.6509 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1523, allocations: 8.031 kB / 0.6509 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1523, allocations: 0 / 0.6509 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1523, allocations: 4 kB / 0.6509 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003968/0.1527, allocations: 384.3 kB / 0.6512 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004007/0.1532, allocations: 340.3 kB / 0.6516 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.1533, allocations: 0 / 0.6516 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.1535, allocations: 28 kB / 0.6516 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.001e-05/0.1535, allocations: 4.031 kB / 0.6516 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.1536, allocations: 4 kB / 0.6516 GB, free: 44 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006732/0.1542, allocations: 0.5338 MB / 0.6521 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1542, allocations: 0 / 0.6521 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001364/0.1556, allocations: 0.5622 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.002823/0.1584, allocations: 1.74 MB / 0.6544 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000242/0.1587, allocations: 283.9 kB / 0.6546 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1587, allocations: 0 / 0.6546 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.1588, allocations: 165.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.000322/0.1592, allocations: 39.05 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.008043/0.1672, allocations: 7.166 MB / 0.6618 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.1675, allocations: 0.8236 MB / 0.6626 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009465/0.1685, allocations: 454.5 kB / 0.6631 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006211/0.1691, allocations: 367.2 kB / 0.6634 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1691, allocations: 0 / 0.6634 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.047/0.2162, allocations: 25.98 MB / 0.6888 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.605/8.821, allocations: 13.97 kB / 0.6888 GB, free: 10.15 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)