Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001589, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001931/0.001931, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.335/1.335, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.688/1.688, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.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.002652/0.002652, allocations: 75.02 kB / 0.671 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2223, allocations: 114.6 MB / 0.7829 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002788/0.2252, allocations: 1.469 MB / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004377/0.2296, allocations: 3.08 MB / 0.7873 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.162e-05/0.2296, allocations: 0 / 0.7873 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.2298, allocations: 7.938 kB / 0.7873 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.23, allocations: 27.84 kB / 0.7874 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.2325, allocations: 0.886 MB / 0.7882 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.2327, allocations: 79.7 kB / 0.7883 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.2327, allocations: 4 kB / 0.7883 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7e-05/0.2328, allocations: 47.83 kB / 0.7884 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.2331, allocations: 224.9 kB / 0.7886 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.2331, allocations: 16 kB / 0.7886 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001936/0.2351, allocations: 1.416 MB / 0.79 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005904/0.2357, allocations: 0.6874 MB / 0.7906 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003703/0.236, allocations: 445 kB / 0.7911 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002405/0.2385, allocations: 1.787 MB / 0.7928 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2385, allocations: 3.984 kB / 0.7928 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.757e-06/0.2385, allocations: 0 / 0.7928 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.456e-05/0.2385, allocations: 7.938 kB / 0.7928 GB, free: 3.621 MB / 0.6075 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.009972/0.2485, allocations: 1.686 MB / 0.7945 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.2486, allocations: 8.031 kB / 0.7945 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005394/0.2491, allocations: 142.9 kB / 0.7946 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006797/0.2498, allocations: 0.5211 MB / 0.7951 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.2499, allocations: 8.375 kB / 0.7951 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.2499, allocations: 12.36 kB / 0.7951 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/0.2503, allocations: 395.4 kB / 0.7955 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.2504, allocations: 0 / 0.7955 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.2504, allocations: 0 / 0.7955 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2504, allocations: 3.984 kB / 0.7955 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004172/0.2508, allocations: 435.8 kB / 0.7959 GB, free: 296 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007371/0.2516, allocations: 0.8035 MB / 0.7967 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005251/0.2521, allocations: 0.5594 MB / 0.7973 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.2525, allocations: 337.7 kB / 0.7976 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001223/0.2537, allocations: 1.032 MB / 0.7986 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004038/0.2541, allocations: 404.8 kB / 0.799 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.2541, allocations: 4 kB / 0.799 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001319/0.2554, allocations: 1.347 MB / 0.8003 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.2555, allocations: 81.11 kB / 0.8004 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.2573, allocations: 1.843 MB / 0.8022 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.2573, allocations: 29.69 kB / 0.8022 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003786/0.2577, allocations: 477.3 kB / 0.8027 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/0.2578, allocations: 19.84 kB / 0.8027 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003495/0.2581, allocations: 355.5 kB / 0.803 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2583, allocations: 301.1 kB / 0.8033 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.2596, allocations: 1.521 MB / 0.8048 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.2609, allocations: 1.638 MB / 0.8064 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007069/0.268, allocations: 3.694 MB / 0.81 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.268, allocations: 4 kB / 0.81 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004371/0.2724, allocations: 4.319 MB / 0.8142 GB, free: 13 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.2724, allocations: 8 kB / 0.8142 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.2725, allocations: 0 / 0.8142 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.2725, allocations: 7.922 kB / 0.8142 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.2726, allocations: 16.03 kB / 0.8143 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2726, allocations: 4 kB / 0.8143 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005429/0.2732, allocations: 232.3 kB / 0.8145 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/0.2733, allocations: 23.98 kB / 0.8145 GB, free: 12.71 MB / 0.6387 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.0004422/0.2737, allocations: 365.5 kB / 0.8149 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.2738, allocations: 122 kB / 0.815 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.2742, allocations: 149.1 kB / 0.8151 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2742, allocations: 0 / 0.8151 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2742, allocations: 0 / 0.8151 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.2742, allocations: 4 kB / 0.8151 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/0.2748, allocations: 0.6717 MB / 0.8158 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2748, allocations: 4 kB / 0.8158 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.13e-05/0.2749, allocations: 11.92 kB / 0.8158 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.2749, allocations: 0 / 0.8158 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.2749, allocations: 8 kB / 0.8158 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2749, allocations: 8.016 kB / 0.8158 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.2749, allocations: 3.938 kB / 0.8158 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009003/0.2758, allocations: 1.055 MB / 0.8168 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.276, allocations: 195.1 kB / 0.817 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.423e-05/0.2761, allocations: 7.984 kB / 0.817 GB, free: 10 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.2763, allocations: 8 kB / 0.817 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.2763, allocations: 7.984 kB / 0.8171 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-05/0.2764, allocations: 11.98 kB / 0.8171 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00112/0.2775, allocations: 1.104 MB / 0.8181 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2775, allocations: 0 / 0.8181 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001106/0.2786, allocations: 435.8 kB / 0.8186 GB, free: 8.418 MB / 0.6387 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.001166/0.2798, allocations: 491.8 kB / 0.819 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002228/0.282, allocations: 2.648 MB / 0.8216 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.282, allocations: 0 / 0.8216 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003158/0.2824, allocations: 343.9 kB / 0.8219 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.2828, allocations: 57.27 kB / 0.822 GB, free: 4.875 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002963/0.2857, allocations: 2.85 MB / 0.8248 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006584/0.2864, allocations: 1.153 MB / 0.8259 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001715/0.2866, allocations: 36.5 kB / 0.8259 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.565e-05/0.2867, allocations: 31.41 kB / 0.826 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of SimCode: time 3.71e-07/0.2867, allocations: 0 / 0.826 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of Templates: time 0.01699/0.3037, allocations: 10.1 MB / 0.8358 GB, free: 6.684 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)