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.347/1.347, allocations: 252 MB / 268 MB, free: 10.87 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.001064/0.001065, allocations: 174.5 kB / 327.6 MB, free: 2.105 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.799/1.799, allocations: 205.4 MB / 0.5786 GB, free: 20.17 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.0009401/0.0009401, allocations: 99.98 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 15.02 kB / 0.7977 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2372, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002231/0.2395, allocations: 1.464 MB / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006133/0.2456, allocations: 4.348 MB / 0.9072 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.2459, allocations: 0 / 0.9072 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.2473, allocations: 362.9 kB / 0.9075 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.2475, allocations: 51.73 kB / 0.9076 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002551/0.25, allocations: 0.755 MB / 0.9083 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.2503, allocations: 197.5 kB / 0.9085 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.153e-05/0.2504, allocations: 13.53 kB / 0.9085 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.927e-05/0.2505, allocations: 55.72 kB / 0.9086 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.2507, allocations: 172.8 kB / 0.9087 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.278e-05/0.2508, allocations: 16 kB / 0.9087 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/0.2529, allocations: 1.4 MB / 0.9101 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.2531, allocations: 279.8 kB / 0.9104 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002528/0.2534, allocations: 323.9 kB / 0.9107 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.2549, allocations: 1.048 MB / 0.9117 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2549, allocations: 0 / 0.9117 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2549, allocations: 0 / 0.9117 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.074e-05/0.2549, allocations: 0 / 0.9117 GB, free: 52.99 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.009287/0.2642, allocations: 1.215 MB / 0.9129 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.2643, allocations: 8.031 kB / 0.9129 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004147/0.2647, allocations: 95.59 kB / 0.913 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000517/0.2653, allocations: 406 kB / 0.9134 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.2653, allocations: 8.375 kB / 0.9134 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.2653, allocations: 4.375 kB / 0.9134 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.2657, allocations: 395.4 kB / 0.9138 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.2657, allocations: 4 kB / 0.9138 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.2658, allocations: 3.984 kB / 0.9138 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2658, allocations: 3.938 kB / 0.9138 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003682/0.2662, allocations: 431.8 kB / 0.9142 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.2667, allocations: 0.6536 MB / 0.9148 GB, free: 49.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.2671, allocations: 0.5711 MB / 0.9154 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.2674, allocations: 333.7 kB / 0.9157 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008335/0.2682, allocations: 1.036 MB / 0.9167 GB, free: 47.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000308/0.2685, allocations: 416.8 kB / 0.9171 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 2.234e-06/0.2685, allocations: 0 / 0.9171 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.001015/0.2696, allocations: 1.3 MB / 0.9184 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.2696, allocations: 81.11 kB / 0.9185 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.2707, allocations: 1.285 MB / 0.9197 GB, free: 44.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.2707, allocations: 29.7 kB / 0.9197 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.2709, allocations: 281.4 kB / 0.92 GB, free: 44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.271, allocations: 23.73 kB / 0.92 GB, free: 43.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.271, allocations: 0 / 0.92 GB, free: 43.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.2711, allocations: 428 kB / 0.9204 GB, free: 43.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008607/0.272, allocations: 1.361 MB / 0.9218 GB, free: 42.19 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009415/0.2729, allocations: 1.497 MB / 0.9232 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007122/0.2801, allocations: 3.518 MB / 0.9267 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.2801, allocations: 4 kB / 0.9267 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003482/0.2836, allocations: 3.965 MB / 0.9305 GB, free: 33.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.2836, allocations: 10.66 kB / 0.9306 GB, free: 33.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.2837, allocations: 0 / 0.9306 GB, free: 33.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.2837, allocations: 0 / 0.9306 GB, free: 33.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.2838, allocations: 19.92 kB / 0.9306 GB, free: 33.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.2839, allocations: 4 kB / 0.9306 GB, free: 33.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005436/0.2844, allocations: 228.3 kB / 0.9308 GB, free: 32.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.717e-05/0.2845, allocations: 31.97 kB / 0.9308 GB, free: 32.78 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 ($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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002972/0.2848, allocations: 245.7 kB / 0.9311 GB, free: 32.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.078e-05/0.2849, allocations: 74.62 kB / 0.9311 GB, free: 32.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003168/0.2852, allocations: 83.66 kB / 0.9312 GB, free: 32.37 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.2852, allocations: 4.031 kB / 0.9312 GB, free: 32.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2852, allocations: 0 / 0.9312 GB, free: 32.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2852, allocations: 0 / 0.9312 GB, free: 32.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/0.2857, allocations: 0.5138 MB / 0.9317 GB, free: 31.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2857, allocations: 0 / 0.9317 GB, free: 31.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.215e-05/0.2858, allocations: 7.938 kB / 0.9317 GB, free: 31.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.2858, allocations: 7.984 kB / 0.9317 GB, free: 31.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.2858, allocations: 3.984 kB / 0.9317 GB, free: 31.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.2858, allocations: 0 / 0.9317 GB, free: 31.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2858, allocations: 4 kB / 0.9317 GB, free: 31.78 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007362/0.2866, allocations: 1.017 MB / 0.9327 GB, free: 30.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.2867, allocations: 163.7 kB / 0.9329 GB, free: 30.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.36e-05/0.2868, allocations: 0 / 0.9329 GB, free: 30.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.2869, allocations: 4 kB / 0.9329 GB, free: 30.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.287, allocations: 15.98 kB / 0.9329 GB, free: 30.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.287, allocations: 11.98 kB / 0.9329 GB, free: 30.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006805/0.2877, allocations: 0.7179 MB / 0.9336 GB, free: 29.81 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.1e-07/0.2877, allocations: 0 / 0.9336 GB, free: 29.81 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001035/0.2888, allocations: 395.9 kB / 0.934 GB, free: 29.42 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.001628/0.2904, allocations: 486.8 kB / 0.9345 GB, free: 28.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001751/0.2922, allocations: 2.497 MB / 0.9369 GB, free: 26.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2922, allocations: 0 / 0.9369 GB, free: 26.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.2925, allocations: 335.8 kB / 0.9372 GB, free: 26.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.293, allocations: 64.77 kB / 0.9373 GB, free: 26.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.2951, allocations: 2.119 MB / 0.9394 GB, free: 23.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.2956, allocations: 0.9879 MB / 0.9403 GB, free: 22.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.2957, allocations: 27.41 kB / 0.9403 GB, free: 22.84 MB / 0.6042 GB Notification: Performance of SimCode: time 8.91e-07/0.2957, allocations: 0 / 0.9403 GB, free: 22.84 MB / 0.6042 GB Notification: Performance of Templates: time 0.0173/0.313, allocations: 11.14 MB / 0.9512 GB, free: 11.71 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)