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_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 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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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.0008628/0.0008627, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.008451/0.008452, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.424/1.424, allocations: 205.4 MB / 222.4 MB, free: 5.805 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.72/1.72, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0006187/0.0006188, allocations: 13.75 kB / 0.6743 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2152, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002047/0.2173, allocations: 1.454 MB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006922/0.2243, allocations: 4.357 MB / 0.7936 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.2245, allocations: 0 / 0.7936 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.2259, allocations: 350.7 kB / 0.7939 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.2261, allocations: 63.72 kB / 0.794 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002759/0.2289, allocations: 0.7639 MB / 0.7947 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.2292, allocations: 195.2 kB / 0.7949 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.596e-05/0.2293, allocations: 13.53 kB / 0.7949 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.931e-05/0.2294, allocations: 55.73 kB / 0.795 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.2297, allocations: 176.8 kB / 0.7951 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.2297, allocations: 12 kB / 0.7952 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002277/0.232, allocations: 1.4 MB / 0.7965 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.2322, allocations: 279.8 kB / 0.7968 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003451/0.2326, allocations: 323.9 kB / 0.7971 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002597/0.2352, allocations: 1.539 MB / 0.7986 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2352, allocations: 3.938 kB / 0.7986 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.775e-06/0.2352, allocations: 0 / 0.7986 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.425e-05/0.2353, allocations: 4 kB / 0.7986 GB, free: 0.5469 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.01103/0.2463, allocations: 1.211 MB / 0.7998 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.2464, allocations: 12.03 kB / 0.7998 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004083/0.2468, allocations: 95.59 kB / 0.7999 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.2473, allocations: 406 kB / 0.8003 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.2474, allocations: 384 / 0.8003 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.2474, allocations: 8.375 kB / 0.8003 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004322/0.2479, allocations: 391.5 kB / 0.8007 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.2479, allocations: 0 / 0.8007 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.2479, allocations: 11.92 kB / 0.8007 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.2479, allocations: 0 / 0.8007 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/0.2483, allocations: 435.7 kB / 0.8011 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006944/0.2491, allocations: 0.6613 MB / 0.8017 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005183/0.2496, allocations: 0.5593 MB / 0.8023 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/0.25, allocations: 337.7 kB / 0.8026 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/0.2511, allocations: 1.036 MB / 0.8036 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004064/0.2515, allocations: 412.8 kB / 0.804 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 2.635e-06/0.2515, allocations: 0 / 0.804 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.00133/0.2528, allocations: 1.297 MB / 0.8053 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.2529, allocations: 81.05 kB / 0.8054 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.2544, allocations: 1.281 MB / 0.8066 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.2545, allocations: 33.7 kB / 0.8066 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.2547, allocations: 281.4 kB / 0.8069 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.05e-05/0.2548, allocations: 23.81 kB / 0.8069 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002788/0.2551, allocations: 291.6 kB / 0.8072 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.2552, allocations: 326 kB / 0.8075 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.2565, allocations: 1.354 MB / 0.8088 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.2579, allocations: 1.497 MB / 0.8103 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0075/0.2654, allocations: 3.538 MB / 0.8138 GB, free: 460 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.2655, allocations: 0 / 0.8138 GB, free: 460 kB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.0043/0.2698, allocations: 3.976 MB / 0.8176 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.2698, allocations: 11.94 kB / 0.8177 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.2699, allocations: 0 / 0.8177 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2699, allocations: 0 / 0.8177 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.27, allocations: 23.95 kB / 0.8177 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.27, allocations: 4 kB / 0.8177 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.2705, allocations: 228.3 kB / 0.8179 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/0.2706, allocations: 23.98 kB / 0.8179 GB, free: 12.15 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.0002979/0.2709, allocations: 246.3 kB / 0.8182 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-05/0.271, allocations: 74.62 kB / 0.8182 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002943/0.2713, allocations: 91.66 kB / 0.8183 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.2713, allocations: 0 / 0.8183 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2713, allocations: 3.938 kB / 0.8183 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2713, allocations: 0 / 0.8183 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.2718, allocations: 0.5139 MB / 0.8188 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2718, allocations: 0 / 0.8188 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.17e-05/0.2719, allocations: 11.92 kB / 0.8188 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2719, allocations: 0 / 0.8188 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.2719, allocations: 4 kB / 0.8188 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.2719, allocations: 8.031 kB / 0.8188 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2719, allocations: 0 / 0.8188 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008737/0.2728, allocations: 1.006 MB / 0.8198 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.2729, allocations: 167.7 kB / 0.82 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.32e-05/0.273, allocations: 0 / 0.82 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.2732, allocations: 11.98 kB / 0.82 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.2732, allocations: 4 kB / 0.82 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.2732, allocations: 19.97 kB / 0.82 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007539/0.274, allocations: 0.714 MB / 0.8207 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.274, allocations: 0 / 0.8207 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009935/0.275, allocations: 403.8 kB / 0.8211 GB, free: 8.781 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.001296/0.2763, allocations: 486.8 kB / 0.8216 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002092/0.2784, allocations: 2.491 MB / 0.824 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2784, allocations: 0 / 0.824 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.2787, allocations: 347.8 kB / 0.8243 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.2792, allocations: 56.59 kB / 0.8244 GB, free: 5.398 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.2814, allocations: 2.078 MB / 0.8264 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.282, allocations: 0.9918 MB / 0.8274 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001862/0.2821, allocations: 37.42 kB / 0.8274 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.2823, allocations: 31.41 kB / 0.8274 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of SimCode: time 7.01e-07/0.2823, allocations: 0 / 0.8274 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of Templates: time 0.01662/0.2989, allocations: 9.767 MB / 0.837 GB, free: 8.48 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) Environment - environmentSimulation: