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.001322/0.001322, allocations: 108.4 kB / 16.41 MB, free: 6.5 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.001315/0.001315, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.368/1.368, allocations: 222.9 MB / 241.1 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.7868/0.7868, allocations: 125.4 MB / 416.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 63.56 kB / 0.5717 GB, free: 27.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1451, allocations: 78.56 MB / 0.6484 GB, free: 5.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002471/0.1476, allocations: 1.243 MB / 0.6496 GB, free: 4.391 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007085/0.1547, allocations: 4.49 MB / 0.654 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.761e-05/0.1548, allocations: 0 / 0.654 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.148e-05/0.1549, allocations: 3.984 kB / 0.654 GB, free: 15.88 MB / 0.4981 GB [/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.004513/0.1594, allocations: 1.501 MB / 0.6555 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000114/0.1596, allocations: 31.91 kB / 0.6555 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.738e-05/0.1597, allocations: 15.97 kB / 0.6555 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.1597, allocations: 0 / 0.6555 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.274e-05/0.1597, allocations: 4 kB / 0.6555 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.855e-05/0.1598, allocations: 33.22 kB / 0.6555 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.1598, allocations: 0 / 0.6555 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003964/0.1638, allocations: 2.274 MB / 0.6578 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.164, allocations: 246.1 kB / 0.658 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003505/0.1644, allocations: 246.9 kB / 0.6582 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003573/0.168, allocations: 2.209 MB / 0.6604 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.168, allocations: 4 kB / 0.6604 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.943e-06/0.168, allocations: 0 / 0.6604 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.168, allocations: 0 / 0.6604 GB, free: 9.312 MB / 0.4981 GB 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.002273/0.1703, allocations: 1.532 MB / 0.6619 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.1704, allocations: 12.03 kB / 0.6619 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.389e-05/0.1704, allocations: 30.75 kB / 0.6619 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.1706, allocations: 44.66 kB / 0.662 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007927/0.1714, allocations: 0.6365 MB / 0.6626 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1714, allocations: 0 / 0.6626 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.1714, allocations: 0 / 0.6626 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.1716, allocations: 177.6 kB / 0.6628 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1717, allocations: 0 / 0.6628 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.1717, allocations: 0 / 0.6628 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1717, allocations: 0 / 0.6628 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.1719, allocations: 279.9 kB / 0.663 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006025/0.1725, allocations: 0.5365 MB / 0.6636 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.1727, allocations: 162.5 kB / 0.6637 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.1728, allocations: 148.9 kB / 0.6639 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.1728, allocations: 0 / 0.6639 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.1729, allocations: 42.5 kB / 0.6639 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.1729, allocations: 0 / 0.6639 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0005976/0.1735, allocations: 493.2 kB / 0.6644 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/0.1735, allocations: 51.41 kB / 0.6644 GB, free: 5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009727/0.1745, allocations: 0.6942 MB / 0.6651 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.1745, allocations: 29.83 kB / 0.6651 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.1747, allocations: 232.1 kB / 0.6653 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.1747, allocations: 7.891 kB / 0.6653 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.1748, allocations: 13.72 kB / 0.6654 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.175, allocations: 374.7 kB / 0.6657 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.1751, allocations: 136 kB / 0.6658 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.1752, allocations: 139.9 kB / 0.666 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.1755, allocations: 296.7 kB / 0.6663 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1755, allocations: 4.062 kB / 0.6663 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004193/0.1759, allocations: 353.3 kB / 0.6666 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1759, allocations: 5.875 kB / 0.6666 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1759, allocations: 7.984 kB / 0.6666 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1759, allocations: 3.938 kB / 0.6666 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.171e-05/0.176, allocations: 4 kB / 0.6666 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.176, allocations: 0 / 0.6666 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.1762, allocations: 28 kB / 0.6667 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.1762, allocations: 0 / 0.6667 GB, free: 2.664 MB / 0.4981 GB 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.0001823/0.1764, allocations: 209.7 kB / 0.6669 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.1766, allocations: 47.67 kB / 0.6669 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003652/0.177, allocations: 380.9 kB / 0.6673 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.177, allocations: 0 / 0.6673 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.177, allocations: 0 / 0.6673 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.177, allocations: 0 / 0.6673 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/0.1774, allocations: 445.4 kB / 0.6677 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.1775, allocations: 0 / 0.6677 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-07/0.1775, allocations: 0 / 0.6677 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1775, allocations: 4.031 kB / 0.6677 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.1775, allocations: 0 / 0.6677 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1775, allocations: 4 kB / 0.6677 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1775, allocations: 0 / 0.6677 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000458/0.178, allocations: 388.6 kB / 0.6681 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004227/0.1784, allocations: 336.6 kB / 0.6684 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.1785, allocations: 0 / 0.6684 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.1787, allocations: 28 kB / 0.6684 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.1787, allocations: 8.031 kB / 0.6684 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.1787, allocations: 3.984 kB / 0.6684 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007884/0.1795, allocations: 0.53 MB / 0.6689 GB, free: 220 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1795, allocations: 4 kB / 0.6689 GB, free: 216 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001527/0.1811, allocations: 0.5725 MB / 0.6695 GB, free: 15.64 MB / 0.5137 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.003794/0.1849, allocations: 1.755 MB / 0.6712 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003467/0.1853, allocations: 295.8 kB / 0.6715 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1853, allocations: 0 / 0.6715 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.1854, allocations: 161.7 kB / 0.6717 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.1858, allocations: 45.67 kB / 0.6717 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009421/0.1953, allocations: 7.187 MB / 0.6787 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.1957, allocations: 0.8197 MB / 0.6795 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001006/0.1968, allocations: 443.9 kB / 0.6799 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006532/0.1974, allocations: 375.2 kB / 0.6803 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of SimCode: time 6.81e-07/0.1974, allocations: 0 / 0.6803 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05816/0.2556, allocations: 25.73 MB / 0.7054 GB, free: 11.04 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.057/9.313, allocations: 16.19 kB / 0.7054 GB, free: 11.02 MB / 0.545 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)