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.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.001419/0.001419, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001645/0.001645, allocations: 218.6 kB / 23.01 MB, free: 4.566 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.002501/0.002501, allocations: 278.7 kB / 313.5 MB, free: 2.82 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.262/1.262, allocations: 180.6 MB / 0.5377 GB, free: 13.02 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_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: 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.002894/0.002894, allocations: 106.9 kB / 0.7409 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2066, allocations: 95.38 MB / 0.834 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002745/0.2093, allocations: 1.468 MB / 0.8355 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007072/0.2164, allocations: 4.283 MB / 0.8396 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.768e-05/0.2165, allocations: 0 / 0.8396 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.2166, allocations: 15.86 kB / 0.8397 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.2169, allocations: 27.78 kB / 0.8397 GB, free: 2.309 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.004665/0.2215, allocations: 1.598 MB / 0.8412 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.2217, allocations: 99.67 kB / 0.8413 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.617e-05/0.2218, allocations: 4 kB / 0.8413 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.399e-05/0.2219, allocations: 47.84 kB / 0.8414 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.2221, allocations: 159.5 kB / 0.8415 GB, free: 416 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.2221, allocations: 12 kB / 0.8415 GB, free: 404 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004535/0.2267, allocations: 2.628 MB / 0.8441 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.2269, allocations: 271.8 kB / 0.8444 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002641/0.2272, allocations: 274.3 kB / 0.8446 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003663/0.2309, allocations: 2.15 MB / 0.8467 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.2309, allocations: 4 kB / 0.8467 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2309, allocations: 0 / 0.8467 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.2309, allocations: 3.938 kB / 0.8467 GB, free: 11.06 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.009128/0.24, allocations: 1.272 MB / 0.848 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.2401, allocations: 9.344 kB / 0.848 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004123/0.2405, allocations: 92.23 kB / 0.8481 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.2409, allocations: 307.2 kB / 0.8484 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.2409, allocations: 8.359 kB / 0.8484 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.241, allocations: 8.375 kB / 0.8484 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004797/0.2414, allocations: 391.5 kB / 0.8488 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2415, allocations: 0 / 0.8488 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.2415, allocations: 0 / 0.8488 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.2415, allocations: 3.984 kB / 0.8488 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004683/0.2419, allocations: 435.7 kB / 0.8492 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006608/0.2426, allocations: 0.6128 MB / 0.8498 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005575/0.2432, allocations: 0.5633 MB / 0.8503 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/0.2435, allocations: 333.6 kB / 0.8507 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006369/0.2441, allocations: 147.7 kB / 0.8508 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004347/0.2446, allocations: 408.8 kB / 0.8512 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2446, allocations: 4 kB / 0.8512 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.001459/0.246, allocations: 1.293 MB / 0.8524 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.2461, allocations: 85.05 kB / 0.8525 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.2474, allocations: 1.215 MB / 0.8537 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.2474, allocations: 29.7 kB / 0.8537 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.2476, allocations: 265.9 kB / 0.854 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.2477, allocations: 27.78 kB / 0.854 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003748/0.2481, allocations: 359.7 kB / 0.8544 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.2482, allocations: 310 kB / 0.8547 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.2495, allocations: 1.373 MB / 0.856 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.251, allocations: 1.501 MB / 0.8575 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007204/0.2582, allocations: 3.557 MB / 0.8609 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.2582, allocations: 0 / 0.8609 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004638/0.2629, allocations: 4.007 MB / 0.8649 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.2629, allocations: 9.875 kB / 0.8649 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.2629, allocations: 0 / 0.8649 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/0.2629, allocations: 4 kB / 0.8649 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.2631, allocations: 31.86 kB / 0.8649 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.2631, allocations: 4.031 kB / 0.8649 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005076/0.2636, allocations: 237.3 kB / 0.8651 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.026e-05/0.2636, allocations: 23.98 kB / 0.8652 GB, free: 7.828 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.0003137/0.264, allocations: 242.3 kB / 0.8654 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.264, allocations: 75.28 kB / 0.8655 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.2651, allocations: 0.9399 MB / 0.8664 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2651, allocations: 0 / 0.8664 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.2651, allocations: 7.938 kB / 0.8664 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2651, allocations: 0 / 0.8664 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004615/0.2655, allocations: 471.9 kB / 0.8668 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2655, allocations: 0 / 0.8668 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.256e-05/0.2656, allocations: 15.92 kB / 0.8668 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2656, allocations: 0 / 0.8668 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.2656, allocations: 4 kB / 0.8669 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2656, allocations: 0 / 0.8669 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2656, allocations: 7.969 kB / 0.8669 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009814/0.2666, allocations: 1.006 MB / 0.8678 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.119e-05/0.2667, allocations: 83.22 kB / 0.8679 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.817e-05/0.2668, allocations: 4 kB / 0.8679 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.2669, allocations: 7.984 kB / 0.8679 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.2669, allocations: 8 kB / 0.8679 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.763e-05/0.267, allocations: 15.97 kB / 0.868 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000756/0.2677, allocations: 0.6689 MB / 0.8686 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2677, allocations: 0 / 0.8686 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001592/0.2693, allocations: 0.5923 MB / 0.8692 GB, free: 3.613 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.001804/0.2711, allocations: 0.7033 MB / 0.8699 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00214/0.2733, allocations: 1.997 MB / 0.8718 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2733, allocations: 0 / 0.8718 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003402/0.2736, allocations: 327.8 kB / 0.8721 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.2739, allocations: 43.66 kB / 0.8722 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.2762, allocations: 1.811 MB / 0.8739 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005897/0.2768, allocations: 0.9679 MB / 0.8749 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.2769, allocations: 27.42 kB / 0.8749 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.2769, allocations: 4 kB / 0.8749 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of Templates: time 0.02392/0.3008, allocations: 13.97 MB / 0.8886 GB, free: 15.71 MB / 0.6387 GB " [Timeout remaining time 660] 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: 12.719092907151207] Failed to read output from testmodel.py, exit status != 0: 0.3088097481522709 0.32344842300000004 0.08947880000000001 Calling exit ...