Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.001372/0.001372, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.001335/0.001335, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.443/1.443, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.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.002627/0.002627, allocations: 283.8 kB / 303.6 MB, free: 3.688 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.073/1.073, allocations: 180.9 MB / 0.5268 GB, free: 2.703 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.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002771/0.002771, allocations: 95.84 kB / 0.726 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5719/0.5747, allocations: 94.16 MB / 0.8179 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002381/0.577, allocations: 1.44 MB / 0.8193 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005776/0.5828, allocations: 4.23 MB / 0.8235 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.128e-05/0.5829, allocations: 0 / 0.8235 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.583, allocations: 16.14 kB / 0.8235 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.5833, allocations: 35.02 kB / 0.8235 GB, free: 3.578 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.typeClassSections: time 0.004466/0.5877, allocations: 1.504 MB / 0.825 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.5879, allocations: 89.81 kB / 0.8251 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5e-05/0.588, allocations: 8.453 kB / 0.8251 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.784e-05/0.588, allocations: 47.23 kB / 0.8251 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.5883, allocations: 151 kB / 0.8253 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/0.5883, allocations: 12.59 kB / 0.8253 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004016/0.5923, allocations: 2.309 MB / 0.8275 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002941/0.5926, allocations: 271.7 kB / 0.8278 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.5929, allocations: 276.1 kB / 0.8281 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003629/0.5965, allocations: 2.129 MB / 0.8301 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.5965, allocations: 0.75 kB / 0.8301 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5965, allocations: 0 / 0.8301 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.5965, allocations: 1.719 kB / 0.8301 GB, free: 1.352 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01054/0.607, allocations: 1.342 MB / 0.8315 GB, free: 396 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.6071, allocations: 15.73 kB / 0.8315 GB, free: 392 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004421/0.6075, allocations: 95.34 kB / 0.8316 GB, free: 332 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000413/0.6079, allocations: 362.6 kB / 0.8319 GB, free: 24 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.608, allocations: 3.859 kB / 0.8319 GB, free: 24 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.608, allocations: 11.78 kB / 0.8319 GB, free: 16 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/0.6086, allocations: 389 kB / 0.8323 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.6086, allocations: 3.781 kB / 0.8323 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.6086, allocations: 5.078 kB / 0.8323 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.6086, allocations: 0 / 0.8323 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000483/0.6091, allocations: 436 kB / 0.8327 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008765/0.6099, allocations: 0.6447 MB / 0.8333 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007968/0.6107, allocations: 0.5624 MB / 0.8339 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005462/0.6113, allocations: 333.4 kB / 0.8342 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00133/0.6126, allocations: 1.021 MB / 0.8352 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005513/0.6132, allocations: 409.4 kB / 0.8356 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.6132, allocations: 0 / 0.8356 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.002236/0.6154, allocations: 1.291 MB / 0.8369 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.6155, allocations: 85.2 kB / 0.8369 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/0.6171, allocations: 1.229 MB / 0.8381 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.953e-05/0.6172, allocations: 28.42 kB / 0.8382 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000251/0.6174, allocations: 267.8 kB / 0.8384 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.6174, allocations: 21.69 kB / 0.8384 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004244/0.6179, allocations: 354.1 kB / 0.8388 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.618, allocations: 310.4 kB / 0.8391 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/0.6196, allocations: 1.373 MB / 0.8404 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/0.6214, allocations: 1.507 MB / 0.8419 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00809/0.6295, allocations: 3.562 MB / 0.8454 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.6295, allocations: 0 / 0.8454 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005342/0.6348, allocations: 4.011 MB / 0.8493 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.6348, allocations: 4.969 kB / 0.8493 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.6349, allocations: 3.031 kB / 0.8493 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.6349, allocations: 1.094 kB / 0.8493 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.635, allocations: 20.42 kB / 0.8493 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.635, allocations: 0.75 kB / 0.8493 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000662/0.6357, allocations: 241.3 kB / 0.8495 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/0.6358, allocations: 22.75 kB / 0.8496 GB, free: 7.867 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0004056/0.6362, allocations: 244.9 kB / 0.8498 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.288e-05/0.6363, allocations: 74.41 kB / 0.8499 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.6365, allocations: 74.97 kB / 0.8499 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.6365, allocations: 2.531 kB / 0.8499 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.6366, allocations: 0 / 0.8499 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.6366, allocations: 5.797 kB / 0.8499 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006189/0.6372, allocations: 0.4912 MB / 0.8504 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.6372, allocations: 4 kB / 0.8504 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/0.6373, allocations: 11.66 kB / 0.8504 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.6373, allocations: 1.406 kB / 0.8504 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.6373, allocations: 3.766 kB / 0.8504 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.6373, allocations: 1.922 kB / 0.8504 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6373, allocations: 0 / 0.8504 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.6385, allocations: 1.015 MB / 0.8514 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.6386, allocations: 164.6 kB / 0.8516 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.55e-05/0.6387, allocations: 1.812 kB / 0.8516 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.6388, allocations: 3.75 kB / 0.8516 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.6389, allocations: 6.047 kB / 0.8516 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/0.6389, allocations: 16.91 kB / 0.8516 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000929/0.6398, allocations: 0.6739 MB / 0.8523 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6398, allocations: 1.156 kB / 0.8523 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002521/0.6423, allocations: 0.5844 MB / 0.8529 GB, free: 6.668 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002083/0.6444, allocations: 0.6969 MB / 0.8535 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002429/0.6469, allocations: 1.995 MB / 0.8555 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6469, allocations: 1.156 kB / 0.8555 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.6473, allocations: 341.5 kB / 0.8558 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.6476, allocations: 33.08 kB / 0.8558 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.6504, allocations: 1.812 MB / 0.8576 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000733/0.6511, allocations: 0.9648 MB / 0.8586 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.6513, allocations: 28.69 kB / 0.8586 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/0.6513, allocations: 0 / 0.8586 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of Templates: time 0.02878/0.68, allocations: 13.93 MB / 0.8722 GB, free: 8.758 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.265297751873732] Failed to read output from testmodel.py, exit status != 0: 0.6881077708676457 0.7012010679999999 0.101802294 Calling exit ...