Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 114.2 kB / 17.33 MB, free: 5.008 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.001269/0.001269, allocations: 197.8 kB / 18.33 MB, free: 4.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 225.6 MB / 244.8 MB, free: 13.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8421/0.8421, allocations: 128.4 MB / 426.1 MB, free: 7.203 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002905/0.002905, allocations: 68.55 kB / 0.5912 GB, free: 21.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1655, allocations: 83.27 MB / 0.6725 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003379/0.1689, allocations: 1.753 MB / 0.6743 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008703/0.1776, allocations: 5.429 MB / 0.6796 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.1777, allocations: 0 / 0.6796 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.1792, allocations: 374.4 kB / 0.6799 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.1793, allocations: 59.67 kB / 0.68 GB, free: 12.19 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.00439/0.1837, allocations: 1.502 MB / 0.6814 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003382/0.1841, allocations: 159.4 kB / 0.6816 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.648e-05/0.1841, allocations: 5.562 kB / 0.6816 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1842, allocations: 67.64 kB / 0.6817 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.1845, allocations: 167.5 kB / 0.6818 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.45e-05/0.1846, allocations: 16 kB / 0.6818 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004297/0.1889, allocations: 2.313 MB / 0.6841 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002729/0.1891, allocations: 279.8 kB / 0.6844 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000331/0.1895, allocations: 298.2 kB / 0.6846 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003907/0.1934, allocations: 2.2 MB / 0.6868 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1934, allocations: 0 / 0.6868 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1934, allocations: 0 / 0.6868 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.473e-05/0.1934, allocations: 0 / 0.6868 GB, free: 5.195 MB / 0.5137 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.008728/0.2021, allocations: 1.422 MB / 0.6882 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.2022, allocations: 8.031 kB / 0.6882 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004775/0.2027, allocations: 104.1 kB / 0.6883 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006542/0.2033, allocations: 410.3 kB / 0.6887 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.2033, allocations: 8.312 kB / 0.6887 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.2034, allocations: 11.94 kB / 0.6887 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005185/0.2039, allocations: 387.2 kB / 0.6891 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.2039, allocations: 7.938 kB / 0.6891 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.2039, allocations: 7.984 kB / 0.6891 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2039, allocations: 0 / 0.6891 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004912/0.2044, allocations: 431.8 kB / 0.6895 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007913/0.2052, allocations: 0.6698 MB / 0.6902 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006343/0.2058, allocations: 0.5593 MB / 0.6907 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003742/0.2062, allocations: 337.7 kB / 0.691 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/0.2074, allocations: 1.028 MB / 0.692 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004944/0.2079, allocations: 404.8 kB / 0.6924 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.2079, allocations: 0 / 0.6924 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001589/0.2095, allocations: 1.301 MB / 0.6937 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/0.2095, allocations: 85.05 kB / 0.6938 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.2111, allocations: 1.298 MB / 0.695 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.217e-05/0.2112, allocations: 25.7 kB / 0.6951 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.2115, allocations: 289.9 kB / 0.6953 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.929e-05/0.2115, allocations: 31.77 kB / 0.6954 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003985/0.2119, allocations: 351.8 kB / 0.6957 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2121, allocations: 322 kB / 0.696 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.2135, allocations: 1.369 MB / 0.6973 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.2151, allocations: 1.503 MB / 0.6988 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007721/0.2229, allocations: 3.564 MB / 0.7023 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.2229, allocations: 7.938 kB / 0.7023 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004976/0.2278, allocations: 4.003 MB / 0.7062 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.2279, allocations: 8 kB / 0.7062 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.2279, allocations: 0 / 0.7062 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.2279, allocations: 7.938 kB / 0.7062 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.2281, allocations: 19.92 kB / 0.7062 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.2281, allocations: 4.031 kB / 0.7062 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005136/0.2286, allocations: 237.4 kB / 0.7065 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/0.2286, allocations: 27.97 kB / 0.7065 GB, free: 400 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],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 (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003609/0.229, allocations: 253.6 kB / 0.7067 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-05/0.2291, allocations: 79.25 kB / 0.7068 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.2303, allocations: 0.9527 MB / 0.7077 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2303, allocations: 4 kB / 0.7078 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.2303, allocations: 0 / 0.7078 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.2303, allocations: 0 / 0.7078 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005402/0.2308, allocations: 0.5179 MB / 0.7083 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2308, allocations: 0 / 0.7083 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.611e-05/0.2309, allocations: 7.984 kB / 0.7083 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.2309, allocations: 11.88 kB / 0.7083 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.2309, allocations: 0 / 0.7083 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2309, allocations: 0 / 0.7083 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2309, allocations: 12.02 kB / 0.7083 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.232, allocations: 1.01 MB / 0.7093 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.2322, allocations: 164.4 kB / 0.7094 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.275e-05/0.2323, allocations: 7.984 kB / 0.7094 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.2324, allocations: 4 kB / 0.7094 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.2325, allocations: 15.97 kB / 0.7095 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/0.2325, allocations: 11.98 kB / 0.7095 GB, free: 13.24 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008932/0.2334, allocations: 0.7299 MB / 0.7102 GB, free: 12.51 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2334, allocations: 0 / 0.7102 GB, free: 12.51 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001593/0.235, allocations: 0.5845 MB / 0.7108 GB, free: 11.92 MB / 0.545 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.001855/0.2368, allocations: 0.6999 MB / 0.7114 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002317/0.2391, allocations: 1.993 MB / 0.7134 GB, free: 9.223 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2392, allocations: 0 / 0.7134 GB, free: 9.223 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003957/0.2395, allocations: 335.8 kB / 0.7137 GB, free: 8.895 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.24, allocations: 60.78 kB / 0.7138 GB, free: 8.836 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/0.2425, allocations: 1.903 MB / 0.7156 GB, free: 6.898 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006618/0.2432, allocations: 0.9839 MB / 0.7166 GB, free: 5.891 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001732/0.2434, allocations: 49.41 kB / 0.7166 GB, free: 5.844 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.2435, allocations: 23.42 kB / 0.7166 GB, free: 5.82 MB / 0.545 GB Notification: Performance of SimCode: time 7.12e-07/0.2435, allocations: 0 / 0.7166 GB, free: 5.82 MB / 0.545 GB Notification: Performance of Templates: time 0.02606/0.2695, allocations: 14.35 MB / 0.7307 GB, free: 7.527 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 480]