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/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.507/1.507, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 179.2 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.88/1.88, allocations: 205 MB / 0.5766 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008495/0.0008493, allocations: 90.17 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003378, allocations: 8.719 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2366, allocations: 105.4 MB / 0.8968 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001882/0.2385, allocations: 1.471 MB / 0.8982 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004922/0.2435, allocations: 4.445 MB / 0.9026 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.2436, allocations: 4 kB / 0.9026 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.2448, allocations: 346.6 kB / 0.9029 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.2449, allocations: 63.73 kB / 0.903 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.2471, allocations: 0.7596 MB / 0.9037 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000223/0.2473, allocations: 187.4 kB / 0.9039 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.427e-05/0.2474, allocations: 13.55 kB / 0.9039 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.048e-05/0.2474, allocations: 59.72 kB / 0.9039 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.2476, allocations: 172.8 kB / 0.9041 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/0.2477, allocations: 12 kB / 0.9041 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.2495, allocations: 1.388 MB / 0.9055 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.2497, allocations: 279.7 kB / 0.9057 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.2499, allocations: 310.1 kB / 0.906 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.251, allocations: 1.048 MB / 0.9071 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.251, allocations: 0 / 0.9071 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.455e-06/0.251, allocations: 0 / 0.9071 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.251, allocations: 3.938 kB / 0.9071 GB, free: 57.55 MB / 0.6042 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.007974/0.259, allocations: 1.211 MB / 0.9082 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.2591, allocations: 12.03 kB / 0.9083 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003583/0.2594, allocations: 99.58 kB / 0.9084 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.2598, allocations: 401.9 kB / 0.9087 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.2598, allocations: 4.359 kB / 0.9087 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.2599, allocations: 8.375 kB / 0.9088 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.2602, allocations: 395.4 kB / 0.9091 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.2602, allocations: 0 / 0.9091 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.2602, allocations: 4 kB / 0.9091 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2603, allocations: 4 kB / 0.9091 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003105/0.2606, allocations: 435.7 kB / 0.9096 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.261, allocations: 0.6536 MB / 0.9102 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.2614, allocations: 0.5633 MB / 0.9107 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.2617, allocations: 337.7 kB / 0.9111 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007998/0.2625, allocations: 1.032 MB / 0.9121 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002911/0.2628, allocations: 412.8 kB / 0.9125 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.2628, allocations: 0 / 0.9125 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0009763/0.2638, allocations: 1.304 MB / 0.9137 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.2638, allocations: 85.23 kB / 0.9138 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000899/0.2647, allocations: 1.285 MB / 0.9151 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.2648, allocations: 29.7 kB / 0.9151 GB, free: 48.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.2649, allocations: 281.4 kB / 0.9154 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.265, allocations: 19.8 kB / 0.9154 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.2651, allocations: 287.6 kB / 0.9157 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.763e-05/0.2652, allocations: 314 kB / 0.916 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008693/0.2661, allocations: 1.369 MB / 0.9173 GB, free: 46.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008798/0.267, allocations: 1.493 MB / 0.9188 GB, free: 45.08 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005891/0.2729, allocations: 3.541 MB / 0.9222 GB, free: 41.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.2729, allocations: 0 / 0.9222 GB, free: 41.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003095/0.276, allocations: 3.969 MB / 0.9261 GB, free: 37.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.2761, allocations: 4 kB / 0.9261 GB, free: 37.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.2761, allocations: 8 kB / 0.9261 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.2761, allocations: 0 / 0.9261 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.2762, allocations: 19.92 kB / 0.9261 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.2763, allocations: 7.938 kB / 0.9261 GB, free: 37.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004487/0.2767, allocations: 232.3 kB / 0.9264 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-05/0.2768, allocations: 23.98 kB / 0.9264 GB, free: 37.15 MB / 0.6042 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.0002646/0.277, allocations: 249.7 kB / 0.9266 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.2771, allocations: 74.62 kB / 0.9267 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.2774, allocations: 79.66 kB / 0.9268 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.2774, allocations: 7.938 kB / 0.9268 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2774, allocations: 0 / 0.9268 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2774, allocations: 4.031 kB / 0.9268 GB, free: 36.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/0.2778, allocations: 0.51 MB / 0.9273 GB, free: 36.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2778, allocations: 0 / 0.9273 GB, free: 36.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.396e-05/0.2778, allocations: 7.938 kB / 0.9273 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2779, allocations: 0 / 0.9273 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.2779, allocations: 7.984 kB / 0.9273 GB, free: 36.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2779, allocations: 0 / 0.9273 GB, free: 36.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2779, allocations: 0 / 0.9273 GB, free: 36.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006301/0.2785, allocations: 1.017 MB / 0.9283 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.61e-05/0.2786, allocations: 167.7 kB / 0.9284 GB, free: 34.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/0.2787, allocations: 0 / 0.9284 GB, free: 34.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.2788, allocations: 7.984 kB / 0.9284 GB, free: 34.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.2789, allocations: 8 kB / 0.9285 GB, free: 34.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/0.2789, allocations: 11.98 kB / 0.9285 GB, free: 34.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005711/0.2795, allocations: 0.7218 MB / 0.9292 GB, free: 34.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2795, allocations: 0 / 0.9292 GB, free: 34.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009672/0.2805, allocations: 403.9 kB / 0.9296 GB, free: 33.78 MB / 0.6042 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.001034/0.2815, allocations: 478.8 kB / 0.93 GB, free: 33.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001541/0.2831, allocations: 2.499 MB / 0.9325 GB, free: 30.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2831, allocations: 0 / 0.9325 GB, free: 30.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002383/0.2833, allocations: 343.7 kB / 0.9328 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.2837, allocations: 56.78 kB / 0.9328 GB, free: 30.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.2856, allocations: 2.093 MB / 0.9349 GB, free: 28.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.286, allocations: 0.9839 MB / 0.9358 GB, free: 27.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.2861, allocations: 31.42 kB / 0.9359 GB, free: 27.23 MB / 0.6042 GB Notification: Performance of SimCode: time 1.102e-06/0.2861, allocations: 0 / 0.9359 GB, free: 27.23 MB / 0.6042 GB Notification: Performance of Templates: time 0.01531/0.3014, allocations: 11.15 MB / 0.9468 GB, free: 16.1 MB / 0.6042 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)