Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008204/0.008204, allocations: 100.2 kB / 15.73 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001922/0.001921, allocations: 196.1 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.513/1.513, allocations: 251.7 MB / 0.5094 GB, free: 3.074 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 67.91 kB / 0.7259 GB, free: 9.117 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2085, allocations: 104.7 MB / 0.8281 GB, free: 320 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003668/0.2122, allocations: 1.744 MB / 0.8298 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00685/0.2191, allocations: 4.261 MB / 0.834 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.2193, allocations: 0 / 0.834 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.2209, allocations: 374.4 kB / 0.8343 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.2211, allocations: 55.67 kB / 0.8344 GB, free: 9.855 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/gFunction.mo:2:1-281:14:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.gFunction' contains a call to impure function 'Modelica.Math.Matrices.solve'. Notification: Performance of NFTyping.typeClassSections: time 0.002791/0.2239, allocations: 0.9935 MB / 0.8353 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.2242, allocations: 143.4 kB / 0.8355 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.347e-05/0.2243, allocations: 9.562 kB / 0.8355 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.2244, allocations: 59.77 kB / 0.8355 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.2246, allocations: 167.4 kB / 0.8357 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.063e-05/0.2247, allocations: 12 kB / 0.8357 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002229/0.2269, allocations: 1.381 MB / 0.8371 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.2271, allocations: 275.8 kB / 0.8373 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002771/0.2274, allocations: 306.1 kB / 0.8376 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.2297, allocations: 1.547 MB / 0.8391 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2297, allocations: 4 kB / 0.8391 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2297, allocations: 0 / 0.8391 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.2297, allocations: 4 kB / 0.8391 GB, free: 4.965 MB / 0.6544 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.008115/0.2379, allocations: 1.269 MB / 0.8404 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.2379, allocations: 12.03 kB / 0.8404 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003978/0.2383, allocations: 95.59 kB / 0.8405 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005776/0.2389, allocations: 398.1 kB / 0.8409 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.2389, allocations: 12.3 kB / 0.8409 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.239, allocations: 4.375 kB / 0.8409 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/0.2394, allocations: 399.5 kB / 0.8413 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2395, allocations: 0 / 0.8413 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.2395, allocations: 0 / 0.8413 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.2395, allocations: 4 kB / 0.8413 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00044/0.2399, allocations: 431.7 kB / 0.8417 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.2406, allocations: 0.6612 MB / 0.8423 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/0.2411, allocations: 0.5595 MB / 0.8429 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.2414, allocations: 341.6 kB / 0.8432 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009989/0.2424, allocations: 1.021 MB / 0.8442 GB, free: 15.39 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004109/0.2428, allocations: 408.8 kB / 0.8446 GB, free: 14.97 MB / 0.67 GB Notification: Performance of pre-optimization done (n=8): time 3.547e-06/0.2429, allocations: 0 / 0.8446 GB, free: 14.97 MB / 0.67 GB Notification: Performance of matching and sorting (n=8): time 0.001354/0.2442, allocations: 1.308 MB / 0.8459 GB, free: 13.65 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.2443, allocations: 77.11 kB / 0.8459 GB, free: 13.56 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.2456, allocations: 1.285 MB / 0.8472 GB, free: 12.26 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/0.2456, allocations: 29.7 kB / 0.8472 GB, free: 12.23 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.2458, allocations: 281.4 kB / 0.8475 GB, free: 11.95 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.2459, allocations: 23.66 kB / 0.8475 GB, free: 11.92 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/0.2462, allocations: 351.5 kB / 0.8478 GB, free: 11.57 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.2463, allocations: 322 kB / 0.8481 GB, free: 11.25 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.2474, allocations: 1.361 MB / 0.8495 GB, free: 9.891 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.2486, allocations: 1.493 MB / 0.8509 GB, free: 8.387 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007123/0.2558, allocations: 3.541 MB / 0.8544 GB, free: 4.754 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.2558, allocations: 4 kB / 0.8544 GB, free: 4.75 MB / 0.67 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004377/0.2602, allocations: 3.973 MB / 0.8583 GB, free: 0.7422 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.2603, allocations: 10.81 kB / 0.8583 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.2603, allocations: 3.984 kB / 0.8583 GB, free: 0.7305 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.2603, allocations: 0 / 0.8583 GB, free: 0.7305 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.2605, allocations: 15.98 kB / 0.8583 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.2605, allocations: 4 kB / 0.8583 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005278/0.261, allocations: 232.3 kB / 0.8585 GB, free: 492 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.2611, allocations: 27.92 kB / 0.8586 GB, free: 464 kB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (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 (16): * Single equations (assignments): 13 * Array equations: 2 * 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 prepare postOptimizeDAE: time 0.0003047/0.2614, allocations: 249.6 kB / 0.8588 GB, free: 204 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.741e-05/0.2615, allocations: 74.62 kB / 0.8589 GB, free: 128 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.2618, allocations: 83.66 kB / 0.8589 GB, free: 32 kB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.2618, allocations: 4 kB / 0.8589 GB, free: 28 kB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.2618, allocations: 4.031 kB / 0.859 GB, free: 24 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2618, allocations: 0 / 0.859 GB, free: 24 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000469/0.2623, allocations: 0.5139 MB / 0.8595 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2623, allocations: 0 / 0.8595 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.588e-05/0.2624, allocations: 7.938 kB / 0.8595 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2624, allocations: 0 / 0.8595 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.2624, allocations: 11.92 kB / 0.8595 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.2624, allocations: 0 / 0.8595 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2624, allocations: 0 / 0.8595 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009141/0.2634, allocations: 1.006 MB / 0.8605 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.2635, allocations: 167.7 kB / 0.8606 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.591e-05/0.2636, allocations: 3.938 kB / 0.8606 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.2637, allocations: 7.984 kB / 0.8606 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.2638, allocations: 4 kB / 0.8606 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.2638, allocations: 19.98 kB / 0.8606 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008129/0.2647, allocations: 0.714 MB / 0.8613 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2647, allocations: 7.938 kB / 0.8614 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001316/0.266, allocations: 407.8 kB / 0.8617 GB, free: 13.07 MB / 0.6856 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.001701/0.2677, allocations: 470.9 kB / 0.8622 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002446/0.2702, allocations: 2.498 MB / 0.8646 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.2702, allocations: 0 / 0.8646 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003434/0.2705, allocations: 339.9 kB / 0.865 GB, free: 9.766 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.2709, allocations: 64.66 kB / 0.865 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.2734, allocations: 1.857 MB / 0.8668 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007884/0.2742, allocations: 0.9877 MB / 0.8678 GB, free: 6.797 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002043/0.2744, allocations: 49.34 kB / 0.8678 GB, free: 6.75 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.2746, allocations: 27.42 kB / 0.8679 GB, free: 6.723 MB / 0.6856 GB Notification: Performance of SimCode: time 9.62e-07/0.2746, allocations: 0 / 0.8679 GB, free: 6.723 MB / 0.6856 GB Notification: Performance of Templates: time 0.0208/0.2954, allocations: 10.18 MB / 0.8778 GB, free: 12.61 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)