Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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_8.0.0_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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.582/2.582, allocations: 287.5 MB / 302.4 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001336/0.001335, allocations: 178.1 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009392/0.0009392, allocations: 100.3 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005077/0.000508, allocations: 13.34 kB / 0.8658 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2059, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002057/0.208, allocations: 1.421 MB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006584/0.2146, allocations: 3.925 MB / 0.9836 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.2148, allocations: 0 / 0.9836 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.2161, allocations: 314.7 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.2163, allocations: 51.73 kB / 0.984 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002732/0.2191, allocations: 0.7433 MB / 0.9847 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.2194, allocations: 163.4 kB / 0.9848 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.034e-05/0.2194, allocations: 9.562 kB / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.158e-05/0.2195, allocations: 59.7 kB / 0.9849 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.2198, allocations: 183.6 kB / 0.9851 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.333e-05/0.2199, allocations: 20 kB / 0.9851 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002629/0.2225, allocations: 1.302 MB / 0.9864 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002218/0.2228, allocations: 271.2 kB / 0.9866 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.2229, allocations: 129.1 kB / 0.9868 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.2245, allocations: 1.021 MB / 0.9878 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2245, allocations: 4 kB / 0.9878 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.385e-06/0.2245, allocations: 3.938 kB / 0.9878 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.2245, allocations: 0 / 0.9878 GB, free: 18.71 MB / 0.6198 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.01748/0.242, allocations: 1.222 MB / 0.989 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.2421, allocations: 12.02 kB / 0.989 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004664/0.2426, allocations: 90.66 kB / 0.9891 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000532/0.2431, allocations: 412.7 kB / 0.9894 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.2431, allocations: 4 kB / 0.9895 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.956e-05/0.2432, allocations: 8 kB / 0.9895 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/0.2437, allocations: 387.1 kB / 0.9898 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2437, allocations: 0 / 0.9898 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.2438, allocations: 3.984 kB / 0.9898 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2438, allocations: 4 kB / 0.9898 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005061/0.2443, allocations: 431.8 kB / 0.9902 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006978/0.245, allocations: 0.6574 MB / 0.9909 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005757/0.2456, allocations: 0.5672 MB / 0.9914 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.246, allocations: 337.7 kB / 0.9918 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/0.2471, allocations: 1.036 MB / 0.9928 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004615/0.2476, allocations: 408.8 kB / 0.9932 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.675e-06/0.2476, allocations: 3.984 kB / 0.9932 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001564/0.2491, allocations: 1.293 MB / 0.9944 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.2492, allocations: 81.11 kB / 0.9945 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.2507, allocations: 1.277 MB / 0.9958 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.2508, allocations: 29.64 kB / 0.9958 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.251, allocations: 289.3 kB / 0.9961 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.2511, allocations: 27.72 kB / 0.9961 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.2511, allocations: 0 / 0.9961 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2513, allocations: 423.8 kB / 0.9965 GB, free: 9.277 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.2527, allocations: 1.361 MB / 0.9978 GB, free: 7.914 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.2543, allocations: 1.493 MB / 0.9993 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/0.2561, allocations: 1.895 MB / 1.001 GB, free: 4.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2561, allocations: 0 / 1.001 GB, free: 4.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004762/0.2608, allocations: 3.949 MB / 1.005 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.2609, allocations: 4 kB / 1.005 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.2609, allocations: 4.031 kB / 1.005 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.261, allocations: 4 kB / 1.005 GB, free: 0.5039 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.2612, allocations: 15.98 kB / 1.005 GB, free: 500 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.2612, allocations: 3.938 kB / 1.005 GB, free: 496 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008059/0.262, allocations: 232.3 kB / 1.005 GB, free: 260 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.794e-05/0.2621, allocations: 23.98 kB / 1.005 GB, free: 236 kB / 0.6198 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000433/0.2625, allocations: 246.9 kB / 1.005 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.847e-05/0.2626, allocations: 74.69 kB / 1.006 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004335/0.2631, allocations: 83.66 kB / 1.006 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.2631, allocations: 0 / 1.006 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2631, allocations: 0 / 1.006 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2631, allocations: 0 / 1.006 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006974/0.2638, allocations: 0.5177 MB / 1.006 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2639, allocations: 3.938 kB / 1.006 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.264, allocations: 16.02 kB / 1.006 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.264, allocations: 4 kB / 1.006 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.264, allocations: 0 / 1.006 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.264, allocations: 0 / 1.006 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.2641, allocations: 4 kB / 1.006 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.2655, allocations: 1.009 MB / 1.007 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.2657, allocations: 159.7 kB / 1.007 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.2659, allocations: 7.938 kB / 1.007 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.2661, allocations: 11.98 kB / 1.007 GB, free: 14 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.2662, allocations: 4 kB / 1.007 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.414e-05/0.2662, allocations: 19.91 kB / 1.007 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001316/0.2676, allocations: 0.7062 MB / 1.008 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2676, allocations: 0 / 1.008 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001466/0.2691, allocations: 403.9 kB / 1.008 GB, free: 12.87 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001788/0.2709, allocations: 480.3 kB / 1.009 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003744/0.2746, allocations: 2.495 MB / 1.011 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2747, allocations: 0 / 1.011 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005392/0.2752, allocations: 339.8 kB / 1.012 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005562/0.2758, allocations: 52.66 kB / 1.012 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/0.2794, allocations: 1.977 MB / 1.014 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008034/0.2802, allocations: 0.9762 MB / 1.015 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003694/0.2806, allocations: 41.42 kB / 1.015 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.2808, allocations: 39.34 kB / 1.015 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of SimCode: time 9.51e-07/0.2808, allocations: 0 / 1.015 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of Templates: time 0.02791/0.3087, allocations: 9.536 MB / 1.024 GB, free: 12.93 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)