Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 192.3 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002488/0.002488, allocations: 297.7 kB / 306.6 MB, free: 8.305 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.218/1.218, allocations: 180.9 MB / 0.53 GB, free: 14.4 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002782/0.002782, allocations: 100.4 kB / 0.7309 GB, free: 38.55 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1552, allocations: 94.2 MB / 0.8229 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002289/0.1575, allocations: 1.254 MB / 0.8241 GB, free: 492 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007069/0.1645, allocations: 4.56 MB / 0.8286 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.316e-05/0.1645, allocations: 0 / 0.8286 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.149e-05/0.1646, allocations: 3.938 kB / 0.8286 GB, free: 11.89 MB / 0.5762 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/BuildingSystems 2.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.004182/0.1688, allocations: 1.616 MB / 0.8301 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 8.856e-05/0.1689, allocations: 27.91 kB / 0.8302 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.596e-05/0.1689, allocations: 11.98 kB / 0.8302 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.169, allocations: 7.984 kB / 0.8302 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.984e-05/0.169, allocations: 8 kB / 0.8302 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.152e-05/0.169, allocations: 21.28 kB / 0.8302 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.1691, allocations: 4 kB / 0.8302 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004006/0.1731, allocations: 2.695 MB / 0.8328 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.1732, allocations: 149.2 kB / 0.833 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.1732, allocations: 3.938 kB / 0.833 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002443/0.1757, allocations: 1.762 MB / 0.8347 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1757, allocations: 12 kB / 0.8347 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1757, allocations: 0 / 0.8347 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.1757, allocations: 3.938 kB / 0.8347 GB, free: 5.566 MB / 0.5762 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.0008932/0.1766, allocations: 0.5654 MB / 0.8353 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1766, allocations: 12.03 kB / 0.8353 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.1767, allocations: 0.9375 kB / 0.8353 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.1768, allocations: 114.5 kB / 0.8354 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1768, allocations: 384 / 0.8354 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.1768, allocations: 8.125 kB / 0.8354 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.177, allocations: 169.6 kB / 0.8356 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/0.177, allocations: 0 / 0.8356 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.177, allocations: 0 / 0.8356 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-06/0.177, allocations: 0 / 0.8356 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.1773, allocations: 287.8 kB / 0.8358 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.1776, allocations: 260.7 kB / 0.8361 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.1777, allocations: 154.5 kB / 0.8362 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.1779, allocations: 156.7 kB / 0.8364 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.1779, allocations: 4 kB / 0.8364 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.1779, allocations: 30.56 kB / 0.8364 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1779, allocations: 0 / 0.8364 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0004555/0.1784, allocations: 453.5 kB / 0.8369 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.1784, allocations: 51.41 kB / 0.8369 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.1785, allocations: 169.8 kB / 0.8371 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.1786, allocations: 25.95 kB / 0.8371 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.1786, allocations: 84.14 kB / 0.8372 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.1786, allocations: 0 / 0.8372 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.1786, allocations: 21.7 kB / 0.8372 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1788, allocations: 310.8 kB / 0.8375 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.1789, allocations: 136 kB / 0.8376 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.179, allocations: 143.9 kB / 0.8378 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.1793, allocations: 284.7 kB / 0.838 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1793, allocations: 8.062 kB / 0.838 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002804/0.1796, allocations: 313.5 kB / 0.8383 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1796, allocations: 4 kB / 0.8383 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.1796, allocations: 7.984 kB / 0.8383 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1796, allocations: 0 / 0.8383 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.694e-05/0.1796, allocations: 0 / 0.8383 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.1797, allocations: 0 / 0.8383 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.464e-05/0.1797, allocations: 3.953 kB / 0.8384 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.1797, allocations: 4 kB / 0.8384 GB, free: 1.664 MB / 0.5762 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.0001309/0.1799, allocations: 174.5 kB / 0.8385 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.1799, allocations: 3.938 kB / 0.8385 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003325/0.1802, allocations: 320.5 kB / 0.8388 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1802, allocations: 0 / 0.8388 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1802, allocations: 3.938 kB / 0.8388 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.1802, allocations: 4 kB / 0.8388 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.1805, allocations: 260.6 kB / 0.8391 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1805, allocations: 0 / 0.8391 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1805, allocations: 0 / 0.8391 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1805, allocations: 4 kB / 0.8391 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.1805, allocations: 12.02 kB / 0.8391 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1805, allocations: 0 / 0.8391 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1805, allocations: 3.938 kB / 0.8391 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.1808, allocations: 337 kB / 0.8394 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-06/0.1808, allocations: 3.984 kB / 0.8394 GB, free: 496 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.896e-05/0.1809, allocations: 0 / 0.8394 GB, free: 496 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.1809, allocations: 0 / 0.8394 GB, free: 496 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.1809, allocations: 8.031 kB / 0.8394 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.181, allocations: 0 / 0.8394 GB, free: 488 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001023/0.1811, allocations: 151.2 kB / 0.8396 GB, free: 336 kB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1811, allocations: 0 / 0.8396 GB, free: 336 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001197/0.1823, allocations: 0.5764 MB / 0.8401 GB, free: 15.75 MB / 0.5919 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.002376/0.1846, allocations: 0.9362 MB / 0.8411 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003186/0.1849, allocations: 283.9 kB / 0.8413 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1849, allocations: 0 / 0.8413 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.1851, allocations: 169.6 kB / 0.8415 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.1853, allocations: 3.938 kB / 0.8415 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.1865, allocations: 0.9377 MB / 0.8424 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.187, allocations: 0.8223 MB / 0.8432 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.239e-05/0.1871, allocations: 11.94 kB / 0.8432 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.1871, allocations: 11.44 kB / 0.8432 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.1871, allocations: 0 / 0.8432 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of Templates: time 0.02082/0.2079, allocations: 12.39 MB / 0.8553 GB, free: 276 kB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.824926044791937] Failed to read output from testmodel.py, exit status != 0: 0.21515399497002363 0.23003719500000003 0.051401220000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f4b4d9a97b0>