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.0009462/0.0009462, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.00105/0.00105, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.573/1.573, allocations: 292.5 MB / 0.5497 GB, free: 14.66 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.0004903/0.0004904, allocations: 18.22 kB / 0.6736 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2038, allocations: 116.3 MB / 0.7872 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001929/0.2057, allocations: 1.385 MB / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004966/0.2107, allocations: 3.838 MB / 0.7923 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.694e-05/0.2109, allocations: 0 / 0.7923 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009881/0.2119, allocations: 342.9 kB / 0.7926 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.212, allocations: 51.84 kB / 0.7926 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.2138, allocations: 0.7203 MB / 0.7933 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.214, allocations: 99.78 kB / 0.7934 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.214, allocations: 13.56 kB / 0.7934 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.859e-05/0.2141, allocations: 51.8 kB / 0.7935 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.2143, allocations: 163.6 kB / 0.7936 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.2143, allocations: 16 kB / 0.7937 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.216, allocations: 1.252 MB / 0.7949 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.2161, allocations: 259.3 kB / 0.7951 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.728e-05/0.2163, allocations: 121.2 kB / 0.7952 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.2173, allocations: 1.033 MB / 0.7963 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.2173, allocations: 3.938 kB / 0.7963 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2173, allocations: 0 / 0.7963 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.2173, allocations: 0 / 0.7963 GB, free: 2.59 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.00933/0.2267, allocations: 1.233 MB / 0.7975 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.2267, allocations: 8.031 kB / 0.7975 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003491/0.2271, allocations: 98.66 kB / 0.7976 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/0.2275, allocations: 400.7 kB / 0.7979 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.2276, allocations: 7.984 kB / 0.798 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.2276, allocations: 4 kB / 0.798 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.228, allocations: 391.2 kB / 0.7983 GB, free: 364 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.228, allocations: 0 / 0.7983 GB, free: 364 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.228, allocations: 11.97 kB / 0.7983 GB, free: 352 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.228, allocations: 0 / 0.7983 GB, free: 352 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.2285, allocations: 435.7 kB / 0.7988 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005677/0.229, allocations: 0.6574 MB / 0.7994 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000491/0.2295, allocations: 0.5634 MB / 0.8 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009655/0.2305, allocations: 1.036 MB / 0.801 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003794/0.2309, allocations: 400.9 kB / 0.8013 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.2309, allocations: 3.938 kB / 0.8014 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001253/0.2322, allocations: 1.296 MB / 0.8026 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.2322, allocations: 81.11 kB / 0.8027 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.2333, allocations: 1.273 MB / 0.8039 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.2334, allocations: 33.7 kB / 0.804 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.2335, allocations: 285.3 kB / 0.8042 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.2336, allocations: 15.81 kB / 0.8043 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.2336, allocations: 3.984 kB / 0.8043 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.2337, allocations: 435.7 kB / 0.8047 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.2348, allocations: 1.357 MB / 0.806 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.2359, allocations: 1.501 MB / 0.8075 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.2372, allocations: 1.887 MB / 0.8093 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2372, allocations: 0 / 0.8093 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003669/0.2409, allocations: 3.957 MB / 0.8132 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.2409, allocations: 6.812 kB / 0.8132 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.241, allocations: 8.031 kB / 0.8132 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.241, allocations: 0 / 0.8132 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.2411, allocations: 15.98 kB / 0.8132 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2411, allocations: 0 / 0.8132 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004268/0.2415, allocations: 228.3 kB / 0.8134 GB, free: 484 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/0.2416, allocations: 23.98 kB / 0.8134 GB, free: 460 kB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002716/0.2419, allocations: 253.5 kB / 0.8137 GB, free: 196 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.2419, allocations: 74.69 kB / 0.8138 GB, free: 120 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.2422, allocations: 83.66 kB / 0.8138 GB, free: 24 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2422, allocations: 4 kB / 0.8138 GB, free: 20 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2422, allocations: 0 / 0.8138 GB, free: 20 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2422, allocations: 0 / 0.8138 GB, free: 20 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.2427, allocations: 0.5099 MB / 0.8143 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2427, allocations: 4 kB / 0.8143 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.576e-05/0.2427, allocations: 4 kB / 0.8143 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.2427, allocations: 4.031 kB / 0.8144 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.2428, allocations: 7.984 kB / 0.8144 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2428, allocations: 0 / 0.8144 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2428, allocations: 3.938 kB / 0.8144 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000855/0.2436, allocations: 1.025 MB / 0.8154 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.2438, allocations: 167.7 kB / 0.8155 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.2438, allocations: 4 kB / 0.8155 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.244, allocations: 4 kB / 0.8155 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.244, allocations: 11.98 kB / 0.8155 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.2441, allocations: 7.984 kB / 0.8156 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007144/0.2448, allocations: 0.7101 MB / 0.8162 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2448, allocations: 0 / 0.8162 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000975/0.2458, allocations: 407.9 kB / 0.8166 GB, free: 13.07 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001066/0.2468, allocations: 478.8 kB / 0.8171 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002205/0.249, allocations: 2.503 MB / 0.8195 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.2491, allocations: 0 / 0.8195 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.2494, allocations: 339.8 kB / 0.8199 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.2496, allocations: 52.66 kB / 0.8199 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.2518, allocations: 1.973 MB / 0.8218 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/0.2523, allocations: 0.9995 MB / 0.8228 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001644/0.2525, allocations: 45.36 kB / 0.8229 GB, free: 6.617 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.828e-05/0.2526, allocations: 31.41 kB / 0.8229 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/0.2526, allocations: 0 / 0.8229 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of Templates: time 0.01617/0.2688, allocations: 9.541 MB / 0.8322 GB, free: 13.09 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: