Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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.001339/0.001339, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001481/0.001481, allocations: 221.6 kB / 23 MB, free: 4.914 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.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.002584/0.002584, allocations: 302.4 kB / 313.5 MB, free: 2.625 MB / 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.234/1.234, allocations: 180.6 MB / 0.5377 GB, free: 14.54 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 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.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002891/0.002891, allocations: 109.7 kB / 0.7408 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1976, allocations: 95.38 MB / 0.8339 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003702/0.2014, allocations: 1.727 MB / 0.8356 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008962/0.2103, allocations: 4.873 MB / 0.8404 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.2104, allocations: 3.938 kB / 0.8404 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.2118, allocations: 322.5 kB / 0.8407 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.212, allocations: 67.66 kB / 0.8408 GB, free: 0.9023 MB / 0.5762 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.typeClassSections: time 0.004241/0.2162, allocations: 1.573 MB / 0.8423 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.2165, allocations: 165.3 kB / 0.8425 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 6.285e-05/0.2166, allocations: 13.73 kB / 0.8425 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 9.261e-05/0.2167, allocations: 63.77 kB / 0.8425 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/0.2169, allocations: 163.4 kB / 0.8427 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.608e-05/0.217, allocations: 20 kB / 0.8427 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003767/0.2208, allocations: 2.363 MB / 0.845 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002639/0.221, allocations: 279.8 kB / 0.8453 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.2213, allocations: 246.7 kB / 0.8455 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002864/0.2241, allocations: 2.208 MB / 0.8477 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2241, allocations: 4 kB / 0.8477 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2241, allocations: 0 / 0.8477 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.495e-05/0.2242, allocations: 0 / 0.8477 GB, free: 9.809 MB / 0.5919 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.009501/0.2337, allocations: 1.335 MB / 0.849 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2337, allocations: 9.344 kB / 0.849 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003677/0.2341, allocations: 96.2 kB / 0.8491 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005895/0.2347, allocations: 356.4 kB / 0.8494 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.2347, allocations: 8.375 kB / 0.8494 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.2347, allocations: 16.34 kB / 0.8494 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000469/0.2352, allocations: 399.4 kB / 0.8498 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.2352, allocations: 0 / 0.8498 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.2352, allocations: 0 / 0.8498 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2352, allocations: 0 / 0.8498 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004584/0.2357, allocations: 435.7 kB / 0.8502 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006091/0.2363, allocations: 0.5976 MB / 0.8508 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005661/0.2368, allocations: 0.5632 MB / 0.8514 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003323/0.2372, allocations: 329.7 kB / 0.8517 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005878/0.2378, allocations: 139.7 kB / 0.8518 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004322/0.2382, allocations: 404.8 kB / 0.8522 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.2382, allocations: 0 / 0.8522 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.001428/0.2396, allocations: 1.305 MB / 0.8535 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.792e-05/0.2397, allocations: 85.11 kB / 0.8536 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.241, allocations: 1.294 MB / 0.8548 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.241, allocations: 29.7 kB / 0.8549 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.2413, allocations: 289.9 kB / 0.8551 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.2413, allocations: 20.03 kB / 0.8552 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003327/0.2416, allocations: 355.6 kB / 0.8555 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.2418, allocations: 318 kB / 0.8558 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.2431, allocations: 1.369 MB / 0.8571 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/0.2445, allocations: 1.505 MB / 0.8586 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007162/0.2517, allocations: 3.556 MB / 0.8621 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.2517, allocations: 4 kB / 0.8621 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.0046/0.2563, allocations: 4.026 MB / 0.866 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.2563, allocations: 15.81 kB / 0.866 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.2563, allocations: 4 kB / 0.866 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.2563, allocations: 0 / 0.866 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.2565, allocations: 15.98 kB / 0.866 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.2565, allocations: 0 / 0.866 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005276/0.257, allocations: 245.4 kB / 0.8663 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.526e-05/0.2571, allocations: 27.98 kB / 0.8663 GB, free: 6.375 MB / 0.6075 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.0003658/0.2574, allocations: 246.3 kB / 0.8665 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.541e-05/0.2575, allocations: 83.19 kB / 0.8666 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.2586, allocations: 0.9407 MB / 0.8675 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.2586, allocations: 3.938 kB / 0.8675 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2586, allocations: 0 / 0.8675 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.2586, allocations: 8.016 kB / 0.8676 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.2591, allocations: 464.4 kB / 0.868 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2591, allocations: 0 / 0.868 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.855e-05/0.2592, allocations: 8 kB / 0.868 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.2592, allocations: 7.984 kB / 0.868 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.2592, allocations: 3.938 kB / 0.868 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2592, allocations: 0 / 0.868 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2592, allocations: 4 kB / 0.868 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.2602, allocations: 1.014 MB / 0.869 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.2603, allocations: 87.3 kB / 0.8691 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.518e-05/0.2604, allocations: 7.938 kB / 0.8691 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.2605, allocations: 3.984 kB / 0.8691 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.2605, allocations: 7.938 kB / 0.8691 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-05/0.2606, allocations: 15.97 kB / 0.8691 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008193/0.2614, allocations: 0.7222 MB / 0.8698 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.2614, allocations: 0 / 0.8698 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001564/0.263, allocations: 0.5962 MB / 0.8704 GB, free: 2.094 MB / 0.6075 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.001863/0.2648, allocations: 0.7137 MB / 0.8711 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002205/0.267, allocations: 1.997 MB / 0.8731 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.267, allocations: 0 / 0.8731 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.2674, allocations: 335.8 kB / 0.8734 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.2678, allocations: 57.33 kB / 0.8734 GB, free: 15 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.2703, allocations: 1.94 MB / 0.8753 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.2707, allocations: 393.8 kB / 0.8757 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.2708, allocations: 35.34 kB / 0.8757 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of SimCode: time 5.51e-07/0.2708, allocations: 0 / 0.8757 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of Templates: time 0.02435/0.2951, allocations: 14.94 MB / 0.8903 GB, free: 13.66 MB / 0.6387 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.079032578039914] Failed to read output from testmodel.py, exit status != 0: 0.30319906072691083 0.317684545 0.09054954199999994 Calling exit ...