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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 78.48 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002191/0.002191, allocations: 168 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002508/0.002508, allocations: 230.7 kB / 259.4 MB, free: 476 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.075/1.075, allocations: 138.4 MB / 454.3 MB, free: 2.012 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.263e-06/1.263e-06, allocations: 0 / 0.6468 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.289e-05, allocations: 2.281 kB / 0.6468 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002245/0.002268, allocations: 1.29 MB / 0.6481 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2541/0.2563, allocations: 4.127 MB / 0.6521 GB, free: 53.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.774e-05/0.2564, allocations: 0 / 0.6521 GB, free: 53.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.153e-05/0.2564, allocations: 0.5625 kB / 0.6521 GB, free: 53.21 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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 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.003904/0.2603, allocations: 1.595 MB / 0.6537 GB, free: 53.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 9.313e-05/0.2604, allocations: 35.77 kB / 0.6537 GB, free: 53.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.13e-05/0.2605, allocations: 14 kB / 0.6537 GB, free: 53.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.543e-05/0.2605, allocations: 5.219 kB / 0.6537 GB, free: 53.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.963e-05/0.2606, allocations: 9.5 kB / 0.6538 GB, free: 53.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.2606, allocations: 21.12 kB / 0.6538 GB, free: 53.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.2606, allocations: 0 / 0.6538 GB, free: 53.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003083/0.2637, allocations: 2.43 MB / 0.6561 GB, free: 53.11 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.2638, allocations: 148.7 kB / 0.6563 GB, free: 53.1 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.2638, allocations: 6.828 kB / 0.6563 GB, free: 53.1 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002202/0.266, allocations: 2.085 MB / 0.6583 GB, free: 52.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.266, allocations: 0 / 0.6583 GB, free: 52.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.092e-06/0.266, allocations: 0.9375 kB / 0.6583 GB, free: 52.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.266, allocations: 0 / 0.6583 GB, free: 52.77 MB / 0.5606 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.0006325/0.2667, allocations: 0.5608 MB / 0.6589 GB, free: 52.31 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.2667, allocations: 11.31 kB / 0.6589 GB, free: 52.31 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.2667, allocations: 7.344 kB / 0.6589 GB, free: 52.31 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.095e-05/0.2668, allocations: 109 kB / 0.659 GB, free: 52.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.2668, allocations: 1.312 kB / 0.659 GB, free: 52.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-06/0.2668, allocations: 1.688 kB / 0.659 GB, free: 52.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.267, allocations: 178.2 kB / 0.6592 GB, free: 52.15 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.267, allocations: 0 / 0.6592 GB, free: 52.15 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.267, allocations: 3.938 kB / 0.6592 GB, free: 52.15 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.267, allocations: 0 / 0.6592 GB, free: 52.15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.2671, allocations: 282.5 kB / 0.6594 GB, free: 52.15 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.2673, allocations: 240.3 kB / 0.6597 GB, free: 52.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.731e-05/0.2674, allocations: 154.4 kB / 0.6598 GB, free: 52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.859e-05/0.2675, allocations: 150.8 kB / 0.66 GB, free: 51.99 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.2675, allocations: 0.5625 kB / 0.66 GB, free: 51.99 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.2675, allocations: 33.66 kB / 0.66 GB, free: 51.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/0.2675, allocations: 3.391 kB / 0.66 GB, free: 51.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0003042/0.2678, allocations: 459.8 kB / 0.6604 GB, free: 51.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.2678, allocations: 51.41 kB / 0.6605 GB, free: 51.85 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.427e-05/0.2679, allocations: 165.4 kB / 0.6606 GB, free: 51.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.751e-06/0.2679, allocations: 25.7 kB / 0.6607 GB, free: 51.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.017e-06/0.2679, allocations: 84.86 kB / 0.6608 GB, free: 51.63 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.268, allocations: 9.859 kB / 0.6608 GB, free: 51.63 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.268, allocations: 17.19 kB / 0.6608 GB, free: 51.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.547e-05/0.268, allocations: 312.1 kB / 0.6611 GB, free: 51.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.487e-05/0.2681, allocations: 139.3 kB / 0.6612 GB, free: 51.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.054e-05/0.2682, allocations: 142.1 kB / 0.6613 GB, free: 51.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.2683, allocations: 289.1 kB / 0.6616 GB, free: 51.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2683, allocations: 0.6875 kB / 0.6616 GB, free: 51.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001726/0.2685, allocations: 317.4 kB / 0.6619 GB, free: 51.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.2685, allocations: 4.25 kB / 0.6619 GB, free: 51.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2685, allocations: 4.781 kB / 0.6619 GB, free: 51.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2685, allocations: 4.562 kB / 0.6619 GB, free: 51.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.777e-05/0.2686, allocations: 0 / 0.6619 GB, free: 51.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.2686, allocations: 0 / 0.6619 GB, free: 51.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.725e-05/0.2686, allocations: 3.875 kB / 0.6619 GB, free: 51.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.2686, allocations: 3.375 kB / 0.6619 GB, free: 51.25 MB / 0.5606 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 6.27e-05/0.2687, allocations: 166.1 kB / 0.6621 GB, free: 51.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.2687, allocations: 3.312 kB / 0.6621 GB, free: 51.13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.2689, allocations: 327.8 kB / 0.6624 GB, free: 51.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.2689, allocations: 7.875 kB / 0.6624 GB, free: 51.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2689, allocations: 0 / 0.6624 GB, free: 51.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2689, allocations: 0 / 0.6624 GB, free: 51.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.2691, allocations: 243.1 kB / 0.6627 GB, free: 50.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2691, allocations: 0 / 0.6627 GB, free: 50.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.2691, allocations: 0 / 0.6627 GB, free: 50.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2691, allocations: 3.031 kB / 0.6627 GB, free: 50.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.2691, allocations: 2.344 kB / 0.6627 GB, free: 50.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2691, allocations: 3.047 kB / 0.6627 GB, free: 50.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2691, allocations: 3.938 kB / 0.6627 GB, free: 50.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.2693, allocations: 335 kB / 0.663 GB, free: 50.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-06/0.2693, allocations: 0 / 0.663 GB, free: 50.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.054e-05/0.2693, allocations: 3.938 kB / 0.663 GB, free: 50.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.505e-05/0.2694, allocations: 4 kB / 0.663 GB, free: 50.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.2694, allocations: 12.64 kB / 0.663 GB, free: 50.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-06/0.2694, allocations: 0 / 0.663 GB, free: 50.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.919e-05/0.2695, allocations: 151.4 kB / 0.6632 GB, free: 50.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2695, allocations: 0 / 0.6632 GB, free: 50.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009298/0.2704, allocations: 0.5726 MB / 0.6637 GB, free: 50.67 MB / 0.5606 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.002217/0.2726, allocations: 1.027 MB / 0.6647 GB, free: 50.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.2728, allocations: 286.1 kB / 0.665 GB, free: 50.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2728, allocations: 0 / 0.665 GB, free: 50.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.885e-05/0.2729, allocations: 174 kB / 0.6652 GB, free: 50.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.2731, allocations: 7.641 kB / 0.6652 GB, free: 50.39 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008372/0.274, allocations: 0.9526 MB / 0.6661 GB, free: 50.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.2741, allocations: 214 kB / 0.6663 GB, free: 49.95 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.725e-05/0.2741, allocations: 4 kB / 0.6663 GB, free: 49.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.965e-05/0.2741, allocations: 14.03 kB / 0.6663 GB, free: 49.95 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.2741, allocations: 0 / 0.6663 GB, free: 49.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.0209/0.295, allocations: 12.57 MB / 0.6786 GB, free: 48.94 MB / 0.5606 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.838145945221186] Failed to read output from testmodel.py, exit status != 0: 0.3024330139160156 0.3129754 0.044424214000000004 Calling exit ...